Commit graph

242 commits

Author SHA1 Message Date
jgromes
88f26c4aab [SX126x] Use millis for timeouts (#1013) 2024-03-29 08:36:51 +01:00
jgromes
9fd7db4d13 [SX126x] Fix rx/tx fallback mode (#1008) 2024-03-13 07:00:20 +01:00
jgromes
b288485d6c [SX126x] Added option to select standby mode (#1008) 2024-03-12 21:52:17 +01:00
jgromes
4ee17cc168 Debugging rework 2024-03-10 11:07:23 +01:00
jgromes
118980fd27 [SX126x] Fixed data rate checking (#948) 2024-01-28 13:28:48 +01:00
jgromes
a642f5a8df [SX126x] Implemented data rate check 2024-01-27 18:46:22 +01:00
jgromes
ea66037c11 [STM32WL] Fix Module pinter (CI_BUILD_ALL) 2024-01-14 16:48:32 +01:00
jgromes
d301aa6a37 [SX126x] Fix txMode made private 2024-01-14 16:48:06 +01:00
jgromes
34d80faaf0 [SX126x] Cleanup private/protected members 2024-01-12 20:00:08 +01:00
jgromes
bf061c655f [SX126x] Allow custom band calibration 2024-01-04 18:30:22 +01:00
jgromes
19b61739e6 [SX126x] Fixed image calibration 2024-01-04 18:23:36 +01:00
jgromes
3478d90819 [SX126x] Improved image calibration 2024-01-04 18:21:35 +01:00
jgromes
49feff6df2 [SX126x] Reworked macro configuration system 2023-11-27 19:43:01 +01:00
jgromes
51169106c2 [SX126x] Fixed unused variable warning 2023-11-18 16:34:48 +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
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
44bdf0dba4 [SX126x] Changed default whitening initial value for SX127x/LoRaWAN compatibility (#832) 2023-09-25 06:42:15 +02:00
jgromes
7dec9477ae [PHY] Added coding rate to data rate struct 2023-09-12 19:06:30 +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
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
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
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
d561d41e95 [SX126x] Implemented new common PHY methods 2023-07-06 11:14:44 +02:00
jgromes
ac15b9ae7d [SX126x] Added comments about TCXO/XTAL (#784) 2023-07-01 09:02:43 +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
4975828d03 [SX126x] Fixed debug print format 2023-06-24 22:22:56 +02:00
jgromes
7f40ee49c6 [SX126x] Fixed blocking receive (#777) 2023-06-24 19:23:09 +02:00
jgromes
787ebde43e [SX126x] Implemented generic IRQ actions (#773) 2023-06-21 22:21:55 +02:00
jgromes
cf677e6b15 [SX126x] Fixed default parameters 2023-05-28 22:32:24 +02:00
jgromes
2b28296c94 [SX128x] Added default startReceive method 2023-05-28 22:20:54 +02:00
jgromes
5158ac5b6b [SX126x] Fixed long prints 2023-05-21 18:26:03 +02:00
jgromes
efbec6b9d1 Added custom min/max/abs macros 2023-05-16 17:13:43 +01:00
jgromes
89f909fc6e [SX126x] Added force wakeup to standby (#740) 2023-05-02 21:05:13 +02:00
jgromes
bdc5bb0bba [SX126x] Wakeup device on standby() call (#740) 2023-05-02 18:59:33 +02:00
jgromes
d4365a3b1e [SX126x] Fixed variable shadowing 2023-04-23 22:04:40 +02:00
jgromes
f1c9423035 [SX126x] Fixed typo 2023-04-23 21:11:27 +02:00
jgromes
a015e541f6 [SX126x] General reformatting 2023-04-23 19:06:45 +02:00
Jan Gromeš
b76b819b12
Merge pull request #730 from Mesteery/new-hal
Improve hardware abstraction layer
2023-04-22 16:26:31 +02:00
jgromes
2e8d0ae8a3 [SX126x] Fixed IQ inversion not caching (#731) 2023-04-17 19:10:26 +02:00
Mestery
9a68a3c901 use uint32 instead of uint8 for pin type 2023-04-16 21:39:00 +02:00
Mestery
ec3d4eaf20 Improve hardware abstraction layer 2023-04-12 23:16:18 +02:00