Commit graph

2076 commits

Author SHA1 Message Date
jgromes
247ca753f1 [APRS] Added support for APRS over LoRa 2023-07-21 18:18:05 +02:00
jgromes
1bc7c5771c [AX25] Added check for Bell modem 2023-07-21 18:08:40 +02:00
jgromes
0a6026e69e [LoRaWAN] Fixed typo in variable name 2023-07-20 18:43:49 +02:00
jgromes
6a7773e005 [LoRaWAN] Fixed APB begin 2023-07-16 16:34:32 +02:00
jgromes
d52c9e3183 [LoRaWAN] Added preliminary FSK support 2023-07-16 16:33:47 +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
498c5d5e22 [Morse] Fix typo 2023-07-15 19:25:51 +02:00
jgromes
8fd0a67a78 Typo fixes 2023-07-15 19:13:16 +02:00
jgromes
89e405eeba [LoRaWAN] Fixes for SX127x series 2023-07-08 09:37:43 +02:00
jgromes
fc983efafb [Crypto] Fixed missing nonvolatile read 2023-07-08 08:51:58 +02:00
jgromes
94861b3db4 Merge branch 'master' of https://github.com/jgromes/RadioLib 2023-07-07 20:48:53 +02:00
jgromes
b139767559 [EXT] Implemented direct transmit (#646) 2023-07-07 20:48:51 +02:00
jgromes
01917ad0c2 [FEC] Implemented static-only memory management 2023-07-07 20:39:00 +02:00
jgromes
ccbec2c7bd [FEC] Fixed memory leak (#646) 2023-07-07 20:33:48 +02:00
Nicklas Börjesson
d9538f959a
Add parenthesis for compatibility
Hi,
I am getting a compile error on ESP-IDF/Platformio:
```
managed_components/RadioLib/src/protocols/LoRaWAN/LoRaWAN.cpp: In member function 'int16_t LoRaWANNode::beginOTAA(uint64_t, uint64_t, uint8_t*, uint8_t*, bool)':
managed_components/RadioLib/src/protocols/LoRaWAN/LoRaWAN.cpp:125:61: error: suggest parentheses around comparison in operand of '&' [-Werror=parentheses]
  125 |   if(joinAcceptMsgEnc[0] & RADIOLIB_LORAWAN_MHDR_MTYPE_MASK != RADIOLIB_LORAWAN_MHDR_MTYPE_JOIN_ACCEPT) {
cc1plus: some warnings being treated as errors
*** [.pio/build/TTGO-LoRa32-v1/managed_components/RadioLib/src/protocols/LoRaWAN/LoRaWAN.o] Error 1

I propose adding a parenthesis, for clarity and compatibility.
2023-07-06 22:43:33 +02:00
jgromes
a78c415616 [LoRaWAN] Fixed loop comparison 2023-07-06 19:00:41 +02:00
jgromes
f354903864 [LoRaWAN] Added rev 1.1 checking 2023-07-06 18:50:04 +02:00
jgromes
a27d54716c [LoRaWAN] Added all official bands 2023-07-06 18:38:20 +02:00
jgromes
0d2ef419bf [LoRaWAN] Added basic LoRaWAN support (#58) 2023-07-06 13:41:31 +02:00
jgromes
3012185af4 [Crypto] Added AES key size macro 2023-07-06 13:30:56 +02:00
jgromes
df691db0a5 [HAL] Updated persistent management 2023-07-06 13:30:29 +02:00
jgromes
d725215e20 [HAL] Added persistent parameters to buildopt 2023-07-06 11:19:44 +02:00
jgromes
e486829b8f [HAL] Implemented basic persistent storage 2023-07-06 11:19:18 +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
91787eb269 [PHY] Implemented more common methods 2023-07-06 11:10:20 +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
Alistair Francis
e88cf386d6 Module: Get status from first byte after the command
Instead of getting the status from the very first byte in the input
buffer, which will be what we read when we send the first byte. Let's
instead get the status from the first byte after the command. This
provides a more accurate status value.

Signed-off-by: Alistair Francis <alistair@alistair23.me>
2023-06-28 20:43:28 +10:00
jgromes
3359907fa5 [SX128x] Fixed getStatus (#779) 2023-06-27 17:35:50 +02:00
Jan Gromeš
f6203e5036
Merge pull request #779 from alistair23/alistair/spi-status
modules: Don't read excess status data
2023-06-27 17:34:20 +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
d1f7c18240 Added support for Arduino Uno R4 2023-06-27 07:28:57 +02:00
jgromes
523f28fd6b Bump version to 6.1.0 2023-06-26 20:18:01 +02: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
jgromes
7f40ee49c6 [SX126x] Fixed blocking receive (#777) 2023-06-24 19:23:09 +02:00
jgromes
1f6acc8347 [SX128x] Implemented generic IRQ actions 2023-06-21 22:23:43 +02:00
jgromes
787ebde43e [SX126x] Implemented generic IRQ actions (#773) 2023-06-21 22:21:55 +02:00
jgromes
46e1af764e [Si443x] Implemented generic IRQ actions 2023-06-21 22:17:48 +02:00
jgromes
df126c92f9 [RF69] Implemented generic actions 2023-06-21 22:15:54 +02:00
jgromes
43b9b13903 [SX127x] Fixed direction from HAL 2023-06-21 22:13:54 +02:00
jgromes
a21fb9f136 [CC1101] Fixed direction from HAL 2023-06-21 22:13:44 +02:00
jgromes
291251ea72 [nRF24] Implemented generic actions 2023-06-21 22:11:36 +02:00
jgromes
8567c77641 [CC1101] Implemented generic actions 2023-06-21 22:07:24 +02:00
jgromes
a6ba423c73 [SX127x] Implemented generic actions 2023-06-21 22:03:07 +02:00
jgromes
be7dc572a6 [PHY] Added generic actions 2023-06-21 22:02:40 +02:00