Thomas Göttgens
7f293bfda3
Merge branch 'master' into master
2022-09-09 21:39:29 +02:00
Thomas Göttgens
f7b12f0695
Adapt to new protobufs - TODO: factory_reset rewire
2022-09-09 12:51:41 +02:00
lewishe
2088036521
Differentiate t-beam-s3 GNSS from t-echo
2022-09-08 10:52:03 +08:00
lewishe
5621719eef
Add tbeam esp32s3 version support, replace AXP202X_Library with XPowersLIb
2022-09-06 15:58:33 +08:00
Ben Meadors
874d308b50
Only save devicestate on GPS reset ( #1587 )
2022-08-03 07:16:41 -05:00
majbthrd
ade32b1827
lay groundwork for a possible future architecture ( #1571 )
...
* lay groundwork for a possible future architecture
* switch from feature opt-out to feature opt-in
* lay groundwork for a possible future architecture
* switch from feature opt-out to feature opt-in
* fix USE_RTC in variant.h for rak4631_epaper and t-echo
* ensure Screen.h is not included without configuration.h
Co-authored-by: Peter Lawrence <12226419+majbthrd@users.noreply.github.com>
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2022-07-31 07:11:47 -05:00
Thomas Göttgens
53e9f4df46
Segemented config works for me (TM)
...
Small GPS Fix that cropped up while testing included.
2022-05-21 22:38:33 +02:00
Thomas Göttgens
5d22efd8a8
remove duplicate GPS setting
2022-05-21 20:52:43 +02:00
Thomas Göttgens
5e82423331
More UBX fixes
2022-05-18 18:16:23 +02:00
Thomas Göttgens
3c5a096873
Streamline GPS Init
2022-05-18 16:16:59 +02:00
Thomas Göttgens
ac93e3196e
Don't try to be too smart
2022-05-17 20:53:57 +02:00
Thomas Göttgens
7f9bb5748e
log UBX Init
2022-05-17 19:54:29 +02:00
Thomas Göttgens
7576270423
switch GPS back to 9600 baud, seems to work better now we only use the 2 sentences
2022-05-17 19:09:12 +02:00
Sacha Weatherstone
6b0ce6b729
Finish config transition
2022-05-07 20:31:21 +10:00
Thomas Göttgens
701707a01b
- Bounds Check is working on big integers, don't throw away valid coordinates.
...
- Set ublox chips back to NMEA mode if they have been configured wrongly before.
2022-04-26 13:00:11 +02:00
Thomas Göttgens
213d9512f1
WIP: unify the RAK targets into one firmware ( #1350 )
...
* First steps to unify GPS Lib for RAK 1910 and RAK 12500
* Technicalities. Out with the old and build the new.
* Adapt Matrix
* We use 0.4.5 now
* While we're at it, yank the RAK815, it's EOL
* Satisfy CI - for now
* - yank UBX library, talk to GPS chip with NMEA only.
- more autodetect going on, this time for the Eink Display.
TODO: actually do something with the scan findings.
* i swear this works on windows! :-)
* these are only there to make CI happy
* don't update eink display if not detected.
* Replace Oberon Crypt Library with modified Adafruit Library. This elimintaes the need for the sdk-nfxlib submodule.
* - Revert auto screen selection (incomplete)
- Revert nrF crypto engine (needs more work)
- add separate defines for not-auto-selecting screen lib.
* Define 2 new variants for RAK - with or without epaper
* Update variants
Co-authored-by: Sacha Weatherstone <sachaw100@hotmail.com>
Co-authored-by: Ben Meadors <thebentern@tuta.io>
2022-04-25 15:13:41 +10:00
Balázs Kelemen
b76424db50
Make Observer to be able to observe multiple Observables. ( #1234 )
...
* Make Observer to be able to observe multiple Observables.
* Fix Observer destructor cleanup.
Co-authored-by: Sacha Weatherstone <sachaw100@hotmail.com>
2022-04-14 08:43:06 +10:00
Thomas Göttgens
028999697e
Improve T-Echo GPS Handling
2022-04-06 09:18:55 +02:00
Thomas Göttgens
7c4bb80977
Variable GPS Thread Timing, keep default of 100 msec
2022-04-02 12:52:50 +02:00
Thomas Göttgens
4e29984549
Slightly more verbose GPS debug logging
2022-03-31 18:52:40 +02:00
Sacha Weatherstone
2ed8ea10c0
Remove eink0.1 and Air530 files
2022-03-29 22:28:34 +11:00
Thomas Göttgens
72f443c519
free serial pins if gps_disabled is set
2022-03-24 18:22:31 +01:00
Sacha Weatherstone
8adacba3a1
Respect loc_share_disabled
2022-03-20 16:12:55 +11:00
Sacha Weatherstone
e5e25c2f31
Use gps_disabled
2022-03-20 15:57:49 +11:00
Sacha Weatherstone
4cd1570543
make location_share a boolean
2022-03-20 11:01:49 +11:00
Jm Casler
11130496c4
remove is_router in favor of role == Role_Router
2022-03-15 15:49:25 -07:00
a-f-G-U-C
70b80e600d
use Position struct for GPS data
2021-10-24 12:38:35 +00:00
a-f-G-U-C
a914ee133c
fix a rare GPS data corruption condition ( #890 )
...
* fix a rare GPS data corruption condition
* don't use hasLock to determine validity
2021-10-23 14:21:59 +11:00
a-f-G-U-C
a2f06cb077
Display HAE/MSL mode on startup
2021-09-09 14:12:37 +00:00
a-f-G-U-C
25841c072a
allow GPS modules to redefine GPS::hasLock()
2021-09-02 13:11:11 +00:00
Kevin Hester
17a1262382
pull in new epaper lib (which required importing configuration.h everywhere
...
for dumb reasons)
2021-06-27 10:56:28 -07:00
Kevin Hester
7224782d23
rak4631: gps now works
2021-04-11 15:17:56 +08:00
Vadim Furman
c62863b1dc
Merge from origin
2021-03-14 19:42:57 -07:00
Vadim Furman
98d878cdfe
Port to lora_isp4520 board
2021-03-14 19:00:20 -07:00
Kevin Hester
217bd934d7
fix GPS fixme wrt deletion
2021-03-10 15:21:54 +08:00
Wei Fang
f6336855d0
Fix GPS turned on then off immediately every 2 minutes
2020-12-30 21:11:03 -08:00
Kevin Hester
a8d7700295
move more of is_router out of python and into the device code
2020-12-21 11:38:03 +08:00
Kevin Hester
ff4b03b8c1
Fix #509 was causing failure on non GPS equipped boards
2020-11-07 09:15:28 +08:00
Kevin Hester
d7368d5a51
begin deep sleep support for nrf52
2020-10-30 17:05:32 +08:00
Kevin Hester
7597d5b3fd
PPR1 - GPS serial now works
2020-10-25 17:07:54 +08:00
Kevin Hester
1a8891c33d
ppr1: add crude version of charge controller driver
2020-10-24 18:40:47 +08:00
Kevin Hester
e1f0e11cb8
ppr1 WIP DO NOT MERGE - will break other clients
2020-10-17 13:15:12 +08:00
Kevin Hester
5f2f3c94b9
PPR1 and allow boards to set lower or higher sx1262 power limits
2020-10-15 13:47:10 +08:00
Kevin Hester
ca77d48b20
corvus2 gps still doesn't work WIP
2020-10-13 14:43:28 +08:00
Kevin Hester
965c2bda8d
corvus2 board builds
2020-10-13 13:59:06 +08:00
Kevin Hester
49b4ed2a89
coroutine: kinda works now
2020-10-10 18:03:45 +08:00
Kevin Hester
95cb6b06e4
fix #462 publish immediately on any GPS state change
...
(don't wait until end of aquisition window)
2020-10-10 09:20:38 +08:00
Kevin Hester
023f1c24fb
RTC: add notion of 'quality' for different time sources
...
Allow use of mesh based time until a GPS time arrives
2020-10-08 07:46:20 +08:00
Kevin Hester
f00d07baa3
RTC: pull rtc code into own file for cleanup
2020-10-08 07:28:57 +08:00
Kevin Hester
62c228b986
gps: don't stop lock attempts just because the main cpu is sleeping
2020-10-08 06:23:53 +08:00