Wykres commitów

1690 Commity (34d2bc85b3fd12e5b05f93eba385a742b41f250e)

Autor SHA1 Wiadomość Data
jgromes 5d80dd46ae [SX126x] Explicitly set non-inverted IQ on startup 2023-08-12 18:38:15 +02:00
jgromes 2f36d5901e [LoRaWAN] Added LoRaWAN-specific status codes 2023-08-12 18:37:46 +02:00
jgromes 8c63f93820 [MOD] Skip SPI status parsing for single-byte commands 2023-08-12 18:36:12 +02:00
jgromes bfe2c0829a [MOD] Moved debug info to runtime 2023-08-12 18:35:48 +02:00
jgromes 3e5c0d59c7 [MOD] Moved CS pin toggling inside SPI transaction block 2023-08-12 18:35:08 +02:00
Nicklas Börjesson ebfe7972fc
Remove unnecessary condition
This will never be NULL and thus causes an error in ESP-IDF
2023-08-09 23:38:39 +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 532caaa089 [PHY] Added virtual channel scan method 2023-08-06 16:02:24 +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 26222cc97f [APRS] Fixed buffer type 2023-07-21 18:26:15 +02:00
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
Hendrik Langer 79725481cf fix error description 2023-06-16 15:58:59 +02:00
Hendrik Langer 69bc96ac08 Pager: allow manual override of function bits 2023-06-16 15:53:47 +02:00
Kevin Walton f63d228d0b
Bug in waitForMicroseconds prevTimingLen in V6.0.0
In Module::waitForMicroseconds if RADIOLIB_INTERRUPT_TIMING is defined the variable prevTimingLen has been incorrectly upated in v6.0.0 introducing a bug that stops compilation.

Fix: renamed _prevTimingLen to prevTimingLen to match other updates
2023-06-01 21:51:57 +01:00
jgromes 1161f67fa0 [Crypto] Fixed type comparison warning 2023-05-29 17:32:16 +02:00
jgromes cf677e6b15 [SX126x] Fixed default parameters 2023-05-28 22:32:24 +02:00
jgromes 522aff911f [SX127x] Fixed default parameters 2023-05-28 22:32:13 +02:00
jgromes 1597e8d754 [SX128x] Fixed default parameters 2023-05-28 22:32:06 +02:00
jgromes ca319c9c0b [Crypto] Added AES-128 2023-05-28 22:25:07 +02:00
jgromes f513226376 [PHY] Added default start receive 2023-05-28 22:22:00 +02:00
jgromes 2b28296c94 [SX128x] Added default startReceive method 2023-05-28 22:20:54 +02:00
jgromes a16322097a [SX127x] Added default startReceive method 2023-05-28 22:20:25 +02:00
jgromes f936d53639 [SX128x] Added default startReceive method 2023-05-28 22:19:03 +02:00
jgromes 05bd83e0a2 [SX127x] Fixed missing debug newline 2023-05-28 22:13:51 +02:00
jgromes 0b92a33d83 [Pager] Use FEC util 2023-05-23 22:44:44 +02:00
jgromes 191db8b5ff [FEC] Added FEC class 2023-05-23 22:41:53 +02:00
jgromes 551c6fd304 [CRC] Fixed incorrect doxygen class name 2023-05-23 22:41:32 +02:00
jgromes 3968e611af [PHY] Fixed long prints 2023-05-21 18:26:59 +02:00
jgromes bb4a45e850 [Pager] Fixed long prints 2023-05-21 18:26:46 +02:00
jgromes a5edb9b1e6 [Morse] Fixed long prints 2023-05-21 18:26:23 +02:00
jgromes c93d6eff65 [SX128x] Fixed long prints 2023-05-21 18:26:16 +02:00
jgromes 5158ac5b6b [SX126x] Fixed long prints 2023-05-21 18:26:03 +02:00
jgromes bb17b3dff2 [Si443x] Fixed long prints 2023-05-21 18:25:07 +02:00
jgromes 642f1bb157 [MOD] Added missing newlines 2023-05-21 18:24:31 +02:00
jgromes 6d54ea65db [MOD] Added option to use SX126x without GPIO 2023-05-18 20:49:37 +01:00
jgromes efbec6b9d1 Added custom min/max/abs macros 2023-05-16 17:13:43 +01:00
jgromes c2b9e19551 Removed dependency on algorithm (#748) 2023-05-15 20:34:19 +02:00
jgromes acf683b91b [CRC] Reworked for non-standard CRC lengths 2023-05-13 16:40:01 +02:00
jgromes 8062a322c6 [CRC] Convert into singleton 2023-05-12 21:08:43 +02:00
jgromes efd449875d [AX.25] Use common CRC implementation 2023-05-12 20:57:15 +02:00
jgromes 32a5166ae3 [Bell] Added missing exclude guard 2023-05-12 20:56:23 +02:00
jgromes 03d2a9bf26 [MOD] Added common reflect method 2023-05-12 20:55:51 +02:00
jgromes 3b8218c397 [CRC] Added common CRC 2023-05-12 20:54:36 +02:00
Olocool17 acc16c25bd [SX1272] Correct LoRa mode CRC register values 2023-05-11 20:47:19 +02:00
jgromes 89f909fc6e [SX126x] Added force wakeup to standby (#740) 2023-05-02 21:05:13 +02:00
jgromes c451765602 [SX128x] Added force wakeup to standby 2023-05-02 21:04:49 +02:00
jgromes bdc5bb0bba [SX126x] Wakeup device on standby() call (#740) 2023-05-02 18:59:33 +02:00
jgromes 84ebdddcaf [SX128x] Wakeup device on standby() call 2023-05-02 18:58:59 +02:00
jgromes 2eff7a358f [MOD] Removed redundant NSS pull 2023-04-30 22:11:05 +02:00
jgromes 4be3389587 Added missing headers 2023-04-30 11:37:38 +02:00
jgromes adf2f3ba98 [Print] Removed redundant headers 2023-04-30 11:34:58 +02:00
jgromes 4f0c400bd7 [ITA2] Added missing header 2023-04-30 11:32:38 +02:00
jgromes 8f28b42d63 [Print] Moved include to header 2023-04-30 11:31:52 +02:00
jgromes a4bf746e1f [Print] Added missing headers for non-Arduino builds 2023-04-30 11:30:20 +02:00
jgromes 3df9cb27ff [CC1101] Fixed non-Hal functions 2023-04-30 11:26:53 +02:00
jgromes f1a947c09d [Bell] Added missing return 2023-04-29 23:05:24 +02:00
jgromes e8f94c25d1 [AX.25] Use Bell modem 2023-04-29 23:01:50 +02:00
jgromes f1a8333591 [Bell] Added Bell-compatible modem 2023-04-29 23:01:23 +02:00
jgromes 8b73333a62 [Print] Added missing godmode guard 2023-04-29 22:57:32 +02:00
jgromes 99f1ad24b2 [AFSK] Added copy constructor 2023-04-29 22:55:27 +02:00
jgromes 24f714b914 [Hell] Use common print class 2023-04-29 22:55:04 +02:00
jgromes 0030a59028 [Morse] Use common print class 2023-04-29 22:54:43 +02:00
jgromes d79ed24a26 [RTTY] Use common print class 2023-04-29 22:54:27 +02:00
jgromes 089a81faec [Print] Added common print class 2023-04-29 22:53:55 +02:00
jgromes f0cf7ff912 [Print] Added standalone ITA2 2023-04-29 22:53:33 +02:00
jgromes b2af390c14 Added nonvolatile pointer macro 2023-04-29 22:52:11 +02:00
jgromes 7f4ff61504 [SX128x] Fixed unused variable 2023-04-29 22:51:44 +02:00
jgromes f244caa0bb Bump version to 6.0.0 2023-04-24 18:32:02 +02:00
jgromes 044b4789b2 [MOD] Decreased default SPI timeout to 1000 ms 2023-04-24 18:25:42 +02:00
jgromes a22a4df88f [MOD] Added debug message when BUSY pin times out 2023-04-24 18:25:09 +02:00
jgromes cc8c8f2eed [SX127x] General reformatting 2023-04-23 22:42:13 +02:00
jgromes 76c654c0c1 [SX128x] General reformatting 2023-04-23 22:05:18 +02:00
jgromes d4365a3b1e [SX126x] Fixed variable shadowing 2023-04-23 22:04:40 +02:00
jgromes 14529f36c7 [RF69] Fixed variable shadowing 2023-04-23 22:03:37 +02:00
jgromes 8a878e8fe9 [LLCC68] Fixed variable shadowing 2023-04-23 22:03:28 +02:00
jgromes bda6e220b6 [CC1101] Fixed variable shadowing 2023-04-23 22:03:12 +02:00
jgromes c5a3c4d361 [nRF24] Fixed variable shadowing 2023-04-23 22:02:33 +02:00
jgromes 674c37d00b [Si443x] General reformatting 2023-04-23 21:14:01 +02:00
jgromes f1c9423035 [SX126x] Fixed typo 2023-04-23 21:11:27 +02:00
jgromes 14302537ee [SX1231] General reformatting 2023-04-23 19:44:07 +02:00
jgromes 9be1cdfa41 [RF69] General reformatting 2023-04-23 19:43:48 +02:00
jgromes c62bb74f9d [CC1101] Fixed shadowed variable name 2023-04-23 19:40:56 +02:00
jgromes bba644377a [nRF24] General reformatting 2023-04-23 19:19:11 +02:00
jgromes a015e541f6 [SX126x] General reformatting 2023-04-23 19:06:45 +02:00
jgromes cab358ff09 [CC1101] Fixed axtra brace 2023-04-23 09:57:50 +02:00
jgromes 5c6628b6eb [CC1101] General reformatting 2023-04-23 09:47:42 +02:00
jgromes 78a576df12 [PHY] Use compact Doxygen and stop using reserved format 2023-04-23 09:12:47 +02:00
jgromes 767a2b006a [Pager] Fixed deprecation warning for ESP 2023-04-22 20:37:42 +02:00
jgromes 61f6da0cb2 [MOD] Added missing stdarg include for some platforms 2023-04-22 20:19:36 +02:00
jgromes 255838ed44 [AFSK] Use compact Doxygen and stop using reserved format 2023-04-22 19:36:12 +02:00
jgromes 668ff4fb01 [APRS] Use compact Doxygen and stop using reserved format 2023-04-22 19:35:58 +02:00
jgromes 5da2a023fe [AX25] Use compact Doxygen and stop using reserved format 2023-04-22 19:35:51 +02:00
jgromes c988f64921 [FSK4] Use compact Doxygen and stop using reserved format 2023-04-22 19:35:42 +02:00
jgromes 34e59605b5 [Hell] Use compact Doxygen and stop using reserved format 2023-04-22 19:35:33 +02:00
jgromes bb4e6cf946 [Morse] Use compact Doxygen and stop using reserved format 2023-04-22 19:35:23 +02:00
jgromes 6bbd237fb3 [Pager] Use compact Doxygen and stop using reserved format 2023-04-22 19:35:14 +02:00
jgromes 8722231ace [PHY] Use compact Doxygen 2023-04-22 19:35:00 +02:00