This document describes version 3 of the xio payload introduced with Firmware V3.4.0
This payload is used to remotely switch XIO Outputs on and off.
Note: Set XIO Mode to RC to remotely control the PCR2-XIOs outputs.
Byte | Property | Description | Uplink Values | Downlink Values |
---|---|---|---|---|
0 | Vendor ID | Always 0xbe for Parametric Devices | be | ignored (*) |
1 | Device Family | Always 0x01 for PCR2 Devices | 01 | ignored (*) |
2 | Payload Version | Always 0x03 for V3 Payloads | 03 | ignored (*) |
3 | Output 1 | 00: Off 01: On |
00,01 | 00,01 |
4 | Output 2 | 00: Off 01: On |
00,01 | 00,01 |
(*) These fields values are ignored by the device when downlinking this payload
These examples show some example configuration payloads you might use as a starting point.
Switch Output 1 on
be 01 03 01 00
Switch Output 2 on
be 01 03 00 01
Switch boths Outputs on
be 01 03 00 00
Switch boths Outputs off
Uplink | Port 16 |
Downlink | Port 16 |
Always check for port 16 prior to decoding a xio payload. Additionally you could also check Bytes 0-2.
// check for valid pcr2 xio pl
if ( port == 16 && bytes[0] == 0xbe && bytes[1] == 0x01 && bytes[2] == 0x03 )
{
// decode it
}