claes
28e851c3fd
Low battery level counter for NRF52
...
Added a counter that counts low battery level detections.
If there are 4 in a row we go to deep sleep.
The battery sense on the RAK4631 seems to be a bit unstable and may
generate 'false' low voltage readings.
My RAK4631 has been running for 7 days now with this fix.
It did 3 days without it.
I still do not have a T-Echo so on that board IT IS NOT TESTED.
(But I hope it will improve things there too)
2021-09-19 16:00:10 +02:00
Vladislav Osmanov
c61bfae785
update protos
2021-09-19 16:26:39 +03:00
Vladislav Osmanov
e3d9b94367
New device board - [Meshtastic DIY v1] by @NanoVHF Schematic based on ESP32-WROOM-32 (38 pins) devkit & EBYTE E22 SX1262/SX1268 module
...
Subproject reference: https://github.com/NanoVHF/Meshtastic-DIY
2021-09-19 16:05:21 +03:00
Kevin Hester
b182819aff
Merge pull request #862 from a-f-G-U-C/HAE-MSL-banner
...
Indicate HAE/MSL mode on startup
2021-09-18 16:27:39 -07:00
Kevin Hester
a1b37d3407
Merge branch 'master' into HAE-MSL-banner
2021-09-18 15:59:54 -07:00
Kevin Hester
b3777ef6f0
Merge pull request #864 from a-f-G-U-C/sanitize-course-value
...
input sanitization - TinyGPS course
2021-09-18 15:59:43 -07:00
Kevin Hester
d54fecca4e
Merge branch 'master' into sanitize-course-value
2021-09-18 15:38:00 -07:00
Kevin Hester
0f14ed0a6c
Merge pull request #867 from syund/Show-fixed-GPS-coordinates-on-screen
...
[866] Show fixed coordinates on screen and indicate fixed GPS
2021-09-18 15:37:41 -07:00
Kevin Hester
b3012b7ee5
Merge branch 'master' into Show-fixed-GPS-coordinates-on-screen
2021-09-18 14:44:10 -07:00
Kevin Hester
2f7e200bef
Merge pull request #865 from osmanovv/sx1268-support
...
SX1268 module support and base class for SX126x module family
2021-09-18 14:43:55 -07:00
Vladislav Osmanov
16d2c565e8
Use EU433 frequency value as default for SX1268
2021-09-18 21:39:29 +03:00
Sam
a74f038cba
[866] Show fixed coordinates on screen and indicate when using fixed coordinates.
2021-09-15 18:58:09 -04:00
Vladislav Osmanov
bd9bf585d3
save channel & freq before outputting them for debugging
...
The frequency could be overridden in `RadioInterface::getFreq()` for some modules.
2021-09-15 12:09:11 +03:00
Vladislav Osmanov
56dd3eab23
use common param name `SX126X_ANT_SW` instead of the `SX1262_ANT_SW`
2021-09-14 12:25:25 +03:00
Vladislav Osmanov
cb42440963
fix module frequency overriding
...
The `RadioInterface::freq` member was encapsulated with the `RadioInterface::getFreq()` function,
which could be overridden in child classes for some LoRa-modules.
2021-09-13 22:13:51 +03:00
Vladislav Osmanov
da61090dc5
fix: need to check `USE_SX1262` and `USE_SX1268` as they are using the same pinouts
2021-09-12 13:58:56 +03:00
Vladislav Osmanov
098f38fb83
New base class for SX126x modules. Added new SX1268 module support.
2021-09-12 00:35:16 +03:00
a-f-G-U-C
c442fd3886
input sanitization - TinyGPS course()
...
Reduce the impact of issue #863 (and similar issues in the future) by filtering out obvious bogons
2021-09-10 15:12:12 +00:00
Vladislav Osmanov
00bf7879af
SX1268 frequency initialization regardless of the region
...
Otherwise, we get critical error 3 with result code -12 (ERR_INVALID_FREQUENCY):
The supplied frequency value is invalid for this module.
2021-09-09 23:55:36 +03:00
Vladislav Osmanov
2ba68c9b6e
added SX1268 module adapter
2021-09-09 23:55:36 +03:00
Vladislav Osmanov
2e48b88113
Merge branch 'meshtastic:master' into master
2021-09-09 23:33:16 +03:00
a-f-G-U-C
a2f06cb077
Display HAE/MSL mode on startup
2021-09-09 14:12:37 +00:00
Kevin Hester
b9443d87aa
Merge pull request #850 from osmanovv/radiolib-sync-upstream
...
Radiolib sync upstream
2021-09-08 14:45:36 -07:00
Kevin Hester
e351f35cf2
Merge branch 'master' into radiolib-sync-upstream
2021-09-08 14:08:25 -07:00
Kevin Hester
be9d637c7c
update platformio.ini to pull in latest RadioLib (with portduino fixes)
2021-09-08 14:08:02 -07:00
Kevin Hester
42986c852a
Merge pull request #861 from a-f-G-U-C/NMEA-GPS-fixes
...
fixes from PR #851 , #858 ported to NMEA GPS
2021-09-08 13:56:47 -07:00
a-f-G-U-C
de712ce41a
disable debug code
2021-09-08 14:26:21 +00:00
a-f-G-U-C
f6f9b9cd03
fixes from PR #851 , #858 ported to NMEA GPS
...
apply fixes and upgrades from PR #851 , #858 to NMEA GPS code
2021-09-08 14:02:13 +00:00
Vladislav Osmanov
1a671f2877
override new RadioLib's default current limit value (60 mA) to the previous value of 100mA
2021-09-08 14:30:52 +03:00
Kevin Hester
6f763c6418
Merge pull request #858 from a-f-G-U-C/ublox-gps-fixes
...
UBlox GPS fixes
2021-09-06 17:47:11 -07:00
Vladislav Osmanov
3eb20d3bd1
Merge branch 'meshtastic:master' into master
2021-09-06 09:46:17 +03:00
a-f-G-U-C
1c06c2af9f
read lat/lon/alt into temp vars instead of global
...
Instead of reading the GPS solution directly into global variables and risking a bad-over-good overwrite (issue #857 ), read it into temporary vars and only update global vars after validation.
Also updates positional timestamp variable and prepares (non-breaking) for HAE altitude support (issue #359 )
2021-09-05 17:11:04 +00:00
a-f-G-U-C
eb27e744f7
add positional timestamp and geoidal separation
...
Relevant to issues #842 and #843 (timestamp) and historical issues #392 and #359 (timestamp, geoidal)
2021-09-05 15:10:06 +00:00
Kevin Hester
c8269d67c3
Merge branch 'master' into radiolib-sync-upstream
2021-09-04 18:07:55 -07:00
Kevin Hester
21f3cc6f7a
Merge pull request #851 from a-f-G-U-C/virtual-haslock
...
allow GPS modules to redefine GPS::hasLock()
2021-09-04 18:07:28 -07:00
Kevin Hester
e3ed637942
reference the updated radilib sha256
2021-09-04 18:06:23 -07:00
Kevin Hester
ccb4596299
Merge branch 'master' into radiolib-sync-upstream
2021-09-04 17:35:34 -07:00
Kevin Hester
2741de90e5
Merge branch 'master' into virtual-haslock
2021-09-04 17:34:41 -07:00
Kevin Hester
adc51519fd
Merge pull request #855 from srichs/gps-coordinate-formats
...
Added OLC and OS grid ref coordinates
2021-09-04 17:31:52 -07:00
srichs
72e22b6744
Added OLC and OS grid ref protobufs
2021-09-04 01:31:29 -06:00
srichs
030d09740c
Merge branch 'gps-coordinate-formats' of https://github.com/srichs/Meshtastic-device into gps-coordinate-formats
2021-09-04 01:19:32 -06:00
srichs
d381f091e9
Added OLC and OS grid ref, adjusted DMS display
2021-09-03 23:19:47 -06:00
Vladislav Osmanov
e7fa0ae38b
Merge pull request #1 from osmanovv/radiolib-sync-upstream
...
Radiolib sync upstream
2021-09-03 11:31:47 +03:00
a-f-G-U-C
5cf1a87657
redefine hasLock() for UBlox GPS
2021-09-02 13:21:48 +00:00
a-f-G-U-C
25841c072a
allow GPS modules to redefine GPS::hasLock()
2021-09-02 13:11:11 +00:00
Vladislav Osmanov
f40bd0745c
The argument `currentLimit` was removed from the `begin` method
...
More info: jgromes/RadioLib@e1141ca#diff-507c32190e4a29ffe411c8eab06c75b594c5d2a5fd92e5cb703b787e5f019589L568
2021-09-02 16:10:45 +03:00
Vladislav Osmanov
fe3afaab3d
Reflecting changes from upstream RadioLib in https://github.com/osmanovv/RadioLib/tree/upstream-merge
...
(252fe74d53
)
The argument `currentLimit` was removed from the `begin` method:
e1141ca64c (diff-507c32190e4a29ffe411c8eab06c75b594c5d2a5fd92e5cb703b787e5f019589L568)
2021-09-02 16:10:44 +03:00
Kevin Hester
8a7a3ec668
Merge pull request #847 from a-f-G-U-C/a-f-G-U-C-ublox-power
...
disable gps powercycle for small gps_update_interval
2021-09-01 10:46:39 -07:00
Kevin Hester
f96d8bf645
Merge branch 'master' into a-f-G-U-C-ublox-power
2021-09-01 10:21:50 -07:00
Kevin Hester
b1b3d9df6e
Merge pull request #848 from srichs/gps-coordinate-formats
...
GPS Coordinate Formats
2021-09-01 10:21:27 -07:00