I started using this library for my Arduino project and it's by far the most extensive and capable.
However, I'm having a hard time in understanding a certain aspect. What I'd like to do is simple:
-Set airborne mode for ublox GPS (neo 6M and 7M) in the setup portion of the code
I've read many tutorials and posts about this and i think there might be multiple ways to do it:
1) sending PUBX message, ie something similar to: gps.send_P( F("$PUBX....))
2) or use a code similar to:
However my problems start here when the compiler does not like gps object and says it doesn't have send method. I tried creating a ubloxGPS object but then it says:
ubloxGPS::ubloxGPS() is private within this context
What would be the easiest way to set the airborne mode?
Here's my gps object:
NMEAGPS gps;
I'm using NeoSWSerial for connection.
NOTE: I've looked into CFG-NAV5 and i don't want to alter any other field but the dynamic platform model.
Hello,
I started using this library for my Arduino project and it's by far the most extensive and capable.
However, I'm having a hard time in understanding a certain aspect. What I'd like to do is simple: -Set airborne mode for ublox GPS (neo 6M and 7M) in the setup portion of the code
I've read many tutorials and posts about this and i think there might be multiple ways to do it: 1) sending PUBX message, ie something similar to:
gps.send_P( F("$PUBX....))
2) or use a code similar to:However my problems start here when the compiler does not like gps object and says it doesn't have send method. I tried creating a ubloxGPS object but then it says:
ubloxGPS::ubloxGPS()
is private within this contextWhat would be the easiest way to set the airborne mode?
Here's my gps object:
NMEAGPS gps;
I'm using NeoSWSerial for connection.
NOTE: I've looked into CFG-NAV5 and i don't want to alter any other field but the dynamic platform model.
Thanks!