adafruit / adafruit/Adafruit_CircuitPython_GPS
Library not returning datetime when valid datetime is available from battery-backed RTC on Ultimate GPS Featherwing
- Dominant language
- Python
- Stars
- 80
- Forks
- 61
- Avg merge
- 22d 17h
- Merged PRs (30d)
- 1
Description
Issue is discussed in detail on the Adafruit forum here:
[https://forums.adafruit.com/viewtopic.php?t=204255](url)
The datetime can be parsed from the serial data returned by the GPS module, but as it is marked as invalid (V-marker?) due to having no GPS data, it is ignored by the library. The suggested improvement would be to examine the contents of the data whenever datetime is requested to see if there is a valid datetime, regardless of the validity marking.
Current workaround is to manually parse the serial data within the code, rather than relying on the library.
Contributor guide
No contributing guide indexed for this repository
Research direction
First inspect linked pull request #115 and the library's datetime request path, then trace how serial-data validity is handled. Done means the library returns a usable datetime from the battery-backed RTC even when the GPS validity marker is invalid, eliminating the manual parsing workaround.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100