Registration Status - 0xA4
Request frame: Register Joining Device - 0x24
Description
This frame type is emitted in response to registering a device to a trust center using the Register Joining Device - 0x24 frame and indicates whether the registration attempt succeeded or not.
This frame is only emitted if the the Frame ID in the request is non-zero.
Format
The following table provides the contents of the frame. For details on frame structure, see API frame format.
Offset | Size | Frame Field | Description |
---|---|---|---|
0 | 8-bit | Start Delimiter | Indicates the start of an API frame. |
1 | 16-bit | Length | Number of bytes between the length and checksum. |
3 | 8-bit | Frame type |
Register Device Status - 0xA4 |
4 | 8-bit | Frame ID |
Identifies the data frame for the host to correlate with a prior request. |
5 | 8-bit |
Registration status |
Status code for the registration request: 0x00 = Success 0x01 = Key too long 0x18 = Transient key table is full 0xB1 = Address not found in the key table 0xB2 = Key is invalid (00 and FF are reserved) 0xB3 = Invalid address 0xB4 = Key table is full 0xBD = Security data is invalid (Install code CRC fails) |
EOF | 8-bit | Checksum | 0xFF minus the 8-bit sum of bytes from offset 3 to this byte (between length and checksum). |
Examples
Each example is written without escapes (AP = 1) and all bytes are represented in hex format. For brevity, the start delimiter, length, and checksum fields have been excluded.
Successful registration
A device is registered with a trust center using a Register Joining Device - 0x24 frame.
The corresponding 0xA4 Registration Status response with a matching Frame ID is emitted as a response:
7E 00 03 A4 5D 00 FE
Frame type | Frame ID | Status |
---|---|---|
0xA4 | 0x5D | 0x00 |
Response | Matches request | Success |