Datasheet
A sample alert message would be:
The first byte is the Message Type (0x40), which identifies this as an alert message.
The second and third bytes are 0xABCD, which is the unique alert ID.
The fourth byte indicates that we have a message payload of 4 bytes.
The last four bytes are the actual payload: 0x10000742 in this case, assuming we were
transmitting a 32-bit value in little-endian format.
Standard Alert IDs
Alert IDs in the range of 0x0000 to 0x00FF are reserved for standard SDEP alerts, and may
not be used by custom alerts.
The following alerts have been defined as a standard part of the protocol:
Name
Message Type
Alert ID
Payload Length
Payload
Type
U8
U16
U8
...
Meaning
Always '0x40'
Unique ID for the Alert Condition
Payload Length (0..16)
Optional response payload
40 CD AB 04 42 07 00 10
0: Message Type (U8)
1+2: Alert ID (U16)
3: Payload Length
4+5+6+7: Payload
0x40
0xCD 0xAB
0x04
0x42 0x07 0x00 0x10
© Adafruit Industries https://learn.adafruit.com/adafruit-feather-m0-bluefruit-le Page 203 of 238










