CommandFusion Wiki

Documentation Resources

User Tools

Site Tools


Sidebar

hardware:cflink:din-ry-cflink-protocol

This is an old revision of the document!


DIN-RY CFLink Protocol

The following documentation is for the DIN-RYx-N devices CFLink protocol messages.

Relay Commands

On / Off / Toggle

The TRLYSET (Send) command is used to send a command to the relay channels.

Data

> [F2]<ID>[F3]TRLYSET[F4]<PORT>:<STATE>[F5][F5]

  • <PORT> = The relay channel (port) to be controlled. Relay channels would be from P01-P08.
  • <STATE> = The command to set the status of relay. 0 would set the relay to open, 1 would set the relay to close, T would set the relay to toggle.

Reply

// The reply does not echo the data sent in an effort to reduce bus traffic
< [F2]<ID>[F3]RIRBSND[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.

Example

// 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]

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

< [F2]<ID>[F3]RIRBRCV[F4]<PORT>:<IR_DATA>[F5][F5]

  • <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 IR Learner software

Example

// 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]

hardware/cflink/din-ry-cflink-protocol.1565199509.txt.gz · Last modified: 2019/08/07 17:38 by terrylau