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

Revision:
9:cff83b9f5093
Parent:
8:720841961804
Child:
10:bfa9081e1d14
--- a/gnss.cpp	Wed May 16 10:58:16 2018 +0500
+++ b/gnss.cpp	Fri May 18 13:29:00 2018 +0500
@@ -296,7 +296,7 @@
 		}
 	}
 
-	unsigned char enable_ubx_nav_pvt[]={0x01, 0x07, 0x02};
+	unsigned char enable_ubx_nav_pvt[]={0x01, 0x07, 0x01};
 	conf = RETRY;
 	while(conf)
 	{
@@ -409,8 +409,8 @@
 	return return_value;
 }
 
-tUBX_CFG_ACK GnssParser::decode_ubx_cfg_ack_nak_msg(char *buf) {
-	tUBX_CFG_ACK return_decoded_msg;
+tUBX_ACK_ACK GnssParser::decode_ubx_cfg_ack_nak_msg(char *buf) {
+	tUBX_ACK_ACK return_decoded_msg;
 	uint8_t index = UBX_PAYLOAD_INDEX;
 
 	return_decoded_msg.msg_class = buf[index++];