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
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
ccb4596299
Merge branch 'master' into radiolib-sync-upstream
2021-09-04 17:35:34 -07:00
srichs
72e22b6744
Added OLC and OS grid ref protobufs
2021-09-04 01:31:29 -06: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
srichs
8edac1f86c
Added different gps coordinate formats for OLED
2021-08-30 01:17:18 -06: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
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
Kevin Hester
a9f8080ee7
cope with race on available() vs read() found while looking at #838
2021-08-12 22:06:51 -07:00
Kevin Hester
057b04a88a
treat RECEIVED_PACKET like PACKET_FOR_PHONE
2021-08-02 22:07:39 -07:00
Kevin Hester
99d529be51
While connected to MQTT server, veto light-sleep (to keep wifi working)
2021-08-02 17:42:44 -07:00
Kevin Hester
39df7108a8
fix wifi hang when bad password used, cleanup wifi in general
2021-08-02 11:28:57 -07:00
Kevin Hester
2fe11d4fe8
don't break strict-aliasing rules
2021-08-02 10:50:28 -07:00
Kevin Hester
d40b66beac
Allow plugins to write to the parsed protobuf (minimizes copies in some cases)
2021-08-01 12:58:23 -07:00
Audun Foyen
bf0b598908
Include <algorithm> - required for 'lower_bound'
2021-07-31 21:56:31 +02:00
Audun Foyen
8a79663fa0
Drop lower priority packets when tx queue is full.
...
Track packet pointers in vector. Priority maintained using: push_heap, pop_heap, make_heap, and sort_heap.
2021-07-31 21:42:48 +02:00
Audun Foyen
986d44873a
Issue-108. Track recent packets in unordered_set
...
Check individual packets seen recently for expiry - and purge.
Otherwise - only scan all of recentPackets for expired once
fill > 75% (of MAX_NUM_NODES).
2021-07-20 21:19:35 +02: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
5c4d1a88a8
update protos
2021-05-29 13:19:27 +08:00
Kevin Hester
29ff778e22
fix #811 nodes rebooting due to invalid printf call, thanks @IZ1IVA
...
Ouch, this was nasty - printf format string wasn't matching the parameters
passed in causing a NPE due to a missing last param.
I'll investigate why printf format strings were
not being checked by the compiler (normally gcc offers that feature)
2021-05-26 10:00:23 +08:00
Kevin Hester
abe95ae1a4
most of the changes needed to build native on Windows
2021-05-25 05:08:57 +08:00
Kevin Hester
a8feb40ae9
cleanup
2021-05-24 09:42:25 +08:00
Kevin Hester
be410a3913
Fix #807 TCP API on ESP32. thanks @jfirwin your hint made the problem easy to find!
2021-05-24 09:42:21 +08:00
Kevin Hester
069b0d38be
Fix wifi to allow usage with unsecured networks
2021-05-24 09:21:52 +08:00
Kevin Hester
7f2bbcd95e
fix debug spam for api calls (possibly corrupting protocol)
2021-05-23 12:07:28 +08:00
Kevin Hester
7f51517961
better support for heltec
2021-05-11 09:44:41 +08:00
Kevin Hester
bc76c79e1e
oops my latest change busted android connection detection
2021-05-03 15:37:37 +08:00
Kevin Hester
d179bda728
serious bug: connection to phones not being properly tracked
2021-05-03 14:46:30 +08:00
Kevin Hester
c15204fed1
better debug output
2021-05-03 10:53:06 +08:00
Kevin Hester
6dc4471bec
fix serious bug! don't send NO-RESPONSE NAKs for messages sent by local node
2021-05-03 08:45:32 +08:00
Kevin Hester
4c1b7d4840
pinelora WIP
2021-05-01 11:27:37 +08:00
Kevin Hester
babc1b3613
include file/lineno in critical error logs
2021-04-29 09:52:15 +08:00
Kevin Hester
6e27856daa
pinelora WIP
2021-04-22 08:49:05 +08:00
Kevin Hester
405f7e0caa
Fix integration test found by CI! verstr field was too short
2021-04-16 11:51:04 +08:00
Kevin Hester
55b38a7b02
RAK4631 is almost feature complete
2021-04-12 13:25:55 +08:00
Kevin Hester
a43a04986d
document peer_info
2021-04-11 09:24:36 +08:00
Kevin Hester
5e87ee338d
add is_licensed for ham users
2021-04-10 11:39:13 +08:00
Kevin Hester
cec905914c
Fix GPIO service and cleanup response handling
2021-04-06 10:34:23 +08:00
Kevin Hester
7abc3534c4
fix build for !wifi devices
2021-04-05 13:00:56 +08:00
Kevin Hester
a845406a19
cleanup packet encrypt/descrypt
2021-04-05 09:24:00 +08:00
Kevin Hester
8ef36bcc9c
note about security
2021-04-05 08:56:11 +08:00
Kevin Hester
3cd64bb8b5
allow passing even encrypted packets through the plugins
2021-04-05 08:44:47 +08:00
Kevin Hester
55b8314a2a
mqtt: only publish uplink_enabled channels
2021-04-05 07:57:06 +08:00