This shows you the differences between two versions of the page.
hardware:cflink:ir-module [2012/08/23 04:19] aaron created |
hardware:cflink:ir-module [2018/06/12 09:30] (current) jarrod |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== IR Module CFLink Protocol ====== | + | ====== IR Port CFLink Protocol ====== |
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 CF Mini and 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 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. |
* **<DEVICE_TYPE>** = The number corresponding to the type of device. (2 digits) | * **<DEVICE_TYPE>** = The number corresponding to the type of device. (2 digits) | ||
* **<CODE_SET>** = The code set number from the Database table. | * **<CODE_SET>** = The code set number from the Database table. | ||
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 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]]. |
=== Reply === | === Reply === | ||
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] | ||
Line 76: | Line 83: | ||
* 453 = Invalid IR Raw Hex Code | * 453 = Invalid IR Raw Hex Code | ||
* 454 = Invalid CF IR format | * 454 = Invalid CF IR format | ||
- | |||
- | |||