CommandFusion Wiki

Documentation Resources

User Tools

Site Tools


hardware:cflink:irblaster-cflink-protocol

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

hardware:cflink:irblaster-cflink-protocol [2012/08/22 05:55]
aaron created
hardware:cflink:irblaster-cflink-protocol [2012/10/18 02:43] (current)
jarrod [SND - Send IR]
Line 1: Line 1:
-====== ​IRBlaster ​CFLink Protocol ======+====== ​IR Blaster ​CFLink Protocol ======
  
-The following documentation is for the IRBlaster ​device CFLink protocol messages.+The following documentation is for the IR Blaster ​device CFLink protocol messages.
  
 ===== Transmission Messages ===== ===== Transmission Messages =====
Line 7: Line 7:
 ==== SND - Send IR ==== ==== SND - Send IR ====
  
-The ''​SND''​ (Send) command is used to send an IR command via one or more IR ports on the IRBlaster.+The ''​SND''​ (Send) command is used to send an IR command via one or more IR ports on the IR Blaster.
  
 === Data === === Data ===
Line 15: Line 15:
 </​sxh>​ </​sxh>​
  
-  * **<​PORT>​** = The IR port to send the IR data from. 3 chars, uppercase '​P'​ followed by the port number (2 digits)+  * **<​PORT>​** = The IR port to send the IR data from. 3 chars, uppercase ​''P'' followed by the port number (2 digits)
     *''​P01''​ = On-board Blaster output     *''​P01''​ = On-board Blaster output
     *''​P02''​ = Secondary emitter output     *''​P02''​ = Secondary emitter output
Line 33: Line 33:
       * **<​FUNCTION>​** = The name of the IR function to send, within the device IR file.       * **<​FUNCTION>​** = The name of the IR function to send, within the device IR file.
     *''​RAW''​ - <​HEX_CODE>​ - The raw hex code (Often called CCF) to send. Only '​learned'​ IR codes (starting with 0000) are allowed.     *''​RAW''​ - <​HEX_CODE>​ - The raw hex code (Often called CCF) to send. Only '​learned'​ IR codes (starting with 0000) are allowed.
-    *''​STR''​ - <​CF_IR_FORMAT>​ - generated by IR Learner software+    *''​STR''​ - <​CF_IR_FORMAT>​ - generated by [[hardware:​quick-start:​ir-learner|IR Learner software]]
  
-Note that a single ''​SND''​ command can contain multiple ports to send to, using the [[hardware:​cflink:​cflink-introduction#​port-seperator|standard port separators]]+Note that a single ''​SND''​ command can contain multiple ports to send to, using the [[hardware:​cflink:​cflink-introduction#​port-separator|standard port separators]] 
 + 
 +=== Reply === 
 + 
 +<sxh cflink; light: true> 
 +// The reply does not echo the data sent in an effort to reduce bus traffic 
 +< [F2]<​ID>​[F3]RIRBSND[F4][F5][F5] 
 +</​sxh>​ 
 +If sending multiple IR commands via a single CFLink message, the reply will only happen after all IR commands have been sent. 
 + 
 +=== Example === 
 + 
 +<sxh cflink; light: true> 
 +// Send a CCF hex code via the Blaster output. Send a database IR code to the secondary emitter output. ​  
 +// From IR Blaster on CFLink ID [06]. 
 +> [F2][06][F3]TIRBSND[F4]P01:​RAW:​0000 0067 0000 0015 0060 0018 0030 0018 0018 0018 0030 0018 0018 0018 0030 0018 0018 0018 0018 0018 0018 0018 0030 0018 0018 0018 0030 0018 0030 0018 0030 0018 0018 0018 0018 0018 0030 0018 0018 0018 0018 0018 0030 0018 0018 0216|P02:​DBA:​06:​1033:​01[F5][F5] 
 +// Reply 
 +< [F2][06][F3]RIRBSND[F4][F5][F5] 
 +</​sxh>​ 
 + 
 +=== Error === 
 + 
 +  * 003 = Invalid Port Number 
 +  * 450 = Invalid IR Format Type 
 +  * 451 = Invalid IR Database Parameters 
 +  * 452 = Invalid IR Memory Parameters 
 +  * 453 = Invalid IR Raw Hex Code 
 +  * 454 = Invalid CF IR format 
 + 
 +===== Notifications ===== 
 + 
 +==== RCV - Receive IR Data ==== 
 + 
 +The ''​RCV''​ (Receive) notification is generated when either the on-board IR receiver, or the external IR receiver detects an IR signal. 
 + 
 +=== Data === 
 + 
 +<sxh cflink; light: true> 
 +< [F2]<​ID>​[F3]RIRBRCV[F4]<​PORT>:<​IR_DATA>​[F5][F5] 
 +</​sxh>​ 
 + 
 +  * **<​PORT>​** = The IR port that the IR data was received via. 3 chars, uppercase '​P'​ followed by the port number (2 digits) 
 +    * ''​P01''​ = On-board Blaster output 
 +    * ''​P02''​ = Secondary emitter output 
 +  * **<​IR_DATA>​** = The IR data generated by the [[hardware:​quick-start:​ir-learner|IR Learner software]] 
 + 
 +=== Example === 
 + 
 +<sxh cflink; light: true> 
 +// IR Data is received via the on-board IR receiver, IR Blaster on CFLink ID [06] 
 +< [F2][06][F3]RIRBRCV[F4]P01:​0066016100160119001601320016011A0016011900160132001601310016011A0016[F5][F5] 
 +</​sxh>​
hardware/cflink/irblaster-cflink-protocol.1345614925.txt.gz · Last modified: 2012/08/22 05:55 by aaron