Commit graph

378 commits

Author SHA1 Message Date
StevenCellist
aa46a0c8b3 [LoRaWAN] Hide broken CSMA 2024-04-02 22:25:50 +02:00
StevenCellist
a4ad32e6ff [LoRaWAN] Fix downlink crashes (#1049), remove redundant parameter 2024-04-02 22:24:06 +02:00
jgromes
e7ee407b0d [Doc] Additional doxygen fixes 2024-04-01 12:11:13 +02:00
Jan Gromeš
e57c9b08ea
[Doxygen] Warnings fixes (#1046)
* [APRS] Fix Doxygen warnings

* [Print] Fix Doxygen warnings

* [CC1101] Fixed doxygen warnings

* [nRF24] Fixed doxygen warnings

* [RF69] Fixed doxygen warnings

* [SX126x] Fixed doxygen warnings

* [SX127x] Fixed doxygen warnings

* [AFSK] Fixed doxygen warnings

* [APRS] Fixed doxygen warnings

* [Bell] Fixed doxygen warnings

* [Ext] Fixed doxygen warnings

* [LoRaWAN] Fixed doxygen warnings

* [PHY] Fixed doxygen warnings

* [Print] Fixed doxygen warnings

* [Mod] Fixed doxygen warnings
2024-04-01 11:11:24 +02:00
jgromes
78211e7566 [LoRaWAN] Added specific error code for no downlink received 2024-03-27 18:48:16 +01:00
Jan Gromeš
648b455cff
[LoRaWAN] Added array of supported bands (#1032) 2024-03-26 06:57:25 +01:00
Jan Gromeš
cfc425970c
[LoRaWAN] Resolve warnings, fix bugs for fixed bands (#1021)
* [LoRaWAN] Resolve warnings

* [LoRaWAN] Fixed bands: improve initial datarate, fix CFList bug

* [LoRaWAN] Improve MAC debug output formatting

* Fix hexdump debug level

* Remove unnecessary error, add new ones to keywords

* [LoRaWAN] Discard useless check

---------

Co-authored-by: StevenCellist <steven@boonstoppel.nu>
2024-03-18 16:39:55 +01:00
StevenCellist
ca2a3073b9
[LoRaWAN] Change and upgrade persistence handling (#1017)
* [LoRaWAN] Change and upgrade persistence handling

* [BuildOpt] Patch to upstream

* [LoRaWAN] Fix #1018

* [LoRaWAN] Remove outdated parts

* [LoRaWAN] Resolve feedback

Warning: untested - am not at my desk

* [LoRaWAN] Small bugfixes
2024-03-18 08:51:38 +01:00
jgromes
4ee17cc168 Debugging rework 2024-03-10 11:07:23 +01:00
jgromes
cf561733d2 [Pager] Minor fixes 2024-03-02 18:09:56 +01:00
Jan Szumiec
268e2d704f
Receive messages for multiple POCSAG RICs (#998)
* Make it possible to supply a list of addresses for POCSAG reception.

* Initialize some instance variables to sensible values.
2024-03-02 18:01:32 +01:00
StevenCellist
5766d386af
[LoRaWAN] Improve persistence behaviour, add dwell time error, clear up debug output (#980)
* [LoRaWAN] Improve examples, add getter for DevAddr

* [ArduinoHAL] Only (over)write new values

* [HAL] Fix comment

* [TypeDef] Introduce error for LoRaWAN dwell time

* [LoRaWAN] Improve persistence behaviour, add dwell time error, clear up debug output

* [LoRaWAN] Prevent incorrect behaviour in restore()

* [LoRaWAN] Improve example comments and persistence

* [LoRaWAN] Fix DeviceTime and LinkCheck, fix FcntUp offset

* [LoRaWAN] Fix example incorrectly processing MAC commands

* [LoRaWAN] Fix downlink port, Fcnt 'underflow', user MAC processing

* [LoRaWAN] Add simple receive methods

* [LoRaWAN] Add co-author

Co-Authored-By: HeadBoffin <60431281+HeadBoffin@users.noreply.github.com>

* [LoRaWAN] Fix example output

* [LoRaWAN] Improve persistence behaviour, bugfix subband

* [LoRaWAN] Prevent useless rejoin during nonpersistent session

* [LoRaWAN] Graciously block an uplink if not joined

---------

Co-authored-by: HeadBoffin <60431281+HeadBoffin@users.noreply.github.com>
2024-02-27 17:29:45 +01:00
jgromes
9f0bdffc50 [LoRaWAN] Use ESP_PLATFORM macro to include esp_attr.h (#952) 2024-02-25 18:02:31 +01:00
StevenCellist
0ea00fad44
[LoRaWAN] Improve examples, add getter for DevAddr (#974) 2024-02-15 20:36:03 +01:00
Leonard Techel
ea2ccfd6d0 [LoRaWAN] Fix fcntUp wrap-around after 50 transmissions
Resolves #950
2024-02-13 19:58:02 +01:00
Olivér Remény
e4267760f9
Fix stringop-truncation warning in AX25 callsign getter (#958)
* Update LoRaWAN.cpp

* Update Pager.cpp

* Update AX25.cpp

Fixed stringop-truncation error
2024-02-11 09:41:41 +01:00
Olivér Remény
7945ffb996
include esp_attr.h where IRAM_ATTR is used (#952)
* Update LoRaWAN.cpp

* Update Pager.cpp
2024-02-02 16:57:43 +01:00
jgromes
bce14023f9 [PHY] Fixed godmode not exposing private member (#950) 2024-02-02 16:36:50 +01:00
jgromes
d208f46f93 [LoRaWAN] Added data rate check debug print 2024-01-28 13:31:08 +01:00
jgromes
a44a3daa1c [LoRaWAN] Removed unsupported initializer (CI_BUILD_ALL)[ 2024-01-27 19:05:44 +01:00
jgromes
070a0bf240 [LoRaWAN] Fixed missing bracket (CI_BUILD_ALL) 2024-01-27 19:00:16 +01:00
jgromes
7c50be3158 [LoRaWAN] Add explicit initialization 2024-01-27 18:57:11 +01:00
jgromes
1c8d2d5cfb [LoRaWAN] Typo fixes 2024-01-27 18:49:34 +01:00
jgromes
f35e3282f5 [LoRaWAN] Added ADR data rate check (#946) 2024-01-27 18:47:40 +01:00
jgromes
b734e23460 [PHY] Added data rate check method 2024-01-27 18:23:52 +01:00
StevenCellist
b98a5c6b29 [LoRaWAN] Fix Tx power calculation 2024-01-24 08:46:10 +01:00
StevenCellist
51ab103d07 [LoRaWAN] Keep Dev/JoinNonce on OTAA wipe with same credentials 2024-01-23 09:04:25 +01:00
StevenCellist
9008fb00a7 [LoRaWAN] Fix setDatarate function 2024-01-22 14:38:35 +01:00
StevenCellist
ee542c3b56 [LoRaWAN] Fix dynamic-band non-ADR session persistance 2024-01-22 13:34:00 +01:00
StevenCellist
aedf519ea4 [LoRaWAN] Fix rejoining during active session 2024-01-22 12:53:18 +01:00
StevenCellist
4ec10a4749 [LoRaWAN] Fix fixed band CFList processing 2024-01-22 12:32:15 +01:00
StevenCellist
6979bff863 [LoRaWAN] Improve channel masks for fixed bands 2024-01-22 11:40:57 +01:00
StevenCellist
598228fba0 [LoRaWAN] Fix session restore throwing unnecessary error 2024-01-20 11:03:54 +01:00
jgromes
efe303ca69 [LoRaWAN] Properly size fopts buffer 2024-01-14 19:05:52 +01:00
jgromes
8c5ae6d266 [LoRaWAN] Remove variable length array (CI_BUILD_ALL) 2024-01-14 18:25:51 +01:00
jgromes
132aae944f [LoRaWAN] Fix Module* not needed without persistent storage 2024-01-14 18:25:04 +01:00
jgromes
b2d1306e9e [LoRaWAN] Simplify variable length arrays (CI_BUILD_ALL) 2024-01-14 16:40:23 +01:00
jgromes
1681eeead3 [LoRaWAN] Fix MAC command initialization 2024-01-14 16:37:01 +01:00
jgromes
be52cd8edd [LoRaWAN] Fix possible integer overflow 2024-01-14 16:33:17 +01:00
jgromes
e392c7b91f [LoRaWAN] Fixed duty cycle enable ignored (CI_BUILD_ALL) 2024-01-14 16:31:24 +01:00
StevenCellist
0bba68f3ae [LoRaWAN] Rework channel logic 2024-01-13 00:05:25 +01:00
StevenCellist
d0979ce853 [LoRaWAN] Fix checksum calculation 2024-01-08 23:36:17 +01:00
StevenCellist
7c676f9393 [LoRaWAN] Implement requested changes 2024-01-08 22:33:34 +01:00
StevenCellist
2da09b5adc [LoRaWAN] Convert setDatarate() and setTxPower() to internal MAC; improve ADR 2024-01-06 15:03:55 +01:00
StevenCellist
f7730463bd [LoRaWAN] Fix ADR bug if not enabled 2024-01-05 13:41:00 +01:00
StevenCellist
853c1731ca [LoRaWAN] Fix warnings 2024-01-05 11:36:01 +01:00
StevenCellist
574555ca09 [LoRaWAN] Revamp internal processing, key checking, new MAC commands, implement DutyCycle & DwellTime 2024-01-05 11:06:24 +01:00
StevenCellist
797b7a4323 [LoRaWAN] Fix macros 2023-12-29 23:53:44 +01:00
StevenCellist
badcbbe809 [LoRaWAN] Fix ABP initialization, support MAC in payload 2023-12-29 16:38:55 +01:00
StevenCellist
fc8d80c9de
Merge branch 'jgromes:master' into master 2023-12-09 10:31:13 +01:00