Commit Graph
32 Commits
Author SHA1 Message Date
Ton Huisman 26c9fa8a5d [Libs] Avoid using Wire.begin() 2025-02-10 23:28:40 +01:00
TD-er 78fc1ea4e7 [LoRaWAN] Make RX2 frequency configurable + allow write RN2483 commands 2022-07-19 12:55:37 +02:00
TD-er a4cb528a91 [LoRaWAN] Reduce build size + more sensible default settings. 2022-07-18 00:00:45 +02:00
TD-er b7b69622b7 [Cleanup] Prevent float to double promotion
May reduce code slightly, but at least it makes execution faster.
2021-09-07 09:33:41 +02:00
TD-er 4e35f412e6 [Libs] Don't use "byte" as type anymore 2021-07-03 00:49:41 +02:00
TD-er 1c47a757e2 [LoRaWAN TTN] Fix controller not setting SF or FP & add ADR (#3630)
Fixes: #3630

- Add checkbox for enable/disable ADR (Adaptive Data Rate)
- Fix not being able to set Frequency Plan (FP)
- Fix not being able to set Spreading Factor (SF)
2021-05-13 16:13:17 +02:00
TD-er d67f847736 [TTNv3] Add selector for TTN stack version
TTN stack version selector does change the RX1 delay so ESPEasy can be used as TTNv3 node.
2021-04-29 12:33:09 +02:00
TD-er decd45687f [Cleanup] Save resources by moving static strings to flash 2020-11-16 13:20:45 +01:00
TD-er 5db268d3a9 [LoRaWAN] C018 Reduce memory usage when controller not used 2020-11-16 13:10:31 +01:00
TD-er 0100d26080 [Timing Stats] Add duty cycle column + LoRa TTN on air timings 2020-10-13 02:08:23 +02:00
Gijs Noorlander 95bef799c1 [RN2483] Call LoRaWAN module reset when LoRaWAN stack hangs (#3225 )
See #3225
2020-09-09 00:01:39 +02:00
Gijs Noorlander 88df76bba5 [RN2483] Rename sendAutoBaud to sendWakeSequence 2020-04-24 00:29:58 +02:00
Gijs Noorlander 11909928ab [RN2483] Fix build error for ESP32 2020-04-20 01:09:25 +02:00
Gijs Noorlander 0bff9358ee [RN2483] Improve Autobaud + unit detection at boot 2020-04-19 23:05:35 +02:00
Gijs Noorlander e50a5956a7 [RN2483] Only alter set keys if either OTAA or ABP is set 2020-04-19 16:55:42 +02:00
Gijs Noorlander 16b9399456 [I2C UART] Limit calls to serial.available() 2020-03-11 09:12:59 +01:00
Gijs Noorlander ebd0dcf7c2 [RN2483] Add some example code for new RN2483 library
Since I have rewritten the entire library, I may also add some short example code to illustrate the new async features.
2020-02-17 23:28:24 +01:00
TD-er 473d832186 [RN2483] Small fixes in display strings and library examples 2020-02-17 01:11:08 +01:00
TD-er 6d321b256c Fix compile issue in ArduinoUnoNano-downlink.ino example 2020-02-16 19:53:13 +01:00
TD-er 64fea7bcf2 [RN2483] Fix build issues 2020-02-16 18:50:44 +01:00
Gijs Noorlander b3ec99c2c3 [RN2483] Move functions and members to helper class. 2020-02-16 17:13:04 +01:00
Gijs Noorlander 96dc568800 [RN2483] Status bits depend on firmware rev. number
This means some knowledge should be split into separate classes and made available for the Status class.
2020-02-16 15:04:28 +01:00
Gijs Noorlander 3c5e9389fa [RN2483] Make OTAA join work async
It does take about 7 seconds to perform OTAA, so make sure we don't have to wait for it to finish now we can do all in async mode.
2020-02-16 02:02:34 +01:00
Gijs Noorlander 24b6364d08 [RN2483] Fix OTAA and ABP join issues 2020-02-16 00:38:24 +01:00
Gijs Noorlander af5bc7174c [RN2483] Make calls non blocking using state machine
The calls to the existing library were blocking, so they could take a long time to send a message (over 2 seconds)
Now the library is using a state machine and the handling can be dealt with by calling the ...loop functions frequently.
2020-02-13 18:30:22 +01:00
Gijs Noorlander 632169acc3 [RN2483] Fix proper reset and autobaud of RN2483 LoRa module 2020-02-10 21:50:05 +01:00
Gijs Noorlander 77b39b748c [LoRa/TTN] Output packed raw format for uploading to TTN
This does allow uploading even more parameters than the 4 supported by ESPeasy, since encoder and decoder can be tailored to the specific plugin.
For example the GPS plugin can now upload 7 parameters in only 20 bytes.

Still to do: Why can the decoder not handle encoding per 24 bit? (lat/lon do fit perfectly fine in 24 bit).
2019-08-15 02:12:13 +02:00
Gijs Noorlander 915cadf0a8 [LoRa/TTN] Reduce number of join requests
Assume module is joined. If not, a TX attempt will return "not_joined" after which a join should be attempted.
2019-08-14 17:07:16 +02:00
Gijs Noorlander 16bcd6220d [LoRa TTN] Make settings configurable & add support ABP 2019-08-12 21:07:48 +02:00
Gijs Noorlander 5e9be55656 [RN2384 lib] Only use const String& in function parameters
Making these functions a lot more memory efficient
2019-08-08 23:14:34 +02:00
TD-er 39f8d405b0 Improve RN2xx3 LoRo TTN library 2019-08-08 23:14:34 +02:00
Gijs Noorlander c88bf664af [TTN] Add RN2483-Arduino-Library 2019-08-08 23:14:34 +02:00