Commit graph

64 commits

Author SHA1 Message Date
jgromes
45c5859338 [SX128x] Fixed packet length in implicit mode (#716) 2023-03-31 22:02:58 +02:00
jgromes
ee7c1e7604 [SX128x] Added PHY startReceive (#700) 2023-03-26 22:20:19 +02:00
Davide Lasagna
b7e12f5c71 fix for #705 2023-03-21 19:56:21 +00:00
GUVWAF
edc8877adb [SX128x] Add irqFlags and irqMask to startReceive 2023-02-26 13:34:22 +01:00
jgromes
60bd3d6440 [SX128x] Use Module stream read/write 2023-02-19 17:07:00 +01:00
jgromes
7d286e32bc [SX128x] Use Module SPI stream 2023-02-19 16:23:08 +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
90b28d7722 Remove duplicated setRfSwitchPins documentation
All radios that support RfSwitch define this method that simply forwards
to the `Module::setRfSwitchPins()` method. Previously, all these methods
duplicated the documentation as well, but this uses the doxygen \copydoc
to remove this duplication.
2023-01-09 09:46:31 +01:00
jgromes
a0884bf120 [SX128x] Added option to set custom ranging calibration (#293) 2023-01-01 18:31:03 +01:00
jgromes
088207df4c [SX1280] Only check ranging address on slave 2023-01-01 18:03:48 +01:00
Matthijs Kooijman
47163f4398 [SX126x] Make begin parameter docs consistent
This:
 - Updates syncWord comments after changing it from uint16_t to uint8_t
   in commit 55aff74a ([SX126x] Changed pin mapping, added reset,
   changed LoRa sync word to 1B).
 - Adds missing useRegulatorLDO comments forgoten in commit ea85a663
   ([SX126x] Pass useRegulatorLDO to SX1262/SX1261/SX1268).
 - Makes useRegulatorLDO comments the same in all places (using the more
   explicit version).
 - Fixes a typo in the doxygen \parma -> \param command.
2022-12-20 23:33:02 +01:00
Thomas Göttgens
0aa59f6abc Fix coding style 2022-12-06 07:53:14 +01:00
Thomas Göttgens
08de95e15e Access getIrqStatus() without Godmode and change the flag setting like SX126x handles it. 2022-12-05 11:17:59 +01:00
jgromes
4667c26448 [SX128x] Removed slowdown macro (#158) 2022-11-13 22:12:34 +01:00
jgromes
fc3a85abf9 [SX128x] Added post-transaction error checking 2022-10-01 22:54:36 +02:00
jgromes
e5fe82f334 [SX128x] Fixed setBitRate compatibility with PhysicalLayer 2022-10-01 15:16:01 +02:00
jgromes
0b5cd51828 [SX128x] Added finishTransmit 2022-09-18 16:15:07 +02:00
jgromes
da0993a6ed Added RADIOLIB_EXCLUDE_DIRECT_RECEIVE exclusion macro (#557) 2022-08-15 19:19:59 +02:00
jgromes
64817ed4be [SX128x] Minor formatting update 2022-02-28 18:47:55 +01:00
Robert
89f202ce6a Changed method to return float instead of double. All calculations within the method also use float instead of double. Results of the method do not seem to be effected. 2022-02-26 18:44:05 -05:00
Robert
ff43d95afa Cleaned up formatting in header. Changed assigned value to set only the bit indicated in the documentation. 2022-02-24 00:29:51 -05:00
Robert
da0cd455c9 Add method to support SX128x Manual Gain Mode. 2022-02-23 23:58:56 -05:00
Robert
89de031e18 Add method to support SX128x High Sensitivity Mode. 2022-02-23 23:51:54 -05:00
Robert
01fc7fb844 Add method to support SX128x Frequency Error of last received LoRa or Ranging packet. Updated SX128x receive examples. 2022-02-23 11:41:29 -05:00
jgromes
c2cfe597cc [SX128x] Fixed known binary receive length 2021-11-21 21:16:45 +01:00
jgromes
1126e64587 [SX128x] Update to 5.0.0 2021-11-14 11:42:36 +01:00
jgromes
3734f23270 [SX128x] Renamed TRNG method 2021-07-18 10:18:03 +02:00
jgromes
b595d14ad7 [SX128x] Fixed warnings 2021-06-14 21:20:16 +02:00
jgromes
83121c1518 [SX128x] Fixed class name 2021-06-14 21:17:37 +02:00
jgromes
48a80b22f5 [SX128x] Added direct reception dummies 2021-06-14 21:15:18 +02:00
jgromes
8be419f007 [SX128x] Added support for changing LoRa sync word (#311) 2021-06-13 14:44:52 +02:00
jgromes
0abfb5fe1b [SX128x] Clean up register map 2021-06-13 14:44:29 +02:00
jgromes
9ac6503bff [SX128x] Fixed ranging calibration table indexing (#293) 2021-05-07 07:28:01 +02:00
jgromes
333aa433d9 [SX128x] Implemented ranging fixes from #293 2021-05-05 20:34:59 +02:00
jgromes
4949827f50 [SX128x] Replace abs() with fabs() 2021-05-04 09:20:46 +02:00
jgromes
a32950c788 [SX128x] Added ranging calibration and missing readout steps (#293) 2021-04-26 18:26:44 +02:00
jgromes
e9f1f940a2 [SX128x] Added low-level access macro 2021-03-13 19:57:44 +01:00
jgromes
f4b2b6d257 [SX128x] Added -1 as alias for lowest supported frequency deviation 2021-02-13 17:42:00 +01:00
jgromes
b24a523c37 [SX128x] Simplify SPI slowdown 2021-02-05 23:25:07 +01:00
jgromes
721645d384 [SX128x] Update markers for debug decoder 2020-12-05 12:05:49 +01:00
jgromes
3cc55806cf [SX128x] Added TRNG support 2020-09-13 17:53:07 +02:00
jgromes
2aeffd914f [SX128x] Added Module overrides for all Arduino core functions 2020-08-01 16:34:44 +02:00
jgromes
a1583487b0 [SX128x] Added Doxygen TODOs 2020-07-10 08:51:23 +02:00
jgromes
4d00170612 [SX128x] Synced parameters of all FSK modules 2020-07-06 11:14:21 +02:00
jgromes
be346eb6aa [SX128x] Changed shaping datatype to uint8_t 2020-07-06 08:53:12 +02:00
jgromes
96f4bd667e [SX128x] Fixed exclusion macros 2020-07-04 21:18:13 +02:00
jgromes
b642fd1a8d [SX128x] Fixes from cppcheck scan 2020-07-04 14:54:01 +02:00
jgromes
515551e7bc [SX128x] Reworked driver exclusion 2020-06-30 10:44:08 +02:00
jgromes
6bdef76031 [SX128x] Added SPI delay for SAMD cores 2020-06-20 21:09:12 +02:00