Kongduino
Kongduino
About `start_stop_sender.ino`: 1. As @morganrallen says, you have a spurious `endPacket()` at the end of the code that doesn't serve any purpose. It could be even messing up with the...
Your `LoRa.endPacket();` should come right after `LoRa.print(off_lora);` – that's the part that will actually send the packet. `LoRa.print()` just buffers the data to send until you're ready (so you can...
In theory, the maximum payload is 256 bytes (or 255 can't remember), **BUT** that is theoretical only. Max payload is regulated in LoRaWAN, and depends on the SF/BW combination, from...
The limits apply in the sense that while there may be some regulatory restrictions originally (Fair Use yada yada), in the (H) range (868+) at least, dwell time limitations (400...
I have done this in my Lorandom library – part of which has been included here. Not sure `fillRandom` was in the lib when this was done: ```c void fillRandom(unsigned...
Let me check on my end – I did some testing when I wrote it and it SEEMED it was working properly. Thanks for the feedback!
Thanks @plybrd there was indeed a bug – and thanks to you I was able to fix it. https://github.com/Kongduino/LoRandom/blob/master/src/LoRandom.h#L45-L51 https://github.com/Kongduino/LoRandom/blob/master/Fixed.png Odd and even numbers now... :-)
Any update on this? You really need to fix the `random()` function...
I will do some tests, but we need to remember that the LoRa chip must be set in a specific state (continuous receive, SF 7, BW 125 KHz, C/R 4/5)...
See https://github.com/Kongduino/ESP32_Random_Test for an example. This version of LoRandom.h seamlessly sets up LoRa for rng, and resets LoRa to the previous settings when done.