Wykres commitów

3257 Commity (master)

Autor SHA1 Wiadomość Data
jgromes 1de98370eb [SX126x] Add experimental BPSK support 2025-10-21 20:16:22 +01:00
jgromes f6f72f9963 [SX126x] Move command variables to commands file 2025-10-21 19:24:16 +01:00
jgromes 5f6f846c87 [LR11x0] Add GFSK workaround 2025-10-21 17:15:46 +01:00
jgromes b680b07567 [LR11x0] Add method to get boot hash 2025-10-19 20:02:20 +01:00
jgromes 975975523c [LR11x0] Add GFSK workaround registers 2025-10-19 19:06:48 +01:00
jgromes 494c666167 [LR11x0] Split registers. commands and types into separate headers 2025-10-19 19:05:34 +01:00
StevenCellist 9b330ffa99 [LoRaWAN] Fix for payload processing (#1626 comment) 2025-10-16 13:01:49 +02:00
StevenCellist a7f321ff76 Fix CI warning 2025-10-07 22:38:07 +02:00
StevenCellist 6e9d10c8cc [LoRaWAN] Cleanup Timeout IRQ, shortcut zero-length AES 2025-10-07 20:28:52 +02:00
StevenCellist 40c37a8d4f [LoRaWAN] Fix MAC-only payload truncation 2025-10-07 20:28:18 +02:00
StevenCellist 80d09eb52d [LoRaWAN] Process downlinks in-place 2025-10-07 20:05:45 +02:00
StevenCellist b0e049bfd6 [LoRaWAN] Logic optimization 2025-10-07 19:54:12 +02:00
StevenCellist 335911f1df [LoRaWAN] Fix for downlinks after confirmed uplinks 2025-10-07 19:38:00 +02:00
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
jgromes 04b4eb95b6 [SX127x] Fix finishReceive clearing IRQ flags prematurely (#1592) 2025-09-17 07:10:37 +02:00
jgromes 198d1697a3 [SX128x] Use IRQ value from map 2025-09-17 07:09:33 +02:00
jgromes b49314d0bb [LR11x0] Use IRQ value from map 2025-09-17 07:09:25 +02:00
Chris Leishman 334c003a27
[SX126x] No need to call standby() after a verified reset (#1603) 2025-09-17 06:55:47 +02:00
jgromes d27d98874c [SX126x] Add comment regarding preamble length for duty cycle Rx (#1597) 2025-09-15 16:29:07 +02:00
Jan Gromeš 7fc83f732c
User-controlled timeout for blocking receive (#1592)
* [PHY] Add timeout argument to blocking receive method

* [PHY] Add finishReceive method for cleanup after Rx

* [SX126x] Implement finishReceive method

* [SX126x] Implement blocking receive timeout

* [CC1101] Implement blocking receive timeout

* [CC1101] Implement finishReceive

* [nRF24] Implement blocking receive timeout

* [nRF24] Implement finishReceive

* [RF69] Implement finishReceive

* [RF69] Implement finishReceive

* [Si443x] Implement blocking receive timeout

* [Si443x] Implement finishReceive

* [SX128x] Implement blocking receive timeout

* [SX128x] Implement finishReceive

* [LR11x0] Implement blocking receive timeout

* [LR11x0] Implement finishReceive

* [SX127x] Implement blocking receive timeout

* [SX127x] Implement finishReceive

* Add finishReceive to keywords

* [CC1101] Fix incorrect timeout reference

* [SX126x] Simplify receive timeout duration (5x ToA instead of 100 symbols)

* [LR11x0] Simplify receive timeout duration (5x ToA instead of 100 symbols)

* [SX127x] Simplify receive timeout duration (5x ToA instead of 100 symbols)

* Fix swapped order of operations in finishReceive

* [SX128x] Add explanation regarding 10x timeout value
2025-09-10 07:07:28 +02:00
jgromes bbb2e4e575 [LoRaWAN] Add extra padding to prevent adrMasks overflow 2025-09-07 17:45:10 +02:00
Jan Gromeš 6c38520393
[SX128x] Merge pull request #1590 from MarusGradinaru/SX128x.receive()-timeout-bug
Fixing SX128x.receive() timeout bug
2025-09-05 15:23:14 +02:00
Marus Alexander 8833871aef
Fixed a small bug in receive() method 2025-09-05 14:48:08 +03:00
GUVWAF f7612e9a65
Add methods to retrieve received LoRa header info (#1588)
* [LR11x0] Move Rx header infos to public method

* [SX126x] Add LoRa Rx header infos method

* [SX127x] Add LoRa Rx header infos method

* [SX128x] Add LoRa Rx header infos method

* Add `getLoRaRxHeaderInfo` to keywords
2025-09-02 20:28:12 +02:00
GUVWAF b78ff1444e
Add support for LoRa coding rate 4/4 (#1587)
* [SX1272] Add support for coding rate 4/4

* [SX1278] Add support for coding rate 4/4

* [SX126x] Add support for coding rate 4/4

* [LR11x0] Add support for coding rate 4/4

* [SX128x] Add support for coding rate 4/4
2025-09-02 09:22:34 +02:00
StevenCellist a28234e262 [SX127x] Add safety delay while entering sleep 2025-08-29 13:29:34 +02:00