573 Commits

Author SHA1 Message Date
StevenCellist e8a4d7983e [LoRaWAN] Change getMacDeviceTimeAns to return current time 2025-09-27 11:37:40 +02:00
StevenCellist a679e60ff9 [LoRaWAN] Fix CI warnings in examples 2025-09-20 20:24:21 +02:00
jgromes d0db02e335 [Pager] Fix missing method call in example 2025-07-05 10:45:26 +01:00
StevenCellist a52a03b155 [LoRaWAN] Remove unused TS009 function from example 2025-06-30 00:48:01 +02:00
Darian Leung ed67ef372a refactor: Use sdkconfig.defaults for ESP-IDF example
ESP-IDF allows projects to specify a sdkconfig.defaults values which contain
preset values for configuration options of relevance to the project. This
allows ESP-IDF to use those presets while supplying default values for all
other configuration options, when generting the final sdkconfig file.

Changes:

- Ran `idf.py save-defconfig` to find non-default value configs. Saved
relevant ones to `sdkconfig.defaults`
- Removed `sdkconfig` file
- Added `sdkconfig` to `.gitignore` as ESP-IDF will generate a `sdkconfig`
based on `sdkconfig.defaults` when building.
2025-06-23 19:56:28 +08:00
StevenCellist f2fbd73044 [LoRaWAN] Provide support for TSxxx packages (including TS009 reference implementation) (#1528)
* [LoRaWAN] Fix for incorrect use of dutycycle function

* [LoRaWAN] Implement TSxxx package support

And fix an MIC problem for >16-bit downlink FCnt

* Revert unused error code

* [LoRaWAN] Add TS009 example

* [LoRaWAN] Comment a platform dependency in TS009 header

* [LoRaWAN] Make TSxxx example platform independent

* [LoRaWAN] Remove unused variable

* [LoRaWAN] Remove printf from example

* [LoRaWAN] Fix scope of variables

* [LoRaWAN] Remove printf from example

* [LoRaWAN] Fix cppcheck issue

* [LoRaWAN] Feedback improvements
2025-06-21 15:48:30 +02:00
StevenCellist 827fbd9f17 Add new LoRaWAN examples to the LoRaWAN README 2025-06-16 10:56:38 +02:00
jgromes d7205cd006 [LoRaWAN] Fix variable redefinition 2025-06-01 10:06:25 +02:00
StevenCellist f7c6071169 [LoRaWAN] Add Class C and Multicast examples 2025-06-01 08:30:07 +02:00
StevenCellist 49d340e667 [LoRaWAN] Implement Class C (including multicast) (#1504)
* [SX126x] Add unified RxContinuous timeout

* [SX127x] Add unified RxContinuous timeout

* [SX128x] Add unified RxContinuous timeout

* [LR11x0] Add unified RxContinuous timeout

* [LoRaWAN] Implement Class C

* [LoRaWAN] Fix cppcheck issue

* [LoRaWAN] Add a few comments

* [LoRaWAN] Add a few more comments

* [LoRaWAN] Improve debug line

* [LoRaWAN] Prohibit class switching before join

* [LoRaWAN] Fix Class C downlink details

* [LoRaWAN] Implement Class C multicast

* Update keywords.txt

* [LoRaWAN] Fix error codes in examples

* [LoRaWAN] Declare Multicast key arguments `const`

* [LoRaWAN] Small fixes for Class C

* [LoRaWAN] Small fixes for Class C

* [LoRaWAN] Fix Class C feedback
2025-05-29 21:08:24 +02:00
jgromes faa5ab11d2 [HAL] Add macro guards to PicoHal 2025-05-29 17:31:27 +02:00
jgromes 3b1747a9df [HAL] Exclude HAL source files from default build 2025-05-29 16:20:47 +02:00
StevenCellist 1dae175022 Update LoRaWAN notes 2025-05-08 17:09:31 +02:00
StevenCellist 5a24ae1ce8 Update LoRaWAN examples README 2025-05-08 16:51:34 +02:00
StevenCellist 7577ae413f Fix for CN470 (formerly CN500) 2025-03-06 18:31:20 +01:00
Crsarmv7l b9c214db95 [CC1101] FIFO Refills to transmit packets up to 255 bytes (#1404)
* Update CC1101.h

Add Max packet size for FIFO Refills

* Define FIFO Size, Max packet Length for FIFO refills

* FIFO REFILL

- Go through FSTXON State
- Check MARCSTATE to ensure ready to tx
- Initial FIFO fill
- Check FIFO bytes twice in accordance with errata
- Refill FIFO
- Check MARCSTATE is idle before returning

* Fix typos

* Fix another typo

* min -> std::min per build check

* Revert std::min back to min

* Use RADIOLIB_MIN Macro instead of min

* Move MARC State check for Idle to finishTransmit function

Change allows startTransmit to stop blocking once the last bytes are added to the FIFO

* Add timeouts for both MARC state checks

* Fix typo

* No interrupt for packets bigger than 64 bytes

* Initialize state as RADIOLIB_ERR_NONE if avoiding ISR

* Update example with packet size and discussion link

* Update example with new packet size and discussion link

* Update example, clarify blocking on greater than 64 bytes link discussion

* Update doxygen comments for 255 byte limit, limitations and discussion link
2025-02-13 17:20:56 +01:00
Jan Gromeš 8c2c7b6cb5 [LoRaWAN] Add methods to allow user-provided sleep function (#1410)
* [LoRaWAN] Add methods to allow user-provided sleep function

* Add example sleep function

* [LoRaWAN] Switch all delay calls to sleepDelay

* [LoRaWAN] Remove unused variable

---------

Co-authored-by: StevenCellist <steven@boonstoppel.nu>
2025-02-06 07:00:03 +01:00
jgromes 5eb90ea17a [SX126x] Add LR-FHSS interrupt transmit example 2025-01-29 21:14:36 +01:00
jgromes 779e0aa4dd [SX126x] Rename LR-FHSS modem example to transmit 2025-01-29 20:45:41 +01:00
StevenCellist 283bfb43fe [LoRaWAN] Revert change in dwell time arguments 2025-01-04 16:04:05 +01:00
StevenCellist 5952106e93 [LoRaWAN] Update reference example 2025-01-04 15:05:36 +01:00
jgromes 8c0e8a6586 [SX126x] Remove address filtering from examples (#1268) 2024-12-17 20:27:17 +00:00
jgromes 111de250ec [CC1101] Clarify maximum packet length (#1347) 2024-12-14 14:49:23 +01:00
jgromes a692b72347 Move ESP-IDF HAL back to examples (#1322) 2024-11-30 21:53:48 +01:00
StevenCellist 5e063e7ad8 [LoRaWAN] Update revision naming / RP revision B 2024-11-26 22:27:18 +01:00