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, IR Blaster and Solo.
The SND
(Send) command is used to send an IR command via one or more IR ports across one or more modules/devices.
// Modular devices > [F2]<ID>[F3]TIRXSND[F4]<MODULE>|<PORT>:<IR_FORMAT>:<IR_DATA>[F5][F5] // Standalone devices > [F2]<ID>[F3]TIRXSND[F4]<PORT>:<IR_FORMAT>:<IR_DATA>[F5][F5]
M1
= Module 1, M4
= Module 4.DBA
- Send an IR command from the internal database.MEM
- Send a learned IR code that is stored on the device memory.RAW
- Send an IR code in raw hex format, eg. Pronto CCF codes.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.DBA
- <DEVICETYPE>:<CODESET>:<KEY> - See the IR Database Documentation for more details.MEM
- <DEVICE>:<FUNCTION>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.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.
// The reply does not echo the data sent in an effort to reduce bus traffic < [F2]<ID>[F3]RIRXSND[F4][F5][F5]If sending multiple IR commands via a single CFLink message, the reply will only happen after all IR commands have been sent.
// Send a CCF hex code to Module 1, port 1. // Send a database code to Module 1, port 2. // Send an IR code from device memory to Module 2, port 5. // Modular device is a DIN-MOD4 on CFLink ID [04]. > [F2][04][F3]TIRXSND[F4]M1|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,M2|P05:MEM:sony:power[F5][F5] // Reply from DIN-MOD4 < [F2][04][F3]RIRXSND[F4][F5][F5] // Send a database IR code to IR port 2 of a CF Mini on CFLink ID [20]. > [F2][20][F3]TIRXSND[F4]P02:DBA:06:1033:01[F5][F5] // 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]