This shows you the differences between two versions of the page.
hardware:cflink:ir-module [2013/05/13 02:37] jarrod [IR Module CFLink Protocol] |
hardware:cflink:ir-module [2018/06/12 09:30] (current) jarrod |
||
---|---|---|---|
Line 2: | Line 2: | ||
The following documentation describes the CFLink protocol for controlling IR devices via any device with IR Ports.\\ | The following documentation describes the CFLink protocol for controlling IR devices via any device with IR Ports.\\ | ||
- | This includes IR modules and standalone devices such as the [[hardware:cf-mini|CF Mini]] and [[hardware:ir-blaster|IR Blaster]]. | + | This includes IR modules and standalone devices such as the [[hardware:cf-mini|CF Mini]], [[hardware:ir-blaster|IR Blaster]] and [[hardware:solo|Solo]]. |
===== Transmission Messages ===== | ===== Transmission Messages ===== | ||
Line 25: | Line 25: | ||
* ''DBA'' - Send an IR command from the internal database. | * ''DBA'' - Send an IR command from the internal database. | ||
* ''MEM'' - Send a learned IR code that is stored on the device memory. | * ''MEM'' - Send a learned IR code that is stored on the device memory. | ||
- | * ''RAW'' - Send an IR code in raw hex format, eg. CCF codes. | + | * ''RAW'' - Send an IR code in raw hex format, eg. Pronto CCF codes. |
* ''STR'' - Send an IR code in CommandFusion's proprietary format. | * ''STR'' - Send an IR code in CommandFusion's proprietary format. | ||
+ | * ''232'' - Send an RS232 command via an IR port that supports 1-way RS232 transmission. | ||
* **<IR_DATA>** = The data of the IR code to send. The format depends on the <IR_FORMAT> chosen: | * **<IR_DATA>** = The data of the IR code to send. The format depends on the <IR_FORMAT> chosen: | ||
* ''DBA'' - <DEVICETYPE>:<CODESET>:<KEY> - See the [[http://www.commandfusion.com/docs/cflink/irdatabase.html|IR Database Documentation]] for more details. | * ''DBA'' - <DEVICETYPE>:<CODESET>:<KEY> - See the [[http://www.commandfusion.com/docs/cflink/irdatabase.html|IR Database Documentation]] for more details. | ||
Line 37: | Line 38: | ||
* ''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'' - <CFIRFORMAT> - See the CommandFusion IR Format Documentation for more details. | * ''STR'' - <CFIRFORMAT> - See the CommandFusion IR Format Documentation for more details. | ||
+ | * ''232'' - <RS232_DATA> - This is the raw RS232 data that you want to send. Only IR ports with 1-way RS232 support can use this option. | ||
Note that a single ''SND'' command can contain multiple modules and ports to send to, using the [[hardware:cflink:cflink-introduction#data-separators|standard port and module separators]]. | Note that a single ''SND'' command can contain multiple modules and ports to send to, using the [[hardware:cflink:cflink-introduction#data-separators|standard port and module separators]]. | ||
Line 63: | Line 65: | ||
> [F2][20][F3]TIRXSND[F4]P02:DBA:06:1033:01[F5][F5] | > [F2][20][F3]TIRXSND[F4]P02:DBA:06:1033:01[F5][F5] | ||
// Reply from CF Mini when IR command has been sent | // Reply from CF Mini when IR command has been sent | ||
+ | < [F2][20][F3]RIRXSND[F4][F5][F5] | ||
+ | |||
+ | // Send an RS232 command "PON\x0D" via 1-way IR port 4 of a Solo controller on CFLink ID [04]. | ||
+ | > [F2][04][F3]TIRXSND[F4]P04:232:PON[0D][F5][F5] | ||
+ | // Reply from Solo when RS232 command has been sent via 1-way IR port | ||
< [F2][20][F3]RIRXSND[F4][F5][F5] | < [F2][20][F3]RIRXSND[F4][F5][F5] | ||