Wykres commitów

1690 Commity (34d2bc85b3fd12e5b05f93eba385a742b41f250e)

Autor SHA1 Wiadomość Data
jgromes eabc752703 [APRS] Fix array length calculation in static only mode 2023-10-18 17:47:09 +02:00
jgromes 46bf0445fa [SX126x] Decrease startup wait to 10 ms (#850) 2023-10-17 20:14:26 +02:00
jgromes 4e0ed033db [HAL] Fixed persistent storage on Sparkfun Apollo (#848) 2023-10-15 08:48:37 +02:00
jgromes 0d43891070 [STM32WLx] Added missing interrupt actions (#844) 2023-10-14 14:05:55 +02:00
jgromes f4f00537c6 [LoRaWAN] Fixed debug float print (#844) 2023-10-14 10:28:27 +02:00
jgromes 96f90c8ee0 [Si443x] Fixed debug float print 2023-10-14 10:27:53 +02:00
jgromes 6e26852689 Fixed debug float print 2023-10-14 10:27:31 +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 b817819c60 [RM9x] Drop RFM9x as separate class 2023-09-24 18:19:48 +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 690a050ebb Bump version to 6.2.0 2023-09-16 08:21:25 +02:00
jgromes df8eeebb72 Added debug info to compilation process 2023-09-16 08:20:25 +02:00
jgromes bc7e82999c Disable EEPROM on SAMD 2023-09-15 20:20:00 +02:00
jgromes 9279b8ab6d [LoRaWAN] Workaround unused variable warning for unimplemented fields 2023-09-15 18:36:08 +02:00
jgromes 4b80080a37 Disable EEPROM on nRF52 and Portenta 2023-09-15 18:31:53 +02:00
jgromes 253dfd8c50 [LoRaWAN] Temporarily cast unused variables until implemented 2023-09-15 18:31:31 +02:00
jgromes a4aace3ad0 Disable EEPROM on Nano 33 BLE and RP2040 2023-09-15 18:13:26 +02:00
jgromes 7de4a4693e [HAL] Disable EEPROM on Arduino Due 2023-09-15 18:10:47 +02:00
jgromes 58eab402ad [LoRaWAN] Implemented most MAC commands 2023-09-14 20:58:46 +02:00
jgromes 2638fd0ad0 [LoRaWAN] Fixed memory leak in downlink 2023-09-14 20:58:04 +02:00
jgromes a23d85c196 [LoRaWAN] Typo fixes 2023-09-13 17:05:19 +02:00
jgromes 3055613b6d [LoRaWAN] Added support for US bands and reworked channel selection process (#814) 2023-09-12 19:10:44 +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 392708f8b5 [MOD] Make regdump and hexdump only available in debug 2023-09-12 17:13:07 +02:00
jgromes 414e338505 Fixed ESP32 platform detection 2023-08-29 21:57:51 +02:00
jgromes d170c02561 [LoRaWAN] Fixed initialization warnings 2023-08-26 20:34:37 +02:00
Nicklas Börjesson 2555857013
Fix "narrowing conversion" error on ESP-IDF
The 1 without a cast caused the result to be an integer.
2023-08-23 20:16:57 +02:00
jgromes 16f0ba7cce [LoRaWAN] Implemented MAC command support 2023-08-23 19:22:23 +02:00
jgromes 73382c2933 [LoRaWAN] Fixed output power configuration (#814) 2023-08-20 19:16:38 +02:00
jgromes b2b176f1c3 [LoRaWAN] Added MIC mismatch debug message 2023-08-20 19:16:07 +02:00
jgromes 3e8636b1f2 [APRS] Removed redundant condition (#810) 2023-08-18 20:21:53 +02:00
Jan Gromeš 42c2dba1cc
Merge pull request #810 from nicklasb/master-2
Remove unnecessary condition
2023-08-18 20:20:46 +02:00
jgromes 0a72d98750 [LoRaWAN] Fixed MIC calculation for downlink packets 2023-08-14 21:38:31 +02:00
jgromes 1ed22717d7 [LoRaWAN] Added check to not uplink in Rx slots 2023-08-12 21:48:31 +02:00
jgromes 45c376bde6 [LoRaWAN] Fixed variable range warning 2023-08-12 19:58:00 +02:00
jgromes cd9ac9916c [LoRaWAN] Added support for 1.1 and downlink (#58) 2023-08-12 19:49:37 +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 58da2a28ac [PHY] Added channel scan methods to common interface 2023-08-12 18:42:37 +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 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