Commit graph

522 commits

Author SHA1 Message Date
jgromes
400382b1e7 [APRS] Fix string conversion in examples 2024-09-11 21:05:01 +02:00
StevenCellist
f7f0b62e7f
[LoRaWAN] Major rework (#1204)
* [LoRaWAN] Major rework

* [LoRaWAN] Some CI fixes, add retransmission timeout

* [LoRaWAN] CI fixes

* [LoRaWAN] Add missing initializers

* [LoRaWAN] Return Rx window number, fix casing

* [LoRaWAN] Un-static functions to fix overriding

* [LoRaWAN] Integrate feedback, fix session save/restore

* [LoRaWAN] Add const

* [LoRaWAN] Do not accept invalid Rx2 datarate

* [LoRaWAN] Integrate feedback

* [LoRaWAN] Fix retransmission, ADR backoff, setDatarate; reject out-of-band frequencies

* Update keywords.txt

* [LoRaWAN] Fix initial datarate, misc cleanup

* [LoRaWAN] Update examples

* [LoRaWAN] Update README

* [LoRaWAN] Reject oversized downlinks

* [LoRaWAN] Remove VLAs

* [LoRaWAN] CI fixes

* [LoRaWAN] More CI

* [LoRaWAN] Fix getMaxPayloadLen

* [LoRaWAN] Rename some status codes

* [CI] Skip LoRaWAN on XMega48

* [CI] Skip FW update for LR11x0

---------

Co-authored-by: jgromes <jan.gromes@gmail.com>
2024-09-10 21:11:16 +02:00
jgromes
47b8df6874 [LR11x0] Added ping-pong example 2024-09-10 19:23:30 +02:00
Jan Gromeš
bc801c7004
[PHY] Channel scan configuration (#1190)
* [PHY] Added channel scan configuration

* [LR11x0] Added channel scan configuration

* [SX126x] Added channel scan configuration

* [SX128x] Added channel scan configuration

* Use microsecond timeout

* [PHY] Added generalized IRQ handling via PHY

* [LR11x0] Added generalized IRQ handling via PHY

* [SX126x] Added generalized IRQ handling via PHY

* [SX127x] Added generalized IRQ handling via PHY

* [SX128x] Added generalized IRQ handling via PHY

* Added missing typedef

* [PHY] Fix IRQ method argument type

* [SX128x] Fix non-trivial initializer usage

* [LR11x0] Added missing override specifiers

* [SX126x] Added missing override specifiers

* [SX127x] Added missing override specifiers

* [SX128x] Added missing override specifiers

* [PHY] Added missing IRQ map initializer

* [CI] Drop APRS builds on AVR

* [CI] Drop Morse builds for AVR

* [PHY] Rework generic IRQ to allow multiple flags

* [LR11x0] Rework generic IRQ to allow multiple flags

* [SX126x] Rework generic IRQ to allow multiple flags

* [SX127x] Rework generic IRQ to allow multiple flags

* [SX128x] Rework generic IRQ to allow multiple flags

* [LoRaWAN] Use generic IRQ

* Add missing typedef

* [SX127x] Make Rx mode implicit based on timeout

* [SX127x] Fixed shadowed variable

* [LR11x0] Fix missing initializers

* [SX127x] Added default startReceive arguments

* [LR11x0] Pass scan config by const reference

* [SX126x] Pass scan config by const reference

* [SX128x] Pass scan config by const reference

* [PHY] Pass scan config by const reference

* [SX127x] Add missing IRQ conversion

* [SX126x] Fixed default CAD scan config IRQ

* [LR11x0] Fixed default CAD scan config IRQ

* [LR11x0] Fix comments referencing DIO1
2024-09-01 18:19:07 +02:00
jgromes
260534741d Added readme to ESP-IDF example 2024-08-17 21:19:14 +02:00
StevenCellist
6fdaef0953 Revert libtock being included 2024-07-22 21:29:54 +02:00
StevenCellist
907d9f9ef2 Merge branch 'master' of https://www.github.com/jgromes/RadioLib 2024-07-21 21:37:25 +02:00
StevenCellist
a6c9d0037a [LoRaWAN] Collection of fixes
- Fix v1.0.4 MAC-in-payload decryption
- Don't process 0MHz frequencies from CFList
- Fix downlink-event datarate not showing correctly after ADR request
- Convert getDevAddr to uint32_t
- Backend: improve MAC Queue<>Buffer processing
2024-07-21 21:37:01 +02:00
jgromes
7c3ed88c0d [SX126x] Clarify DIO3 for AFSK-based examples 2024-07-20 16:41:13 +02:00
Alistair Francis
ace0997359
NonArduino: Tock: A collection of fixes for LoRaWAN support (#1145) 2024-07-03 18:23:00 +02:00
jgromes
786dea5f56 [SX127x] Added delay to halting while loops 2024-06-29 18:34:41 +02:00
jgromes
3bf973d568 [SX126x] Added delay to halting while loops 2024-06-29 18:34:29 +02:00
jgromes
b34be58e1a [Stream] Added delay to halting while loops 2024-06-29 18:33:34 +02:00
jgromes
406197e667 [SX123x] Added delay to halting while loops 2024-06-29 18:33:25 +02:00
jgromes
87c1851dc4 [STM32WL] Added delay to halting while loops 2024-06-29 18:33:19 +02:00
jgromes
e942ac5ffc [SSTV] Added delay to halting while loops 2024-06-29 18:33:03 +02:00
jgromes
abbbda671b [Si443x] Added delay to halting while loops 2024-06-29 18:32:48 +02:00
jgromes
3ee37e4de5 [RTTY] Added delay to halting while loops 2024-06-29 18:32:38 +02:00
jgromes
d99dd952df [RF69] Added delay to halting while loops 2024-06-29 18:32:30 +02:00
jgromes
ff5b7117bf [PHY] Added delay to halting while loops 2024-06-29 18:32:19 +02:00
jgromes
1178f5e718 [Pager] Added delay to halting while loops 2024-06-29 18:32:05 +02:00
jgromes
d3a81e4fa4 [nRF24] Added delay to halting while loops 2024-06-29 18:31:54 +02:00
jgromes
0023a73069 [Morse] Added delay to halting while loops 2024-06-29 18:31:46 +02:00
jgromes
2b844ae816 [LR11x0] Added delay to halting while loops 2024-06-29 18:31:38 +02:00
jgromes
83bf003589 [Hell] Added delay to halting while loops 2024-06-29 18:31:27 +02:00
jgromes
5908841834 [FSK4] Added delay to halting while loops 2024-06-29 18:31:20 +02:00
jgromes
ab7ed60b2c [CC1101] Added delay to halting while loops 2024-06-29 18:31:13 +02:00
jgromes
74c5bb253c [Bell] Added delay to halting while loops 2024-06-29 18:31:07 +02:00
jgromes
6f1ec9f016 [AX25] Added delay to halting while loops 2024-06-29 18:31:01 +02:00
jgromes
3ebf371f6b [APRS] Added delay to halting while loops 2024-06-29 18:30:50 +02:00
jgromes
44ee248de9 [AFSK] Added delay to halting while loops 2024-06-29 18:29:11 +02:00
jgromes
798ba3efbe [SX128x] Added delay to halting while loops 2024-06-29 18:28:58 +02:00
jgromes
cdefb0e614 Merge branch 'master' of https://github.com/jgromes/RadioLib 2024-06-19 21:08:13 +02:00
jgromes
d31d9968af [LoRaWAN] Remove pin maps from example config file (#1106) 2024-06-19 21:08:11 +02:00
jgromes
bc36c1e98a Use lgpio as the RPi HAL 2024-06-14 19:49:19 +01:00
StevenCellist
68d0e393b7
[LoRaWAN] Remove forbidden CN780 2024-06-07 10:09:59 +02:00
IoTThinks.com
38abf92aaf
[LoRaWAN] Added frequency plans AS923_2, AS923_3 and AS923_4 for Asian countries (#1116)
* Added AS923_2, AS923_3 and AS923_4
These plans are used by Asian countries such as Vietnam, Indonesia, Philippines...
2024-06-07 10:04:38 +02:00
jgromes
954477b0c0 [LoRaWAN] Remove old error code (CI_BUILD_ALL) 2024-05-28 18:25:35 +02:00
jgromes
6bd3f92cad [LR11x0] Update RF switch map for WM1110 2024-05-27 21:22:19 +02:00
jgromes
a465f64969 [LR11x0] Implemented RF switch control 2024-05-26 17:03:45 +02:00
jgromes
f78b3ccc97 [MOD] Increase maximum number of RF switch pins to 5 2024-05-26 16:36:42 +02:00
StevenCellist
fe221cf84f [LoRaWAN] Revert LW to LORAWAN 2024-05-25 13:00:02 +02:00
HeadBoffin
875da9d89d
LW examples updated for new initialisation / join sequence (#1104)
* Updated for new initalisation / join sequence

* Removed duplicate entry

* Pragmatic / conservative disabling on unknown configs with potentially wrong defines - to be investigated at a later date

---------

Co-authored-by: Nick McCloud <hiq.bitbucket@armoured.email>
2024-05-25 07:19:02 +02:00
StevenCellist
298a612699
[LoRaWAN] Change session activation (#1093)
* [LoRaWAN] Improve session restoration/activation behaviour

* [LoRaWAN] Custom return codes for session begin

* [LoRaWAN] Separate begin() and activate()

* [LoRaWAN] Fix activateABP()

* [LoRaWAN] Additional error-code

* [LoRaWAN] Fix rejoining during active session

* [LoRaWAN] Expose clearSession, drop `force`

* Update keywords...
2024-05-21 12:03:49 +02:00
jgromes
020a2ce8df [LR11x0] Do not use yield in example 2024-05-20 18:08:27 +02:00
jgromes
5e398bd868 [LR11x0] Added firmware update support 2024-05-19 14:55:11 +02:00
Alistair Francis
f12875fac5 examples/NonArduino/Tock: Update to the latest libtock-c API
Update to use the latest libtock-c functions.

Signed-off-by: Alistair Francis <alistair@alistair23.me>
2024-05-15 19:52:18 +10:00
Alistair Francis
58c8d2d1f4 examples/NonArduino/Tock: Remove libtock-c submodule
Remove the libtock-c submodule to fix https://github.com/jgromes/RadioLib/issues/1091

Signed-off-by: Alistair Francis <alistair@alistair23.me>
2024-05-13 19:45:13 +10:00
jgromes
bcd8a05cd4 [SX128x] Added interface for interrupt-driven CAD (#1085) 2024-05-05 12:42:03 +01:00
jgromes
86cdefe8a2 [LR11x0] Added support for WiFi scanning 2024-05-05 11:35:35 +02:00