3244 Commits

Author SHA1 Message Date
StevenCellist e0fc757dc0 [LoRaWAN] Improve logging 2025-09-27 12:12:14 +02:00
StevenCellist e8a4d7983e [LoRaWAN] Change getMacDeviceTimeAns to return current time 2025-09-27 11:37:40 +02:00
StevenCellist 581882371f [LoRaWAN] Fix for Package MAC commands 2025-09-27 10:39:38 +02:00
StevenCellist 8362b5618a [LoRaWAN] Fix for Package FPort 2025-09-27 10:39:20 +02:00
StevenCellist 50bd0a19dc [LoRaWAN] Fix persistent downlink MAC content (#1616) 2025-09-27 10:35:30 +02:00
jgromes 05ba4e17a4 [HAL] Fix RPi HAL initialization order 2025-09-22 20:28:53 +01:00
Chris Leishman aeac7566dc [SX126x] Update doc of SX126x::getPacketLength (#1611)
Add a note that the update parameter is not used for SX126x modules
2025-09-22 19:37:59 +02:00
jgromes 2a2f6e0edf Bump version to 7.3.0 2025-09-21 08:23:02 +02:00
StevenCellist a3ab19ea78 [LoRaWAN] Fix for ADR masks on fixed bands 2025-09-20 21:05:51 +02:00
StevenCellist a679e60ff9 [LoRaWAN] Fix CI warnings in examples 2025-09-20 20:24:21 +02:00
jgromes c938127f16 [SX128x] Limit preamble length to 16bit numbers 2025-09-20 12:51:39 +02:00
jgromes 8ac7893e8e [SX128x] Fix warning for preamble length 2025-09-20 11:57:31 +02:00
GUVWAF f35d12421f Improve support for LoRa coding rate with Long Interleaver (#1606)
* Add error for packet too short

* [SX126x] Add support for Long Interleaver coding rates

* [LR11x0] Add packet length check for long interleaver

* [LR11x0] Update comment on Long Interleaver

* [SX128x] Update Long Interleaver CR 4/8 macro

* [SX128x] Add packet length check for CR 4/8 with long interleaver

* [SX126x] Add definitions for new CR with long interleaver
2025-09-20 11:04:45 +02:00
StevenCellist 5885ede681 [LoRaWAN] Update modem, datarate and ToA handling (#1609)
* [PHY] Add empty modem

* [LoRaWAN] WIP: update datarate / TOA handling

* [PHY] Add modem to datarate functions

* [LLCC68] Add modem argument to datarate functions

* [LR11x0] Add modem argument to datarate functions

* [SX126x] Add modem argument to datarate functions

* [SX127x] Add modem argument to datarate functions

* [SX128x] Add modem argument to datarate functions

* [LoRaWAN] Change datarate handling

* [LoRaWAN] Fix LR-FHSS header count

* [LoRaWAN] Update RFU datarates

* [LR11x0] Add default case to `setModem()`

* [LoRaWAN] Remove unused variable
2025-09-20 10:27:45 +02:00
Chris Leishman 778a73e32b [SX126x] Remove extraneous reset after findChip (#1604) 2025-09-19 18:52:23 +02:00
jgromes 70bca65888 [PHY] Add calculateTimeOnAir virtual method and override it in module classes 2025-09-18 19:27:25 +02:00
jgromes 28707e8477 [SX126x] Add missing method 2025-09-18 18:22:26 +02:00
jgromes 21af3bf7ca [SX126x] Add missing header files 2025-09-18 18:12:51 +02:00
jgromes a94f263cac [SX126x] Split main source file into multiple files 2025-09-18 18:05:57 +02:00
Chris Leishman 37ed8f5bb0 [SX126x] For receiveDutyCycleAuto, check senderPreambleLength is shorter than configured preamble (#1602)
* [SX126x] Update doc of startReceiveDutyCycleAuto

Indicate that the senderPreambleLength should never exceed
the configured preamble length.

* [SX126x] For receiveDutyCycleAuto, check senderPreambleLength is shorter than configured preamble

Return RADIOLIB_ERR_INVALID_PREAMBLE_LENGTH otherwise.
2025-09-17 17:33:35 +02:00
Chris Leishman e23bae3bbd [SX126x] Use a default of either 8 or 12 for minSymbols in startReceiveDutyCycleAuto (#1600)
* [SX126x] Update doc of startReceiveDutyCycleAuto

Note that the minimum preamble size should be set to 12 for SF5-6.

* [SX126x] Set default for minSymbols in startReceiveDutyCycleAuto

Change default argument value to 0, then set min symbols to
8 or 12 as appropriate.
2025-09-17 17:24:33 +02:00
GUVWAF 804470eff1 Add calculateTimeOnAir() method to relevant modules (#1596)
* [PhysicalLayer] Add packet configurations

* Add `calculateTimeOnAir()` method to relevant modules

* Add calculateTimeOnAir to keywords.txt

* Add TOA unit tests

* Remove old methods and equivalance tests

* Explicitly assign all struct members

* Fix cppcheck errors

* [SX127x] Make `reset()` and `errataFix()` virtual
2025-09-17 17:08:19 +02:00
jgromes 3220774a1f [SX126x] Fix typo in method names (#1592) 2025-09-17 07:18:20 +02:00
jgromes d7c7718b72 Fix typo in method names 2025-09-17 07:15:32 +02:00
jgromes fc7becd6f5 [SX126x] Fix finishReceive clearing IRQ flags prematurely (#1592) 2025-09-17 07:10:55 +02:00