This class provides an API to communicate with a u-blox GNSS chip. The files here were originally part of the C027_Support library (https://developer.mbed.org/teams/ublox/code/C027_Support/ at revision 138:dafbbf31bf76) but have been separated out, primarily for use on the u-blox C030 board where the cellular interace portion of the C027_Support library will instead be provided through the new mbed Cellular API.
Dependents: example-ublox-at-cellular-interface-ext example-low-power-sleep example-C030-out-of-box-demo example-C030-out-of-box-demo ... more
Diff: gnss.cpp
- Revision:
- 30:de9fcdbc4d06
- Parent:
- 29:54fd002f2376
- Child:
- 33:75163fa7e453
--- a/gnss.cpp Mon Dec 17 12:11:07 2018 +0500 +++ b/gnss.cpp Wed Apr 03 11:53:35 2019 +0500 @@ -446,7 +446,8 @@ // Go to Fix type index = UBX_PAYLOAD_INDEX + 20; - return_decoded_msg.fixType = buf[index]; + return_decoded_msg.fixType = buf[index++]; + return_decoded_msg.flag1 = buf[index]; // Go to lon index = UBX_PAYLOAD_INDEX + 24;