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.h
- Revision:
- 9:cff83b9f5093
- Parent:
- 8:720841961804
- Child:
- 10:bfa9081e1d14
--- a/gnss.h Wed May 16 10:58:16 2018 +0500 +++ b/gnss.h Fri May 18 13:29:00 2018 +0500 @@ -52,11 +52,11 @@ enum eUBX_MESSAGE {UBX_LOG_BATCH, UBX_ACK_ACK, UBX_ACK_NAK, UBX_NAV_ODO, UBX_NAV_PVT, UNKNOWN_UBX}; -typedef struct UBX_CFG_ACK { +typedef struct UBX_ACK_ACK { uint8_t msg_class; uint8_t msg_id; -}tUBX_CFG_ACK; +}tUBX_ACK_ACK; typedef struct UBX_NAV_ODO { uint8_t version; @@ -216,11 +216,11 @@ */ eUBX_MESSAGE get_ubx_message(char *); - /** Method to parse contents of UBX CFG-ACK/NAK and return messageid amd class for which ACK is received + /** Method to parse contents of UBX ACK-ACK/NAK and return messageid amd class for which ACK is received * @param buff the UXB message - * @return tUBX_CFG_ACK + * @return tUBX_ACK_ACK */ - tUBX_CFG_ACK decode_ubx_cfg_ack_nak_msg(char *); + tUBX_ACK_ACK decode_ubx_cfg_ack_nak_msg(char *); /** Method to parse contents of UBX_NAV_ODO and return decoded msg * @param buff the UXB message