Commit graph

1167 commits

Author SHA1 Message Date
jgromes
63287ab6fd [nRF24] Reworked macro configuration system 2023-11-27 19:40:00 +01:00
jgromes
509b8204f1 [LLCC68] Reworked macro configuration system 2023-11-27 19:39:35 +01:00
jgromes
0c436e5ed8 [CC1101] Reworked macro configuration system 2023-11-27 19:39:24 +01:00
jgromes
81c59f61ff [SX127x] Fixed copy-pasted code snippet 2023-11-21 20:48:06 +01:00
jgromes
51169106c2 [SX126x] Fixed unused variable warning 2023-11-18 16:34:48 +01:00
jgromes
455c3c8dd0 [CC1101] Fixed crash in blocking receive (#839) 2023-11-18 15:11:10 +01:00
StevenCellist
82258105b7
[LoRaWAN] Rework bands, official Rx windows, support ADR, confirm frames, improve EEPROM handling, support clock drift (#867)
* [LoRaWAN] rework bands, add ADR, partial MAC support

Known problem: terribly bad at receiving downlinks
Mask-list bands (e.g. US915) untested, likely a few bugs

* [LoRaWAN] Change Rx windows from CAD to RxSingle

* [LoRaWAN] improve persistence, better Rx windows, wear leveling, confirmed frames

* [LoRaWAN] Module-independent (OTAA) Rx windows, fix confirming downlinks

* [LoRaWAN] Implement SX127x support, fix MAC uplinking, support clock drift

* [ArduinoHal] fix clock drift calculation

* [LoRaWAN] Improve band & ADR logic, allow setting ADR, DR, subband, update examples

* [LoRaWAN] Fix EU868 coding rate, improve example

* [LoRaWAN] fix unused channel index

* [LoRaWAN] fix merge issue (deleted line)

* [LoRaWAN] fix CSMA calling now incorrect function

* [LoRaWAN] fix include logic

* [LoRaWAN] fix warnings, remove duplicate function

* [LoRaWAN] improve examples, add unified sendReceive, bugfixes, add FSK

* [LoRaWAN] improve examples

* [LoRaWAN] add new keywords, add debug guard

* [SX127x] Updated startReceive interface to be more in line with SX126x

* [SX127x] Added public method to convert from bytes to symbols

* [LoRaWAN] Update start receive for SX127x

* Added note about LoRaWAN beta

* [SX127x] Fixed potential float overflow

---------

Co-authored-by: jgromes <jan.gromes@gmail.com>
2023-11-12 14:02:39 +01:00
jgromes
d262732554 [RFM9x] Added missing alias for RFM95 2023-11-07 07:13:02 +01:00
Amalinda Gamage
aca1d78a97
added functionality for LoRa Alliance TR-13 Enabling CSMA for LoRaWAN (#859)
* added functionality for LoRa Alliance TR-13 Enabling CSMA for LoRaWAN

* Addressed feedback on CSMA implementation

* symbolNumValues[6] array no longer needed as we will utilize only two symbol CAD operations for all SFs.
2023-10-29 14:19:00 +01:00
jgromes
29c891e017 [SX126x] Fixed duplicate setPaConfig 2023-10-20 19:45:50 +02:00
jgromes
f1f3336e59 [SX126x] Make setPaConfig public (#852) 2023-10-20 19:37:44 +02:00
jgromes
46bf0445fa [SX126x] Decrease startup wait to 10 ms (#850) 2023-10-17 20:14:26 +02:00
jgromes
0d43891070 [STM32WLx] Added missing interrupt actions (#844) 2023-10-14 14:05:55 +02:00
jgromes
96f90c8ee0 [Si443x] Fixed debug float print 2023-10-14 10:27:53 +02:00
chemary
ddcce424c8
Incorrectly checking sx1280 command status (#843) 2023-10-11 07:20:11 +02:00
jgromes
49a0a1cf44 [CC1101] Added list of supported bandwidths (#842) 2023-10-09 17:40:22 +02:00
BayCom GmbH
d329c60906
[SX127x] disable syncword generation & detection, add method to set preamble polarity (#834)
* allow syncword to be disabled if length is 0

* add method to change preamble polarity in FSK mode

* add new method 'setPreamblePolarity'

* move RADIOLIB_SX127X_PREAMBLE_POLARITY_55 from ::config to ::begin & ::beginFSK

* [SX127x] Remove FSK preamble config from LoRa init method

* [SX127x] Rename preamble inversion method

---------

Co-authored-by: BayCom GmbH <software@baycom.de>
Co-authored-by: jgromes <jan.gromes@gmail.com>
2023-09-29 14:27:31 +02:00
jgromes
44bdf0dba4 [SX126x] Changed default whitening initial value for SX127x/LoRaWAN compatibility (#832) 2023-09-25 06:42:15 +02:00
jgromes
10d225fadb [SX127x] Allow alternate chip versions 2023-09-24 18:19:19 +02:00
jgromes
b65fb88526 [RFM9x] Use RFM9x only as alias for SX127x (#833) 2023-09-24 18:17:32 +02:00
jgromes
7dec9477ae [PHY] Added coding rate to data rate struct 2023-09-12 19:06:30 +02:00
jgromes
44ffce1725 [SX127x] Skip printing symbol length 2023-09-12 19:05:06 +02:00
jgromes
d0c4e3d6fb [SX126x] Skip printing symbol length 2023-09-12 19:04:26 +02:00
jgromes
eb21f320ac [SX126x] Use debug macro for hexdump 2023-09-12 17:20:27 +02:00
jgromes
d34902ee46 [SX127x] Added missing parentheses 2023-08-12 19:44:13 +02:00
jgromes
ca95135d8a [SX126x] Skip wiping IRQ flags on CAD done 2023-08-12 18:49:05 +02:00
jgromes
db3ac8bf19 [SX126x] Implemented common CAD methods 2023-08-12 18:45:42 +02:00
jgromes
ea4018d310 [SX127x] Added common CAD methods 2023-08-12 18:43:26 +02:00
jgromes
b48567722b [SX127x] Added method to get CAD result 2023-08-12 18:40:38 +02:00
jgromes
bb468ad59f [SX127x] Explicitly set non-inverted IQ on startup 2023-08-12 18:38:46 +02:00
jgromes
5d80dd46ae [SX126x] Explicitly set non-inverted IQ on startup 2023-08-12 18:38:15 +02:00
jgromes
86724197ec [SX126x] Added default channel scan override 2023-08-06 16:07:28 +02:00
jgromes
f589d77e09 [SX127x] Override default channel scan method 2023-08-06 16:06:15 +02:00
jgromes
68c5edd7c2 [SX127x] Add delay before IRQ clearing (#808) 2023-08-06 09:31:39 +02:00
fraboe
f81f37cf43 Fixed wrong register definition for RADIOLIB_RF69_SEQUENCER_OFF and RADIOLIB_RF69_SEQUENCER_ON 2023-08-05 08:55:50 +02:00
jgromes
6247cb7e85 [CC1101] Fixed garbage data (#733) 2023-08-02 22:08:52 +02:00
jgromes
72b95e5c82 [CC1101] Decreased default Rx bandwidth 2023-08-02 22:04:20 +02:00
jgromes
76ac7d3dad [STM32WL] Fixed output power for modules without LP (#798) 2023-07-16 15:50:26 +02:00
jgromes
d1e3691c32 Added notes about getPacketLength (#214) 2023-07-15 19:40:07 +02:00
jgromes
8fd0a67a78 Typo fixes 2023-07-15 19:13:16 +02:00
jgromes
d5ce384bda [SX127x] Implemented new common PHY methods 2023-07-06 11:17:29 +02:00
jgromes
d561d41e95 [SX126x] Implemented new common PHY methods 2023-07-06 11:14:44 +02:00
jgromes
bea5e70d0a [LLCC68] Changed default crystal to XTAL (#784) 2023-07-01 09:03:42 +02:00
jgromes
ac15b9ae7d [SX126x] Added comments about TCXO/XTAL (#784) 2023-07-01 09:02:43 +02:00
jgromes
3359907fa5 [SX128x] Fixed getStatus (#779) 2023-06-27 17:35:50 +02:00
Alistair Francis
445bc01450 modules: Don't read excess status data
The SX126x get status command returns a single status byte. The status
byte is automatically read in the `Module::SPItransferStream()` function
when we increment buffLen (see
https://github.com/jgromes/RadioLib/blob/master/src/Module.cpp#L259).

By setting numBytes we incorrectly end up reading 2 bytes. Instead set
numBytes to zero so we only read the single status byte.

Signed-off-by: Alistair Francis <alistair@alistair23.me>
2023-06-27 21:29:02 +10:00
jgromes
a01b02fae2 [MOD] Rework for buffered SPI (#776) 2023-06-26 19:36:45 +02:00
jgromes
8acaca4884 [SX127x] Swap Tx IQ inversion (#778) 2023-06-25 09:33:17 +02:00
jgromes
4975828d03 [SX126x] Fixed debug print format 2023-06-24 22:22:56 +02:00
jgromes
36530b00fc [SX128x] Fixed blocking receive 2023-06-24 19:23:26 +02:00