Output from act (Parent and Repeater App)
Output format when data is received from act
Data Received from act
Data Format
| # | Data | Content | Remarks |
|---|---|---|---|
char | Header | : only | |
| 0 | uint8 | Source Logical Device ID | |
| 1 | uint8 | Command Type | only 0xAA |
| 2 | uint8 | Response ID | 0x00-0x7F |
| 3 | uint32 | Source Serial ID | |
| 7 | uint32 | Destination Serial ID | 00000000 when specifying logical device ID |
| 11 | uint8 | LQI | 0-255 |
| 12 | uint16 | Number of data bytes | |
| 14 | [uint8] | Arbitrary data | Length (N) bytes |
uint8 | Checksum | LRC8 | |
char | Footer | CR (0x0D/\r) | |
char | Footer | LF (0x0A/\n) |
Example of Output Data
:FEAA008201015A00000000B7000F424154310F0CEE000B03FF03FF03FF92
| # | Data | Content | Value | |
|---|---|---|---|---|
: | char | Header | : | |
FE | 0 | uint8 | Source Logical Device ID | 0xFE |
AA | 1 | uint8 | Command Type | 0xAA |
00 | 2 | uint8 | Response ID | 0x00 |
8201015A | 3 | uint32 | Source Serial ID | 0x201015A |
00000000 | 7 | uint32 | Destination Serial ID | Logical Device ID specified |
B7 | 11 | uint8 | LQI | 183/255 |
000F | 12 | uint16 | Number of data bytes | 15 bytes |
424154310F0CEE000B03FF03FF03FF | 14 | [uint8] | Arbitrary data | As is |
92 | uint8 | Checksum | 0x92 | |
char | Footer | \r | ||
char | Footer | \n |
Was this page helpful?
Thank you for your feedback.
Sorry to hear that. Please contact our technical support.