Commit graph

314 commits

Author SHA1 Message Date
jgromes
f85abafe19 [Bell] Reworked macro configuration system 2023-11-27 21:16:43 +01:00
jgromes
6c07552f84 [AX25] Reworked macro configuration system 2023-11-27 21:16:34 +01:00
jgromes
98054055bd [APRS] Reworked macro configuration system 2023-11-27 21:16:13 +01:00
jgromes
fe0136b15c [AFSK] Reworked macro configuration system 2023-11-27 21:15:52 +01:00
StevenCellist
b6f6718f1f
[LoRaWAN] Add datarate into event structure (#885)
* [LoRaWAN] Move TX power logic to function

* Update keywords

* [LoRaWAN] Add datarate into event structure
2023-11-27 16:43:56 +01:00
StevenCellist
b2b73ab21d
[LoRaWAN] Move TX power logic to function (#884)
* [LoRaWAN] Move TX power logic to function

* Update keywords
2023-11-27 16:10:47 +01:00
jgromes
7e70785909 [LoRaWAN] Replaced VLAs with dynamically allocated memory 2023-11-18 16:46:12 +01:00
jgromes
713162fcc7 [LoRaWAN] Fixed unused variable warning on non-EEPROM boards 2023-11-18 16:38:03 +01:00
jgromes
e4bfb6429b [LoRaWAN] Fixed variable-sized arrays 2023-11-18 16:15:48 +01:00
jgromes
063b42752f [LoRaWAN] Fixed a few warnings 2023-11-18 15:03:48 +01:00
jgromes
75a9420552 [LoRaWAN] Added event struct to pass extra info (#821) 2023-11-12 17:53:05 +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
StevenCellist
556f37f608
[LoRaWAN] Implement full session persistence & more v1.1 specification (#835)
* Implement session persistence & more 1.1 protocol

* [LoRaW] Improve session persistence, check frame counters & Nonces, multiple MAC commands

* [LoRaWAN] fix popping MAC command from queue

I just realized that the method popMacCommand did not correctly remove items from the queue - this should solve the problem

* [LoRaWAN] implement improvements from #835

* [LoRaWAN] String --> uint8_t[]

* [LoRaWAN] Fix typo
2023-10-23 17:50:16 +02:00
jgromes
eabc752703 [APRS] Fix array length calculation in static only mode 2023-10-18 17:47:09 +02:00
jgromes
f4f00537c6 [LoRaWAN] Fixed debug float print (#844) 2023-10-14 10:28:27 +02:00
jgromes
9279b8ab6d [LoRaWAN] Workaround unused variable warning for unimplemented fields 2023-09-15 18:36:08 +02:00
jgromes
253dfd8c50 [LoRaWAN] Temporarily cast unused variables until implemented 2023-09-15 18:31:31 +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
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
58da2a28ac [PHY] Added channel scan methods to common interface 2023-08-12 18:42:37 +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
532caaa089 [PHY] Added virtual channel scan method 2023-08-06 16:02:24 +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
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
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
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