The RS232 output is present on the top CAN/Serial port of VBOX Touch and can be used to provide a connection to a computer for testing online with VBOX Test Suite or for outputting laptiming data.
This is output when VBOX Stream is selected within the Serial Port Settings menu.
Protocol:
115200 Baud, no parity, 8 data bits, 1 stop bit
Message format:
$VBTse$StttaaaaaaoooooovvvhhAAAVVVxxyysddTTcc
| Parameter | Number of bytes | Description |
|---|---|---|
| $VBTse$ | 7 | Header Message identifier as ASCII string. |
| S | 1 | Total satellites Number of satellites used in solution irrespective of GNSS. Range (0, 255). Note: All eight bits are used. |
| ttt | 3 | Time Ticks since midnight UTC. Range (0, 8641000). |
| aaaaaa | 6 | Latitude Signed integers, 0.0000001 minutes per bit. Range (-539999999999, 540000000000) |
| oooooo | 6 | Longitude Signed integers, 0.0000001 minutes per bit. Range (-1079999999999, 1080000000000). |
| vvv | 3 | Speed Unsigned integer, 0.001 km/h per bit. Range (0, 16777.215). |
| hh | 2 | Heading Unsigned integer, 0.01° per bit. Range (0, 35999). |
| AAA | 3 | Altitude Signed integer, 0.01 m per bit. Range (-8388608, 8388607). |
| VVV | 3 | Vertical velocity Signed integer, 0.001 m/s per bit. Range (-8388608, 8388607). |
| xx | 2 | Lateral acceleration Signed integer, 0.01 g per bit. Range (-32768, 32767). |
| yy | 2 | Longitudinal acceleration Signed integer, 0.01 g per bit. Range (-32768, 32767). |
| s | 1 | Solution type Enumeration as signed integer.-1: No data0: No solution1: Stand alone2: Code differential3: RTK Float4: RTK Fixed5: Fixed position6: IMU coasting |
| dd | 2 | Date DOS format.Bits 0–4: Day of month Range (1, 31).Bits 5–8: Month Range (1, 12).Bits 9–15: Years since 1980 Range (0, 128). |
| TT | 2 | Time since trigger event Unsigned integer, 0.000000001 seconds (i.e. 1 ns) per bit. Range (0, 429496729516). |
| cc | 2 | Checksum Standard Racelogic communications CRC calculation,Seeexamplebelow. |
This is output when Lap Timing is selected within the Serial Port Settings menu.
Protocol:
115200 Baud, no parity, 8 data bits, 1 stop bit
Message format:
$$LLTTnnnnttttllsssscc
| Parameter | Number of bytes | Description |
|---|---|---|
| $$ | 2 | Header Message identifier as ASCII string. |
| LL | 2 | Length Message length not including header or checksum. Fixed at 0x0012 for this message. |
| TT | 2 | Type Message type. Fixed at 0x0030 for this message. |
| nnnn | 4 | Serial number Unit serial number as unsigned integer. |
| tttt | 4 | Lap time Unsigned integer, 0.001 s per bit. |
| ll | 2 | Lap number Unsigned integer. |
| ssss | 4 | Stint time Unsigned integer, 0.001 s per bit. |
| cc | 2 | Checksum Standard Racelogic communications CRC calculation,Seeexamplebelow. |
CRC Calculation example:
s[n] is a string containing the message
Polynomial:= 4129
CRC:=0;
for Loop:=1 to Length(s) do
begin
Temp:=s[Loop];
CRC:= CRC xor (integer(Temp) *256);
CRC:= CRC mod 65536;
for i:=7 downto 0 do
begin
if ( (CRC and 32768)=32768) then
begin
CRC:= CRC *2 ;
CRC:= CRC xor Polynomial;
end
else
begin
CRC:= CRC *2 ;
end;
CRC:=CRC mod 65536;
end;
end;
result:=CRC;