CommandFusion Wiki

Documentation Resources

User Tools

Site Tools


Sidebar

hardware:cflink:common-device-protocol

This is an old revision of the document!


Common Device Protocol

The following CFLink protocol messages are common to all CFLink devices.

Queries

WHO - Device discovery

The WHO query is used to discover what device is at a specific address. The reply is different depending what device is discovered.
Details on the exact replies can be found in the documentation for each specific device if it differs from below (extra parameters are replied by some devices such as modular base units and Ethernet devices).

The WHO reply will be automatically broadcast to the CFLink network when a device is powered up or reset. It will also be sent to any notification targets configured via the TGT command.

Data

The WHO query does not have any associated data.

Reply

The specific data that is replied is unique to each device. See the documentation for each devices specific for more details.
If no device is at a particular ID, there will be no reply.

At a minimum, the device will reply with its product code, serial number, application version and CFLink version.

> [F2]<ID>[F3]R<DEVICE>WHO[F4]<PRODUCTCODE>:<SERIAL#>:<APP_VER>:<CFLINK_VER>:<DATA>[F5][F5]
Example
// Request the details for the device at CFLink ID [03]
> [F2][03][F3]QCFXWHO[F4][F5][F5]
// The Reply if the unit was a LANBridge would be as follows
< [F2][03][F3]RLANWHO[F4]LANBridge:192.168.0.100:00.04.A3.19.D5.70:1.0.0.0:1.0.0.0[F5][F5]

TGT - Query Notification Targets

The TGT (Target) query is used to return a the notification target configuration.

Data

The TGT query does not have any associated data. Instead, the <DEVICE> name used as part of the query determines which notifications to return the configuration for.
<Code>

[F2]<ID>[F3]Q<DEVICE>TFT[F4][F5][F5]

</code>

Reply
< [F2]<ID>[F3]R<DEVICE>TGT[F4]<ID1>:<ID2>:<ID3>:<ID4>:<ID5>[F5][F5]
hardware/cflink/common-device-protocol.1344574730.txt.gz · Last modified: 2012/08/10 04:58 by aaron