jgromes
9fb427d041
[SX128x] Fix unspecified integer width in ranging calculation
2024-09-10 19:21:05 +02: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
Jorropo
951bfc0625
fix getRangingResult to properly account for signed numbers
...
I got numbers like this as I approached the slave (raw values before converting to meters):
```
Ranged: 8
Ranged: 6
Ranged: 3
Ranged: 3
Ranged: 5
Ranged: 5
Ranged: 5
Ranged: 6
Ranged: 1
Ranged: 1
Ranged: 800000
Ranged: 800003
Ranged: 800003
```
This is because the ToF becomes smaller than the correction factor resulting in a negative number.
This patch performs Sign Extension from 24bits to 32bits.
This result in returning a negative meter value which makes more sense than an impossibly big one.
2024-09-07 06:25:32 +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
b401d11127
[SX128x] Implement generalized IRQ checks
2024-08-16 00:05:06 +02:00
StevenCellist
08f92cdd29
[SX127x] Generalize IRQ checks
2024-08-16 00:04:52 +02:00
StevenCellist
3a73ed8c1f
[SX126x] Generalize IRQ checks
2024-08-16 00:04:42 +02:00
StevenCellist
0eb987a83c
[LR11x0] Generalize IRQ checks
2024-08-16 00:04:34 +02:00
GUVWAF
ddaf1ffd52
[SX128x] Remove unnecessary (void)update;
2024-08-10 18:40:19 +02:00
GUVWAF
8b5d705174
[SX126x] Remove unnecessary (void)update;
2024-08-10 18:40:09 +02:00
GUVWAF
5f6f6f9a3c
[SX128x] Start reading from Rx buffer offset
2024-08-10 12:56:12 +02:00
GUVWAF
0620d8edda
[SX126x] Start reading from Rx buffer offset
...
Remove setting RxBaseAddr to 0
2024-08-10 12:56:12 +02:00
Maik Menz
701c6f8e46
SX127x: Set FIFO read pointer to the start of the current packet
2024-08-09 19:19:33 +02:00
jgromes
908e297d60
[LR11x0] Added register to set LNA mode
2024-08-05 21:03:39 +02:00
jgromes
7c3ed88c0d
[SX126x] Clarify DIO3 for AFSK-based examples
2024-07-20 16:41:13 +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
Jan Gromeš
aa0c017134
Merge pull request #1167 from kb9nate/patch-2
...
Update SX1278.cpp Turn on LnaBoost even in AutoAGC mode
2024-07-18 16:46:52 +02:00
Nate Welch
3985c2edc4
Update SX1278.cpp Turn on LnaBoost even in AutoAGC mode
...
LnaBoost can still be enabled when the gain is not manually set.
The Receiver Sensitivity ratings in the SX1276/7/8 datasheet are specified with the LnaBoost enabled.
I tested this on a few boards here and on average get a 3dB increase in signal strength. This is comparable to the SX1262 "Boosted Gain" setting
2024-07-18 09:20:59 -05:00
Nate Welch
ceba2d9b3b
Update SX1278.cpp to fix errataFix typo
...
The binary representations that were being written to register 0x31 were not setting the correct bit. In particular for the 500kHz bandwidth setting. Changed from 0b1000000 to 0b10000000
2024-07-18 08:45:29 -05: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
Jan Gromeš
5185443d6e
Merge pull request #1155 from SebKuzminsky/fix-clear-fhss-interrupt-6.6.0
...
[SX127x] When clearing the FHSS interrupt, don't also clear all the others
2024-07-09 20:14:19 +02:00
Sebastian Kuzminsky
a9bd1bffe8
[SX127x] When clearing the FHSS interrupt, don't also clear all the others
2024-07-08 15:36:39 -06:00
Oliver
61a4cae935
Method SetBitrateTolerance added for CC1101, Updated error handling ( #1152 )
...
* Update TypeDef.h
* Update CC1101.h
* Update CC1101.cpp
* Update CC1101.cpp
Update of error handling
2024-07-08 22:37:09 +02:00
Linar Yusupov
edae29e1e9
[LR11x0] use the same irq mask for both DIO9 and DIO11
2024-07-01 21:29:12 +03:00
jgromes
ce8e6fdfb0
[SX126x] Added missing PHY getRSSI ( #1132 )
2024-06-25 16:56:26 +01: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
Jack Hance
a8b6c38488
[CC1101] Fix getRSSI data source ( #1121 )
...
* [CC1101] Fix getRSSI data source
* [CC1101] Fix packet mode not resetting directModeEnabled bool
2024-06-12 17:46:10 +02:00
jgromes
e855636384
[LR11x0] Added missing macros
2024-06-09 10:27:39 +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
3af427fefb
[SX126x] Fix duplicate method
2024-05-26 16:43:54 +02:00
jgromes
852d336c50
[SX126x] Added getMod implementation
2024-05-26 16:32:51 +02:00
jgromes
c3e99c8698
[LR11x0] Make regulator mode and Rx gain config public ( #1108 )
2024-05-26 14:11:05 +02:00
jgromes
45d3aac0d9
[CC1101] Fixed signed comparison warning
2024-05-26 08:55:38 +02:00
jgromes
6c11480416
[LR11x0] Cppcheck cleanup
2024-05-26 08:49:02 +02:00
jgromes
16710d4dae
[SX128x] Added missing override
2024-05-26 08:45:42 +02:00
jgromes
195339a0c7
[LR11x0] Added missing override
2024-05-26 08:44:42 +02:00
jgromes
77bc8fb33e
[SX126x] Added missing override
2024-05-26 08:44:12 +02:00
jgromes
214a566d9a
[CC1101] Make frequency range check bounds inclusive
2024-05-26 08:43:02 +02:00