Commit graph

74 commits

Author SHA1 Message Date
jgromes
78e2991459 [LR11x0] Use public frequency step and max packet length variables 2025-02-15 14:48:16 +01:00
Jan Gromeš
2550fae4cb
[PHY] Staged modes (#1414)
* [PHY] Add PHY support for staged modes

* [SX126x] Add support for staged Rx/Tx

* [PHY] Add missing virtual specifiers

* [SX126x] Add missing overrides

* [LoRaWAN] Use new stageMode and launchMode, reduce scanGuard

* [LoRaWAN] A-synchronize transmissions (#1410)

* [PHY] Pass mode config by reference

* [PHY] Add default implementation of start transmit/receive

* [SX126x] Implement staged modes

* [SX128x] Implement staged modes

* [SX127x] Implement staged modes

* [LR11x0] Implement staged modes

* [SX127x] Remove unused method from header

* [SX126x] Make array const

* Add new methods to keywords

---------

Co-authored-by: StevenCellist <steven@boonstoppel.nu>
2025-02-05 20:41:43 +01:00
jgromes
77dad34c05 [LR11x0] Cppcheck fixes 2025-01-18 15:21:40 +01:00
Matej Frančeškin
f3276c2e66 fix implicit conversion from float to double warnings 2025-01-15 16:06:47 +01:00
jgromes
92c08c1ebf [LR11x0] Added explicit typecast 2025-01-05 17:46:30 +01:00
jgromes
9bff1582bd [LR11x0] Use dummy SPI transfer for wakeup 2024-12-27 16:25:52 +00:00
jgromes
ef16e431af [LR11x0] Disable DIO11 for GNSS only (#1275) 2024-11-21 20:09:05 +01:00
jgromes
4564d87721 [PHY] Use less generic modem names (#1294) 2024-10-29 17:14:04 +00:00
jgromes
8f3a5c7430 [LR11x0] Use array as LR-FHSS sync word 2024-10-28 18:52:07 +00:00
jgromes
f8b66b1cb5 [LR11x0] Added setDatarate for LR-FHSS 2024-10-28 14:04:48 +01:00
jgromes
9f4d4ea15e [LR11x0] Fix RF swtich table handling (#1295) 2024-10-27 19:24:11 +00:00
jgromes
28360f9b0f [LR11x0] Calibrate image based on frequency change 2024-10-27 07:39:46 +00:00
jgromes
709fbdb13a [LR11x0] Prevent WiFi scanning attempts on LR1121 (#1290) 2024-10-26 17:07:37 +01:00
jgromes
3952fe9139 Use pointer assert 2024-10-26 16:59:13 +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
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
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
4a155b1922 [Utils] Move generally useful methods to utils 2024-10-20 14:22:23 +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
1f11cd1dd5 [LR1110] Added configurable LR-FHSS grid spacing 2024-10-06 10:13:56 +02:00
GUVWAF
98ad30eb10
[LR11x0] Fix CAD IRQ setting (#1240) 2024-09-27 20:30:42 +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
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
jgromes
07bcf386f5 [LR11x0] LR-FHSS reception is not supported 2024-09-22 18:31:58 +01:00
jgromes
adb5018b72 [LR11x0] Fix shadowed variable 2024-09-22 18:17:29 +01:00
jgromes
c4a129ed74 [PHY] Pass scan config by reference 2024-09-10 19:18:56 +02:00
jgromes
3696672f6f [LR11x0] Remove WIP GNSS functionality (moved to branch) 2024-09-10 18:58:46 +02:00
jgromes
44d2ba8487 [LR11x0] GNSS low level command fixes 2024-09-10 07:17:50 +02:00
jgromes
3115fc2d67 [LR11x0] Fix IRQ masking 2024-09-03 19:06:57 +02:00
jgromes
e0af297c76 [LR1110] Fix default startReceive flags 2024-09-03 18:22:43 +02:00
GUVWAF
eda4ec22ae
[SX126x][SX128x][LR11x0] Don't report CRC mismatch if valid header received (#1203)
* Enable `HEADER_VALID` IRQ flags by default for receiving

* [SX126x] Don't report CRC mismatch if valid header received

* [SX128x] Don't report CRC mismatch if valid header received

* [LR11x0] Don't report CRC mismatch if valid header received
2024-09-01 20:48:17 +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
Pavlo Manovi
6847fcda5c Reconcile implicit double / float promotion with math functions and passed function value types. Also suppress incorrect unused variable warnings when variables are used in logging macros. 2024-08-29 09:30:31 -04:00
StevenCellist
0bc0e3d9c8 [PHY, modules, LoRaWAN] Integrate feedback 2024-08-17 22:03:48 +02:00
StevenCellist
0eb987a83c [LR11x0] Generalize IRQ checks 2024-08-16 00:04:34 +02:00
jgromes
737e948efc [LR11x0] Fix printf types 2024-07-18 17:32:46 +02:00
jgromes
0a77cae0de [LR11x0] Remove debug hexdump 2024-07-18 17:25:53 +02:00
jgromes
15b8489f1d [LR11x0] Cleanup, mark GNSS methods as work-in-progress 2024-07-18 17:16:53 +02:00
jgromes
858bf6409e [LR11x0] Fix SNR calculation (#1161) 2024-07-16 21:10:47 +02:00
jgromes
fffb1fae9f [PHY] Make transmit data const (#1156) 2024-07-13 16:42:46 +01:00
Linar Yusupov
edae29e1e9 [LR11x0] use the same irq mask for both DIO9 and DIO11 2024-07-01 21:29:12 +03:00
jgromes
e406c550b8 [LR11x0] Fix output power configuration at S-band (#1128) 2024-06-21 17:53:11 +02:00
jgromes
87fac1797e [LR11x0] Do not read out GNSS and WiFi versions on LR1121 (#1128) 2024-06-21 17:04:46 +02:00
jgromes
81b9e6cd53 [LR11x0] Fix LR-FHSS time on air calculation (#1117) 2024-06-09 10:22:21 +02:00
jgromes
a465f64969 [LR11x0] Implemented RF switch control 2024-05-26 17:03:45 +02:00
jgromes
c3e99c8698 [LR11x0] Make regulator mode and Rx gain config public (#1108) 2024-05-26 14:11:05 +02:00
jgromes
6c11480416 [LR11x0] Cppcheck cleanup 2024-05-26 08:49:02 +02:00
jgromes
534a2f2d62 [LR11x0] Fix struct initialization 2024-05-19 19:09:04 +02:00
jgromes
5e398bd868 [LR11x0] Added firmware update support 2024-05-19 14:55:11 +02:00