RoadRunners – Communication Protocol
TF -
Protocol of communication
9/46
January 2007
Code ID
0x56-0x57
Description
n.c
Payload
n.c
Response
n.c
Code ID
0x5C-0x5D
Description
Dock Commands
Payload
{Code ID} “Parameters”
Response
If the device responds: {Code ID} “Response”
Else: {0}
Code ID
0x5E-0x5F
Description
Bluetooth Commands
Payload
{Code ID} “Parameters”
Response
If the device responds: {Code ID} “Response”
Else: {0}
3.1.2. Dock Code IDs
Code ID
0x28
Description
Set UART parameters
Payload
4 bytes:
{(Baudrate / 300) [15:8]}
{(Baudrate / 300) [7:0]}
The baudrate must be between 300bps and 921600bps
{Stop bits: 0 = 1 stop bit, 1 = 2 stop bits}
{Parity: 0 = None, 1 = Even, 2 = Odd}
Response
1 byte:
{Bit 0: Success}
Code ID
0x29
Description
Set UART parameters
Payload
None
Response
4 bytes:
{(Baudrate / 300) [15:8]}
{(Baudrate / 300) [7:0]}
{Stop bits: 0 = 1 stop bit, 1 = 2 stop bits}
{Parity: 0 = None, 1 = Even, 2 = Odd}
3.1.3. Bluetooth Code IDs
For the Bluetooth Code IDs, see the ‘SmartModule Developer Implementation Guide”
(Annex §1)