VBOX Sigma - RS232 Output Format
The RS232 output is present on the 6 Way Hirose connector on the bottom of the unit and can be used to provide a connection to a computer for testing online with VBOX Test Suite.
Protocol:
115200 Baud, no parity, 8 data bits, 1 stop bit
Message format:
$VBSIG$StttaaaaaaoooooovvvhhAAAVVxxyysddTTcc
Parameter | Number of bytes | Description |
---|---|---|
$VBSIG$ |
7 |
Header |
S |
1 |
Total satellites |
ttt |
3 |
Time |
aaaaaa |
6 |
Latitude |
oooooo |
6 |
Longitude |
vv |
2 |
Speed |
hh |
2 |
Heading |
AAA |
3 |
Altitude |
VV |
3 |
Vertical velocity |
xx |
2 |
Lateral acceleration |
yy |
2 |
Longitudinal acceleration |
s |
1 |
Solution type
|
dd |
2 |
Date
|
TT |
2 |
Differential Correction Age |
cc |
2 |
Checksum |
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;