Commit graph

152 commits

Author SHA1 Message Date
Mestery
ec3d4eaf20 Improve hardware abstraction layer 2023-04-12 23:16:18 +02:00
Jan Gromeš
9c019a58e7
Merge pull request #726 from Mesteery/fix-generic-build
Fix generic build
2023-04-10 17:25:40 +02:00
jgromes
cb385f5946 [SX126x] Remove standby before data read (#703) 2023-04-10 14:05:25 +02:00
Mestery
220b4dad7f
use printf in both build 2023-04-10 09:13:58 +00:00
Mestery
2a45f71384
fix undef digitalread 2023-04-10 09:13:57 +00:00
jgromes
9dde85598b [SX126x] Added IQ inversion 2023-04-08 21:44:51 +02:00
jgromes
5f0cfa9bf6 [SX126x] Improved RNG 2023-04-02 21:01:13 +02:00
jgromes
ece2621a6f [SX126x] Fixed packet length in LoRa implicit mode 2023-03-31 22:02:35 +02:00
Jan Gromeš
c2b40f088f
Merge pull request #711 from G4lile0/master
[SX1278] New getInstRSSI to get current RSSI
2023-03-27 23:28:18 +02:00
jgromes
ab9cf0d528 [SX126x] Unified getRSSI interface 2023-03-27 23:21:37 +02:00
G4lile0
50318a6c60 bool packet miss on SX126x::getRSSI 2023-03-27 21:21:45 +02:00
G4lile0
09ab5f8073 [SX127x] & [SX126x] read current RSSI for getRSSI 2023-03-27 20:51:44 +02:00
jgromes
c10343e853 [SX126x] Added spectral scan in frequency 2023-03-27 18:48:32 +02:00
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