Commit graph

139 commits

Author SHA1 Message Date
jgromes
9dd401e4a1 [SX126x] Added PHY startReceive (#700) 2023-03-26 22:19:53 +02:00
jgromes
9dae818033 [SX126x] Explicitly enabled CRC (#706) 2023-03-23 19:07:04 +01:00
jgromes
48d49aabba Merge branch 'master' of https://github.com/jgromes/RadioLib 2023-03-22 22:13:32 +01:00
jgromes
8bbcc908f5 [SX126x] Fixed frequency error calculation (#706) 2023-03-22 22:12:28 +01:00
Davide Lasagna
b7e12f5c71 fix for #705 2023-03-21 19:56:21 +00:00
jgromes
cd4575ebb0 [SX126x] Fixed chip id (#707) 2023-03-21 18:18:17 +01:00
jgromes
dc2eb523a9 [SX126x] Cleanup whitespaces 2023-03-20 21:59:07 +01:00
jgromes
cfe6128656 [SX126x] Added frequency error reading 2023-03-18 10:56:00 +01:00
jgromes
0818230a7c [SX126x] Fixed incorrect variable names 2023-03-11 20:57:32 +01:00
jgromes
97ab0d357a [SX126x] Added spectral scan 2023-03-11 20:09:03 +01:00
jgromes
ed4fc84a70 [SX126x] Fixed calibration order (#689) (CI_BUILD_ALL) 2023-03-05 19:30:20 +01:00
jgromes
823c0ff82c [SX126x] Added missing XTAL check 2023-03-05 19:28:21 +01:00
jgromes
007d9ac2cb [SX126x] Set SX1262 to accept SX1261 device string (#683) 2023-03-05 16:42:48 +01:00
jgromes
7a8cadc639 [SX126x] Added more verbose calibration result check (#689) 2023-03-05 16:40:45 +01:00
jgromes
721962cacd [SX126x] Fixed bug in getDeviceErrors 2023-03-05 16:39:50 +01:00
jgromes
8bf15941c7 [SX126x] Added option to control XTAL/TCXO via member variable 2023-03-05 16:38:28 +01:00
GUVWAF
f59bf4750c [SX126x] Add irqFlags and irqMask parameters to receive methods 2023-02-26 13:33:30 +01:00
jgromes
bd258380c8 [SX126x] Implemeted device type string check 2023-02-25 13:16:21 +01:00
jgromes
02d6062f09 [SX126x] Fixed forgotten SPI write command 2023-02-19 17:11:36 +01:00
jgromes
95083e32b1 [SX126x] Use module stream read/write 2023-02-19 17:02:51 +01:00
jgromes
299e5de3c4 [SX126x] Use Module SPI tream 2023-02-19 16:16:16 +01:00
jgromes
dc050df8d9 [SX126x] Added support for AFSK transmission 2023-02-11 14:11:44 +01:00
Andrew Moroz
5f3fb5fa0d sx126x-rx-gain-persist: add ability to persist Rx gain setting when calling SX126x::setRxBoostedGainMode 2023-01-28 18:09:39 -05:00
Andrew Moroz
35ed685c8a andrew-moroz/sx126x-rx-boosted-gain: Add method to support SX126x Rx Boosted Gain mode 2023-01-16 16:37:14 -05:00
Matthijs Kooijman
cd138dd6c7 [STM32WLx] Apply PA clamp workaround for HP only
This modifies SX1262::begin and beginFSK to call setOutputPower after
applying the workaround, so that can undo the workaround if needed.
2023-01-10 18:09:55 +01:00
Matthijs Kooijman
da6c3f6a6b [SX126x] Allow subclasses to change the TX mode used
This prepares for adding a STM32WLx subclass later.
2023-01-09 10:26:28 +01:00
Matthijs Kooijman
52ec165643 Update radios to use new setRfSwitchState
This removes the compatibility wrapper and applies the following
replacements:

    sed -i 's/setRfSwitchState(LOW, LOW)/setRfSwitchState(Module::MODE_IDLE)/' src/modules/*/*.cpp
    sed -i 's/setRfSwitchState(HIGH, LOW)/setRfSwitchState(Module::MODE_RX)/' src/modules/*/*.cpp
    sed -i 's/setRfSwitchState(LOW, HIGH)/setRfSwitchState(Module::MODE_TX)/' src/modules/*/*.cpp
2023-01-09 10:26:28 +01:00
Matthijs Kooijman
3779faf600 Add setRfSwitchTable() wrapper methods
This gives all radios that use an rfswitch (i.e. have
a setRfSwitchPins() wrapper already) a wrapper method for
setRfSwitchTable() too. This wrapper just calls the same method on
Module, to make it easier for sketches to use it.
2023-01-09 10:26:27 +01:00
Matthijs Kooijman
dfbe6934bb [SX126x] Set DIO2 to RF switch by default for FSK too
In commit a1f94d9f ([SX126x] Set DIO2 to RF switch by default), this was
changed for LoRa modulation in begin(), but since this is really
a board-specific attribute, independent of the modulation used, there is
no reason to have a different default for FSK (so this was probably just
forgotten).
2022-12-20 23:33:02 +01:00
jgromes
f942ccaec7 [SX126x] Added option to specify custom CAD parameters 2022-11-18 13:39:51 +01:00
jgromes
e02b3f2ce0 [SX126x] Added missing Rx write arguments 2022-11-18 11:35:32 +01:00
Amalinda Gamage
a7e56800a8
Update SX126x.cpp 2022-11-18 16:08:57 +08:00
jgromes
b11deda33d [SX126x] Removed slowdown macro (#158) 2022-11-13 22:12:04 +01:00
jgromes
0b1a421863 [SX126x] Fixed receive always failing after timeout 2022-10-06 19:30:13 +02:00
jgromes
170ce9752b [SX126x] Skip SPI verification during block calibration (#583) 2022-10-04 18:19:54 +02:00
jgromes
1382e56508 [SX126x] Removed extra newline (CI_BUILD_ALL) 2022-10-02 00:02:17 +02:00
jgromes
e31bcd315b [SX126x] Fixed RTC control register address (#575) 2022-10-01 22:46:50 +02:00
jgromes
3bdc8963a4 [SX126x] Added post-transaction error checking (#575) 2022-10-01 22:46:17 +02:00
jgromes
0ae6eae4d9 [SX126x] Added finishTransmit 2022-09-18 16:12:53 +02:00
jgromes
da0993a6ed Added RADIOLIB_EXCLUDE_DIRECT_RECEIVE exclusion macro (#557) 2022-08-15 19:19:59 +02:00
jgromes
05a4cf1ef1 [SX126x] Added LR-FHSS registers 2022-06-05 11:15:54 +02:00
jgromes
57dcf48f6b [SX126x] Fixed swapped IQ inversion fix branches (#516) 2022-05-03 18:46:56 +02:00
jgromes
7f09fc430a [SX126x] Enable timeout to generate IRQ event 2022-04-09 19:58:29 +02:00
jgromes
4f19d97f42 [SX126x] Set initial BW to 500 kHz for LLCC68 (#502) 2022-03-27 17:38:22 +02:00
jgromes
cc9d7b7220 [SX126x] Moved SF and BW out of common part 2021-12-20 18:11:52 +01:00
jgromes
f3de4602e6 [SX126x] Fixed known binary receive length 2021-11-21 21:16:58 +01:00
jgromes
6f744a8f13 [SX126x] Update to 5.0.0 2021-11-14 11:41:53 +01:00
jgromes
3a8360c361 [SX126x] Added interrupt-driven CAD 2021-10-28 15:44:44 +02:00
jgromes
caf34534d3 [SX126x] Renamed TRNG method 2021-07-18 10:18:18 +02:00
jgromes
450a46af84 [SX126x] Fixed warnings 2021-06-14 21:20:21 +02:00