Skip to content
This repository was archived by the owner on Jan 28, 2021. It is now read-only.

Commit 02ad398

Browse files
committedSep 14, 2018
Fix properties file. Fixing cpp for SAMD permissive settings.
1 parent 7268029 commit 02ad398

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed
 

‎library.properties

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
name=SparkFun Ublox Arduino Library
2-
version=1.0.0
2+
version=1.0.1
33
author=SparkFun Electronics <techsupport@sparkfun.com>
44
maintainer=SparkFun Electronics <sparkfun.com>
55
sentence=Library for I2C Communication with Ublox modules
6-
paragraph=An Arduino Library to enable I2C communication for both NMEA reception and binary UBX sending to the module. Useful for interfacing to the<a href="https://www.sparkfun.com/products/14980">SparkFun GPS-RTK</a> board based on the NEO-M8P-2. Library also works with other Ublox based boards.
7-
8-
The NEO-M8P-2 module is the top-of-the-line module for high accuracy GNSS and GPS location solutions including RTK. The NEO-M8P-2 is unique in that it is capable of both rover and base station operations. The ‘-2’ designation means this module has survey-in mode allowing the module to become a base station and produce RTCM 3.x correction data.
6+
paragraph=An Arduino Library to enable I2C communication for both NMEA reception and binary UBX sending to the module. Useful for interfacing to the<a href="https://www.sparkfun.com/products/14980">SparkFun GPS-RTK</a> board based on the NEO-M8P-2. Library also works with other Ublox based boards. <br><br>The NEO-M8P-2 module is the top-of-the-line module for high accuracy GNSS and GPS location solutions including RTK. The NEO-M8P-2 is unique in that it is capable of both rover and base station operations. The ‘-2’ designation means this module has survey-in mode allowing the module to become a base station and produce RTCM 3.x correction data.
97
category=Sensors
108
url=https://github.com/sparkfun/SparkFun_Ublox_Arduino_Library
119
architectures=*

‎src/SparkFun_Ublox_Arduino_Library.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ void SFE_UBLOX_GPS::calcChecksum(ubxPacket *msg)
455455
//=-=-=-=-=-=-=-= Specific commands =-=-=-=-=-=-=-=
456456

457457
//Poll the module until and ack is received
458-
boolean SFE_UBLOX_GPS::waitForResponse(uint16_t maxTime = 250)
458+
boolean SFE_UBLOX_GPS::waitForResponse(uint16_t maxTime)
459459
{
460460
commandAck = false; //Reset flag
461461
packetCfg.valid = false; //This will go true when we receive a response to the packet we sent
@@ -476,7 +476,7 @@ boolean SFE_UBLOX_GPS::waitForResponse(uint16_t maxTime = 250)
476476

477477

478478
//Get the current TimeMode3 settings - these contain survey in statuses
479-
boolean SFE_UBLOX_GPS::getSurveyMode(uint16_t maxWait = 250)
479+
boolean SFE_UBLOX_GPS::getSurveyMode(uint16_t maxWait)
480480
{
481481
packetCfg.cls = UBX_CLASS_CFG;
482482
packetCfg.id = UBX_CFG_TMODE3;
@@ -594,7 +594,7 @@ boolean SFE_UBLOX_GPS::disableRTCMmessage(uint8_t messageNumber, uint8_t portID,
594594

595595
//Enable/Disable RTCM3 (both input and output) for a given port
596596
//Use to enable RTCM3 on I2C port (ID 0)
597-
boolean SFE_UBLOX_GPS::setRTCMport(uint8_t portID, boolean enableRTCM3, uint16_t maxWait = 250)
597+
boolean SFE_UBLOX_GPS::setRTCMport(uint8_t portID, boolean enableRTCM3, uint16_t maxWait)
598598
{
599599
//Get the current config values for this port ID
600600
getPortSettings(portID);
@@ -611,7 +611,7 @@ boolean SFE_UBLOX_GPS::setRTCMport(uint8_t portID, boolean enableRTCM3, uint16_t
611611
}
612612

613613
//Returns the current protocol bits in the UBX-CFG-PRT command for a given port
614-
boolean SFE_UBLOX_GPS::getPortSettings(uint8_t portID, uint16_t maxWait = 250)
614+
boolean SFE_UBLOX_GPS::getPortSettings(uint8_t portID, uint16_t maxWait)
615615
{
616616
packetCfg.cls = UBX_CLASS_CFG;
617617
packetCfg.id = UBX_CFG_PRT;

0 commit comments

Comments
 (0)
This repository has been archived.