User manual
A I R E N C E - U S B M a n u a l P a g e 41
MESSAGES
Write
A message of the type WRITE
AIRENCE_LED_WRITE
byte 0 1 2 3 4 5 6 7
SIZE COMMAND PAYLOAD
0x04 0x02 lednum color
Byte Symbol Value Descripon
0
SIZE 0x04 Message size
1
COMMAND 0x02
2
lednum
3
color 0x00
0x01 RED
0x02 GREEN
0x03 YELLOW
AIRENCE_LED_BLINK_WRITE
0 1 2 3 4 5 6 7
SIZE COMMAND
0x06 0x03 lednum speed
Byte Symbol Value Descripon
0
SIZE 0x06 Message size
1
COMMAND 0x03
2
lednum
3
0x00
0x01 RED
0x02 GREEN
0x03 YELLOW
4 0x00
0x01 RED
0x02 GREEN
0x03 YELLOW
5 speed 0x00 SLOW
0x01 NORMAL
0x02
Request
A message of the type REQUEST
RESPONSE message. Therefore, a REQUEST message
always forms a pair with a RESPONSE message.