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
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
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
srichs
29124c3416
Adjusted formatting for DMS
2021-08-30 19:23:50 -06:00
a-f-G-U-C
71951a4e6a
fix a typo
2021-08-30 13:55:50 +00:00
a-f-G-U-C
8dbfd0f19b
disable gps powercycle for small gps_update_interval
2021-08-30 13:45:42 +00:00
srichs
5c6355489f
Changed gps coordinate formats to use sprintf()
2021-08-30 04:42:14 -06:00
srichs
8edac1f86c
Added different gps coordinate formats for OLED
2021-08-30 01:17:18 -06:00
Kevin Hester
5fe3ec09de
Merge pull request #840 from geeksville/dev
...
bugs
2021-08-18 12:35:49 -07:00
Kevin Hester
079843d777
add native build to bin zip
2021-08-18 11:10:20 -07:00
Kevin Hester
bd7171a7a2
1.2.45
2021-08-18 10:57:26 -07:00
Kevin Hester
eaa15076cd
WIP debug logging over TCP
2021-08-18 10:31:30 -07:00
Kevin Hester
2fd74d8f47
cleanup ssl cert generation
2021-08-17 20:40:46 -07:00
Kevin Hester
0e91d39b27
don't shutdown bluetooth if we didn't start it
2021-08-17 20:40:13 -07:00
Kevin Hester
52d7a6b8e4
immediately reconnect to mqtt server on wifi reconnect
2021-08-17 19:59:56 -07:00
Kevin Hester
472e880280
fix race condition when starting web service
2021-08-17 17:04:09 -07:00
Kevin Hester
189889489b
disable bluetooth while using wifi (esp32 drops networks otherwise)
2021-08-17 16:58:21 -07:00
Kevin Hester
0d758347af
Fix rare assertion failure which could occur due to pending interrupts
...
* fix assertion failure
```
22:57:36 64409 [PositionPlugin] FIXME-update-db Sniffing packet
22:57:36 64409 [PositionPlugin] Delivering rx packet (id=0x5851f437 Fr0xa1 To0xff, WantAck0, HopLim3 Ch0x0 Portnum=3 rxtime=1628895456 priority=10)
22:57:36 64409 [PositionPlugin] Forwarding to phone (id=0x5851f437 Fr0xa1 To0xff, WantAck0, HopLim3 Ch0x0 Portnum=3 rxtime=1628895456 priority=10)
22:57:36 64409 [PositionPlugin] Update DB node 0x85f4da1, rx_time=1628895456
22:57:36 64409 [PositionPlugin] Plugin routing considered
22:57:36 64409 [PositionPlugin] Add packet record (id=0x5851f437 Fr0xa1 To0xff, WantAck0, HopLim3 Ch0x0 Portnum=3 rxtime=1628895456 priority=10)
22:57:36 64409 [PositionPlugin] Expanding short PSK #1
22:57:36 64409 [PositionPlugin] Installing AES128 key!
22:57:36 64409 [PositionPlugin] enqueuing for send (id=0x5851f437 Fr0xa1 To0xff, WantAck0, HopLim3 Ch0xb1 encrypted rxtime=1628895456 priority=10)
22:57:36 64409 [PositionPlugin] (bw=125, sf=12, cr=4/8) packet symLen=32 ms, payloadSize=22, time 2596 ms
22:57:36 64409 [PositionPlugin] txGood=6,rxGood=10,rxBad=0
22:57:36 64409 [PositionPlugin] AirTime - Packet transmitted : 2596ms
22:57:36 64409 [RadioIf] assert failed src/mesh/RadioLibInterface.cpp: 240, void RadioLibInterface::handleReceiveInterrupt(), test=isReceiving
```
2021-08-17 16:31:01 -07:00