Commit graph

436 commits

Author SHA1 Message Date
jgromes
079874345b [FEC] Move generically useful macros 2024-08-05 21:08:35 +02:00
StevenCellist
9195dbabda
[LoRaWAN] Fix downlink user-MAC commands piling up 2024-07-21 22:39:28 +02:00
StevenCellist
a6c9d0037a [LoRaWAN] Collection of fixes
- Fix v1.0.4 MAC-in-payload decryption
- Don't process 0MHz frequencies from CFList
- Fix downlink-event datarate not showing correctly after ADR request
- Convert getDevAddr to uint32_t
- Backend: improve MAC Queue<>Buffer processing
2024-07-21 21:37:01 +02:00
jgromes
fffb1fae9f [PHY] Make transmit data const (#1156) 2024-07-13 16:42:46 +01:00
Jan Gromeš
a93dd1af91
Merge pull request #1158 from alistair23/alistair/scan-guard
protocol: LoRaWAN: Allow configuring scanGuard
2024-07-13 17:10:01 +02:00
jgromes
fb049cc3af [SSTV] Added Robot36 and Robot72 modes (#1160) 2024-07-13 14:53:57 +01:00
Alistair Francis
5b9cad0c8c protocol: LoRaWAN: Allow configuring scanGuard
The current code uses scanGuard to increase the Rx window. Sometimes the
default 10ms scanGuard isn't enough. So allow uses of LoRaWAN to set a
larger scanGuard.

Signed-off-by: Alistair Francis <alistair@alistair23.me>
2024-07-11 10:09:55 +10:00
StevenCellist
0eeb5fe0d9 [LoRaWAN] Fix #1154, finalize LW v1.0.4
Holiday parting gift - happy holidays!
2024-07-09 21:01:09 +02:00
StevenCellist
33480235d6 [LoRaWAN] Fix JoinRequest dwelltime calculation 2024-06-27 17:38:29 +02:00
StevenCellist
68d0e393b7
[LoRaWAN] Remove forbidden CN780 2024-06-07 10:09:59 +02:00
IoTThinks.com
38abf92aaf
[LoRaWAN] Added frequency plans AS923_2, AS923_3 and AS923_4 for Asian countries (#1116)
* Added AS923_2, AS923_3 and AS923_4
These plans are used by Asian countries such as Vietnam, Indonesia, Philippines...
2024-06-07 10:04:38 +02:00
StevenCellist
e42cd7e2a5 [LoRaWAN] Fix dwelltime & JR-dr for AU915, add JR dwelltime check 2024-06-05 21:27:19 +02:00
IoTThinks.com
aebbdd4c93
[LoRaWAN] To change CR to 4/5 for all frequency plans (#1115)
To set AS923-1/2/3/4, IN868, EU433, KR, CN...use default CR 4/5 instead of CR 4/7
2024-06-04 08:12:43 +02:00
jgromes
5d9917eb06 [LoRaWAN] Change FSK switch to modulation variable 2024-06-02 09:29:55 +02:00
jgromes
cc2cb2c9a0 [LoRaWAN] Fix shadowed variable 2024-05-26 11:26:15 +01:00
jgromes
79d10c242a [LoRaWAN] Use memset for channel array init 2024-05-26 09:27:00 +02:00
jgromes
9a9e04d047 Add check for self-assignment 2024-05-26 09:25:13 +02:00
jgromes
99bb025173 [PHY] Added missing zero inits 2024-05-26 09:07:07 +02:00
jgromes
525fdfb1a0 [LoRaWAN] Cppcheck cleanup 2024-05-26 09:02:23 +02:00
StevenCellist
139fc7ee35 [LoRaWAN] Force default Rx2 for JoinAccept 2024-05-25 15:25:46 +02:00
StevenCellist
7186ae598b [LoRaWAN] Improve debug output 2024-05-25 15:12:36 +02:00
StevenCellist
237531c9a0 [LoRaWAN] Improve FPort checks, add TS009 option 2024-05-25 15:00:36 +02:00
StevenCellist
d4b25e75af [LoRaWAN] Hide Rx2 config into guarded setRx2Dr() 2024-05-25 14:38:04 +02:00
StevenCellist
88b4da94c1 [LoRaWAN] Fix cppcheck warnings 2024-05-25 13:13:35 +02:00
StevenCellist
fe221cf84f [LoRaWAN] Revert LW to LORAWAN 2024-05-25 13:00:02 +02:00
StevenCellist
298a612699
[LoRaWAN] Change session activation (#1093)
* [LoRaWAN] Improve session restoration/activation behaviour

* [LoRaWAN] Custom return codes for session begin

* [LoRaWAN] Separate begin() and activate()

* [LoRaWAN] Fix activateABP()

* [LoRaWAN] Additional error-code

* [LoRaWAN] Fix rejoining during active session

* [LoRaWAN] Expose clearSession, drop `force`

* Update keywords...
2024-05-21 12:03:49 +02:00
Thomas Schätzlein
f2e1b547d5 fix payload of DevStatusAns mac-command
Lorawan specs say (e.g. 1.0.4 or 1.1), that the first byte is the
battery-level and the second byte is the margin.
2024-05-20 10:51:41 +02:00
jgromes
60d1738c91 [AX25] Fix possible string truncation 2024-05-19 18:32:44 +02:00
jgromes
9e8da76740 [ITA2] Added assignment operator overload and copy constructor 2024-05-12 19:49:56 +01:00
jgromes
71ccce4a3d [EXT] Added assignment operator overload and copy constructor 2024-05-12 19:49:46 +01:00
jgromes
e3f851ef6d [AX.25] Added assignment operator overload 2024-05-12 19:49:28 +01:00
jgromes
a93e7b93de [SSTV] Fixed issues found by cppcheck 2024-05-12 12:03:53 +01:00
jgromes
d4e7af836c [Hell] Fixed issues found by cppcheck 2024-05-12 12:03:43 +01:00
jgromes
f72f7bd46d [RTTTY] Fixed issues found by cppcheck 2024-05-11 20:33:45 +01:00
jgromes
909969aa15 [Print] Fixed issues found by cppcheck 2024-05-11 20:33:39 +01:00
jgromes
89e406775d [Pager] Fixed issues found by cppcheck 2024-05-11 20:33:07 +01:00
jgromes
48ed06aa4b [Morse] Fixed issues found by cppcheck 2024-05-11 20:32:57 +01:00
jgromes
d779a834a0 [Hell] Fixed issues found by cppcheck 2024-05-11 20:32:50 +01:00
jgromes
f53d5b9027 [FSK4] Fixed issues found by cppcheck 2024-05-11 20:32:41 +01:00
jgromes
0f0ab73832 [EXT] Fixed issues found by cppcheck 2024-05-11 20:32:32 +01:00
jgromes
914c616c2a [Bell] Fixed issues found by cppcheck 2024-05-11 20:32:20 +01:00
jgromes
98bae46c33 [AX25] Fixed issues found by cppcheck 2024-05-11 20:32:02 +01:00
jgromes
ac07269f97 [APRS] Fixed issues found by cppcheck 2024-05-11 20:31:57 +01:00
jgromes
d61589a2c5 [AFSK] Fixed issues found by cppcheck 2024-05-11 20:31:01 +01:00
jgromes
d12e9f11f5 [LoRaWAN] Added timeout to downlink wait loop 2024-05-08 15:29:39 +02:00
jgromes
90eca88859 [LoRaWAN] Use 32-bit IRQ flags 2024-05-08 14:51:43 +02:00
jgromes
2c9446ef1e [LoRaWAN] Added rx start assert 2024-05-08 14:50:34 +02:00
StevenCellist
bb7fffe95d [LoRaWAN] Improve readability to better match documentation 2024-05-04 23:26:59 +02:00
StevenCellist
bbeca9a53e [LoRaWAN] Consistent fOpts casing to match documents 2024-05-04 23:21:45 +02:00
StevenCellist
163a4020d2 [LoRaWAN] Consistent fCnt/fPort casing to match documents 2024-05-04 23:18:36 +02:00