RoadRunners – Communication Protocol
TF -
Protocol of communication
14/46
January 2007
Code ID
0x88-0x89
Description
Set MMI Signal
Payload
(2 + 3n) bytes
{Signal number, 0 - 3}
{Number of steps, 0 - 4}
For each step:
{(Bit 6: NA) (Bit 5: Red LED 1) (Bit 4: Green LED 1) (Bit
2: NA) (Bit 1: Red LED 0) (Bit 0: Green LED 0)}
{Buzzer frequency, 0 – 0xFF * 50Hz = 0 – 12750Hz}
{Delay until next step, in tenth of seconds}
Nota : LED 0 = right one
LED 1 = left one
Response
1 byte:
{(Bit 0: Success)}
Code ID
0x8A-0x8B
Description
Play Signal
Payload
2 bytes:
{Signal number, 0 - 3}
{Number of loops, 0 – 0xFE, 0xFF = infinity}
Response
1 byte:
{(Bit 0: Success)}
Code ID
0x8C-0x8D
Description
Stop Signal
Payload
1 byte:
{Signal number, 0 – 3}
Response
1 byte:
{(Bit 0: Success)}
The list of MMI signals is:
0. IHM_SIGNAL_CAPTURE_READ
1. IHM_SIGNAL_CAPTURE_ACK
2. IHM_SIGNAL_CAPTURE_NAK
3. IHM_SIGNAL_CAPTURE_LOST
Code ID
0x8E-0x8F
Description
Invert Leds
Payload
1 byte:
{0 = default, 1 = inverted}
Note :
Default : LED 0 is on the right, LED 1 on the left
Inverted : LED 1 is on the right, LED 0 on the left
Response
1 byte:
{(Bit 0: Success)}
Code ID
0x90-0x91
Description
Get “invert Leds” status
Payload
Response
1 byte:
{0 = default, 1 = inverted}
Note :
Default : LED 0 is on the right, LED 1 on the left
Inverted : LED 1 is on the right, LED 0 on the left