Wykres commitów

571 Commity (master)

Autor SHA1 Wiadomość Data
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
jgromes 855a64c053 [SX126x] Allow SX1261 version string for LLCC68 devices (#1329) 2024-11-26 19:46:43 +01:00
jgromes 35f18b049b [LLCC68] Added note about different configuration 2024-11-22 17:16:27 +01:00
jgromes 53e7a309a0 [LLCC68] Added LLCC68 examples 2024-11-22 17:14:59 +01:00
jgromes 8d119fc242 [SX128x] Fixed order of ISR functions in examples 2024-11-19 18:52:27 +01:00
jgromes 17bcfcd0bb [SX127x] Fixed order of ISR functions in examples 2024-11-19 18:52:21 +01:00
jgromes a579eed780 [SX126x] Fixed order of ISR functions in examples 2024-11-19 18:52:16 +01:00
jgromes 0a6d6a26e1 [STM32WLx] Fixed order of ISR functions in examples 2024-11-19 18:52:10 +01:00
jgromes 12d81e6d0f [Si443x] Fixed order of ISR functions in examples 2024-11-19 18:52:02 +01:00
jgromes 1fa7d479ad [RF69] Fixed order of ISR functions in examples 2024-11-19 18:51:57 +01:00
jgromes f95de45be7 [nRF24] Fixed order of ISR functions in examples 2024-11-19 18:51:49 +01:00
jgromes 2dd69398e3 [LR11x0] Fixed order of ISR functions in examples 2024-11-19 18:51:42 +01:00
jgromes b33647adc3 [CC1101] Fixed order of ISR functions in examples 2024-11-19 18:51:30 +01:00
Walter Dunckel 8eb6f0cf24
Change order of setFlag function
The change allows the code to compile. The same issue exists with a few other examples too.
2024-11-19 06:30:10 -08:00
Alistair Francis 9d9d480a48
hal: Tock: Namespace HAL, update timer implementation and update libtock-c (#1313)
* tock: use native time getter, remove globals

Tock has direct support for querying time. The prior `millis()`
method here replicated the same functionality, but missed some
corner case concerns around overflow/wrapping. Instead, just use
the native Tock time getter method. This also removes unneeded
global variables and methods.

* NonArduino/Tock: Update to latest libtock-c

Update to the latest libtock-c commit. libtock-c now includes a
libtockHal.h, so we can use that instead of the version here.

Signed-off-by: Alistair Francis <alistair@alistair23.me>

---------

Signed-off-by: Alistair Francis <alistair@alistair23.me>
Co-authored-by: Pat Pannuto <pat.pannuto@gmail.com>
2024-11-14 18:51:00 +01:00
jgromes 8f3a5c7430 [LR11x0] Use array as LR-FHSS sync word 2024-10-28 18:52:07 +00:00
jgromes 15a751a543 [SX126x] Fix LR-FHSS sync word 2024-10-28 18:51:43 +00:00
jgromes 0156c9004e [LR11x0] Fix RF switch call in examples (#1295) 2024-10-27 19:29:42 +00:00
jgromes fada24c1c4 [APRS] Added repeaters (#1285) 2024-10-23 18:06:35 +01:00
Jan Gromeš 9e7c0129e6
[HAL] HALs in src (#1281)
* [HAL] Move HALs to src

* [CI] Temporarily drop unofficial STM32 (package down)

* [LR11x0] Fix ambiguous call

* [CI] Return Maple mini back to build matrix
2024-10-20 19:14:33 +02:00
jgromes 2aa8c6e82a Update all examples, add link to RadioBoards 2024-10-20 16:02:19 +01:00
jgromes cc720a7a24 [SX127x] Added reset to home channel to FHSS examples (#1266) 2024-10-20 14:25:27 +01:00
Jan Gromeš 00699ce225
[LR11x0] GNSS support (#1275)
* [LR11x0] Added WIP GNSS control

* [LR11x0] Added almanac update

* [LR11x0] Added almanac update example

* [LR11x0] Add missing memory deallocation

* [LR11x0] Fix underflow in delay until subframe

* [LR11x0] Remove pin mapping from example

* [LR11x0] Finish rework of the GNSS API

* [LR11x0] Added position and satellite examples

* [LR11x0] Fix result member in example

* Added LR11x0 GNSS keywords

* [LR11x0] Fix typo in macro name

* [LR11x0] Print scan failed in example

* [LR11x0] Added GNSS abort
2024-10-18 16:50:36 +02:00
jgromes 710a1540b5 [STM32WLx] Update Rx interrupt example (#1272) 2024-10-14 16:38:57 +01:00
Jan Gromeš dc77e6e662
[SX126x] LR-FHSS support (#1228)
* [FEC] Added Vitervi encoder

* [SX126x] Added initial LR-FHSS transmission support

* [CI] Use RPi build for CodeQL

* [SX126x] Fix signed comparison warning

* [FEC] Make input to Viterbi encoder const

* [CI] Drop SX126x examples from Arduino Uno builds

* [CI] Build SX123x for CodeQL scan

* [FEC] Fix comparison type

* [SX126x] Added configurable grid step

* [SX126x] Rename convolutional coding class

* [SX126x] Fix payload CRC

* [SX126x] ADded LR-FHSS example

* [SX126x] Make argument const
2024-10-07 20:00:19 +02:00
Ali Mosallaei 83e05701fe
[HAL] Add tones support for the RPi Pico (#1239)
* Add tones support for RPi Pico

* Add dependencies to CMakeLists

* Address review
2024-09-27 20:26:13 +02:00
jgromes 07bcf386f5 [LR11x0] LR-FHSS reception is not supported 2024-09-22 18:31:58 +01:00
jgromes 400382b1e7 [APRS] Fix string conversion in examples 2024-09-11 21:05:01 +02:00