Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: example-ublox-at-cellular-interface-ext example-low-power-sleep example-C030-out-of-box-demo example-C030-out-of-box-demo ... more
Revision 30:de9fcdbc4d06, committed 2019-04-03
- Comitter:
- fahim.alavi@u-blox.com
- Date:
- Wed Apr 03 11:53:35 2019 +0500
- Parent:
- 29:54fd002f2376
- Child:
- 31:9a1ce433f062
- Commit message:
- FLAG extracted from NAV-PVT
Changed in this revision
| gnss.cpp | Show annotated file Show diff for this revision Revisions of this file |
| gnss.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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;
--- a/gnss.h Mon Dec 17 12:11:07 2018 +0500 +++ b/gnss.h Wed Apr 03 11:53:35 2019 +0500 @@ -73,6 +73,7 @@ uint8_t month; uint8_t day; uint8_t fixType; + uint8_t flag1; // gnssFixOK, diffSoln, psmState, headVehValid and carrSoln. int32_t lon; // scaling 1e-7 int32_t lat; // scaling 1e-7 int32_t height;