Hi Menno,
made some XBUS sniffs (AQ6) this morning.
GPS data types are:
Data type = 0x16 GPS Sensor (always second GPS packet)
0[00] 22(0x16)
1[01] 00
2[02] Altitude LSB (Decimal) //In 0.1m
3[03] Altitude MSB (Decimal) //Altitude = Altitude(0x17) * 10000 + Value (in 0.1m)
4[04] 1/100th of a degree second latitude (Decimal) (XX YY.SSSS)
5[05] degree seconds latitude (Decimal)
6[06] degree minutes latitude (Decimal)
7[07] degrees latitude (Decimal)
8[08] 1/100th of a degree second longitude (Decimal) (XX YY.SSSS)
9[09] degree seconds longitude (Decimal)
10[0A] degree minutes longitude (Decimal)
11[0B] degrees longitude (Decimal)
12[0C] Heading LSB (Decimal)
13[0D] Heading MSB (Decimal) Divide by 10 for Degrees
14[0E] Unknown (Decimal)
15[0F] First bit for latitude: 1=N(+), 0=S(-);
Second bit for longitude: 1=E(+), 0=W(-);
Third bit for longitude over 99 degrees: 1=+-100 degrees
Data type = 0x17 GPS Sensor (always first GPS packet)
0[00] 23(0x17)
1[01] 00
2[02] Speed LSB (Decimal)
3[03] Speed MSB (Decimal) Divide by 10 for Knots. Multiply by 0.185 for Kph and 0.115 for Mph
4[04] UTC Time LSB (Decimal) 1/100th sec. (HH:MM:SS.SS)
5[05] UTC Time (Decimal) = SS
6[06] UTC Time (Decimal) = MM
7[07] UTC Time MSB (Decimal) = HH
8[08] Number of Sats (Decimal)
9[09] Altitude in 1000m (Decimal)
10[0A]-15[0F] Unused (But contains Data left in buffer)
Both packages were transmitted on the XBUS, but type 17 doesn’t contain any data other dan [08] = No of sats = hAcc.
![type16.jpg (231.83 KiB) Viewed 27042 times type16.jpg](./download/file.php?id=3645&t=1&sid=96dbf5285754e0f5c21df6f6af488963)
- GPS type 16
![type17.jpg (249.47 KiB) Viewed 27042 times type17.jpg](./download/file.php?id=3646&t=1&sid=96dbf5285754e0f5c21df6f6af488963)
- GPS type 17
I've attached the result of my third XBUS sniff; it is a Saleae Logic file --> you can access this data by downloading and installing the Logic software (
https://www.saleae.com/downloads). Than, click on OPTIONS-->OPEN SESSION and open the file attached. Will show you some XBUS communication.
Will now did into the sources to see what's going on.
Joerg