-
Notifications
You must be signed in to change notification settings - Fork 85
Conversation
Added addGeofence, clearGeofences and getGeofenceState to allow up to four geofences to be defined. The geofence status can also be routed to one of the PIO pins and used as an interrupt etc..
Include NEO-M9N chip antenna and u.FL connector versions in README.md. Since there are no changes in code, we don't need to release another version tag. ;D
Added the geofence functions
I'm generally ready to merge. Two topics to discuss:
Please remove the dynamic model and geofence bits in this PR. If that's too much work, I could copy/paste your changes locally and apply the bits I want, then close this PR but you get none of the glory ;). Let me know if you want to attempt to fix this PR or if I should copy/paste. In the future, please branch from master rather than your own branches. And I am far from a git guru so if you know of a way that I can merge just the power save bits, let me know. |
Closing this for now until I understand the root cause of the timeout failures from #52 (which also apply to this function). I'll re-submit from a fresh fork. |
Hi Nathan (@nseidle),
I think this should be my last PR for a while!
I have added powerSaveMode which uses the UBX-CFG-RXM message to put the GNSS into power save mode. You can put the receiver back into continuous mode by calling powerSaveMode(false).
There is, of course, an example too.
I've tested it on the ZOE-M8Q and the current drops from 25-28mA during acquisition to approx. 9mA when low power mode kicks in. (That's with a passive antenna. Using an active antenna will add 10's of mA to the total draw.)
Enjoy!
Merry Christmas,
Paul