Commit graph

3112 commits

Author SHA1 Message Date
jgromes
f23f798fe0 [SX126x] Configure preamble detector length based on preamble 2024-10-26 18:13:02 +01:00
jgromes
709fbdb13a [LR11x0] Prevent WiFi scanning attempts on LR1121 (#1290) 2024-10-26 17:07:37 +01:00
jgromes
b12f7052bf [CI] Drop Sparkfun Artemis from build matrix due to lonmg build time 2024-10-26 16:59:46 +01:00
jgromes
3952fe9139 Use pointer assert 2024-10-26 16:59:13 +01:00
jgromes
6b05e9fd23 Added pointer assert 2024-10-26 16:57:43 +01:00
Jan Gromeš
e44e9b4bce
[PHY] Get/Set modem (#1294)
* [PHY] Added set modem method

* Added new keyword

* [SX126x] Added setModem implementation

* [LoRaWAN] Use setModem

* [PHY] Added getModem

* [LoRaWAN] Use getModem instead of caching modulation

* [SX126x] Implement getModem

* Added new keywords

* [LR11x0] Added get/set modem

* [LLCC68] Added get/set modem

* [SX126x] Added missing default branch

* [SX127x] Added get/set modem

* [SX128x] Added get/set modem

* [CI] Drop Hellschreiber from AVR builds

* [CI] Drop Arduino Uno from CI
2024-10-26 17:49:35 +02:00
jgromes
64253f6e36 [HAL] Prevent reinit in PiHal 2024-10-25 17:54:55 +01:00
jgromes
fada24c1c4 [APRS] Added repeaters (#1285) 2024-10-23 18:06:35 +01:00
Linar Yusupov
434afa52f2
[LR11X0] FSK preamble detector length configuration (#1286)
* [LR11X0] pay more attention to selection of FSK preamble detector length
2024-10-23 18:04:29 +02:00
jgromes
8bc4b9a330 [CC1101] Fix direct reception (#1257) 2024-10-22 20:38:20 +02:00
StevenCellist
61494b8270 [LoRaWAN] Fix #1284 (max length) and channel struct for fixed bands 2024-10-22 20:21:52 +02:00
StevenCellist
33ab117c6d [LoRaWAN] Fix incorrect payload size values 2024-10-22 19:15:33 +02:00
StevenCellist
d407908269 [Utils] Fix missing include 2024-10-22 19:00:31 +02: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
a525d457ef Move RadioShield and CubeCell pin definition to RadioBoards 2024-10-20 16:20:49 +01:00
jgromes
2aa8c6e82a Update all examples, add link to RadioBoards 2024-10-20 16:02:19 +01:00
jgromes
afdf3783c3 [Utils] Drop redundant include 2024-10-20 14:39:33 +01:00
jgromes
cc720a7a24 [SX127x] Added reset to home channel to FHSS examples (#1266) 2024-10-20 14:25:27 +01:00
jgromes
4a155b1922 [Utils] Move generally useful methods to utils 2024-10-20 14:22:23 +01:00
jgromes
0f2f5fdf4a [FEC] Fix some typos 2024-10-19 09:19:37 +02: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
jgromes
56ae9ad76b [SX126x] Fix second call to startReceive breaking reception (#1272) 2024-10-14 16:37:19 +01:00
StevenCellist
94d5d59d80 Merge branch 'master' of https://github.com/jgromes/RadioLib 2024-10-14 12:29:50 +02:00
StevenCellist
3633391442 [LoRaWAN] Fix missing us-to-ms divisor 2024-10-14 12:29:42 +02:00
jgromes
16504803d1 [SX127x] Fix FSK address handling 2024-10-12 14:15:23 +01:00
jgromes
e9b6e27739 [SX126x] Fix FSK addresses on transmission (#1268) 2024-10-12 14:15:05 +01:00
StevenCellist
1ca12abc88
Merge pull request #1267 from PCo-IoT-2024/Feature_isFrmPending
[LoRaWAN] Add `frmPending` field in `LoRaWANEvent_t`
2024-10-11 22:15:41 +02:00
Volker Christian
d9ea40032f [LoRaWAN] Just for convenience: Add a frmPending field in 2024-10-11 21:07:07 +02:00
StevenCellist
aecef28380 [LoRaWAN] Move templates to .h to prevent linker errors 2024-10-10 15:33:19 +02:00
Volker Christian
a7feeee1e0
[SX1276, LoRaWAN] Fix confusing return value in LoRaWAN::processJoinAccept (#1262)
The error RADIOLIB_ERR_LORA_HEADER_DAMAGED board returned fromreadData(...)
and signaled from a SX1276 is in fact correctly ignored but the state
variable is not corrected.

This confuses the caller due to the wrongly returned state value
RADIOLIB_ERR_LORA_HEADER_DAMAGED.

Change: Clear state also.
2024-10-09 20:32:50 +02:00
StevenCellist
bce4d91715 [LoRaWAN] Fix type format 2024-10-07 23:29:14 +02:00
StevenCellist
9db98f2ab4 [LoRaWAN] Collection of fixes (also fixes #1254) 2024-10-07 23:17:41 +02: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
jgromes
1f11cd1dd5 [LR1110] Added configurable LR-FHSS grid spacing 2024-10-06 10:13:56 +02:00
jacobeva
6e66570241
[SX128x] Add setDataRate method for LoRa modem (#1251) 2024-10-02 20:05:21 +02:00
jacobeva
46a086cfa8
[SX128x] Save context before sleep to allow TX to work on wake (#1249) (#1250) 2024-10-02 17:59:25 +02:00
jgromes
406daee262 Bump version to 7.0.2 2024-09-30 18:11:11 +02:00
jgromes
fdb3ac46ca [SX128x] Fix preamble length calculation (#1243) 2024-09-30 18:10:18 +02:00
Thomas Göttgens
5a9ff5a491
[SX1227x] fix DIO register mapping (#1246) 2024-09-30 16:17:00 +02:00
jgromes
505c0f7910 [CI] Free up some runner disk space (CI_BUILD_ALL) 2024-09-29 16:54:22 +02:00
jgromes
8a83df6ad4 Bump version to 7.0.1 2024-09-29 15:22:40 +02:00
jgromes
38fc7a97a4 [SX127x] Handle multiple IRQ flags (#1190) 2024-09-28 13:29:41 +02:00
StevenCellist
5d076f616a [LoRaWAN] Fix channel mask persistence (#1238) 2024-09-28 12:17:41 +02:00
GUVWAF
98ad30eb10
[LR11x0] Fix CAD IRQ setting (#1240) 2024-09-27 20:30:42 +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
Thomas Göttgens
42ae7c92ed
[LR112x] enabled higher bandwidth settings for 2.4G lora (#1235)
* enabled higher bandwidth settings for 2.4G lora

* document new parameters

* use the same cutoff as this->highFreq
2024-09-27 07:03:40 +02:00
GUVWAF
56bf7c87c3
[LR11x0] Implement automatic and forced LDRO (#1237) 2024-09-26 21:13:08 +02:00
GUVWAF
ce673b2939
[SX127x] Fix missing CRC mismatch error (#1236) 2024-09-26 20:57:26 +02:00
mixeysan
a68df0f515
[LR11x0] Fix temperature reading (#1234)
* Update LR11x0.cpp

According LR1121 datasheet

* Update LR11x0.cpp

Now OK

* Update LR11x0.cpp

Now OK
2024-09-26 12:55:55 +02:00