Luiz Henrique Cassettari

Results 91 comments of Luiz Henrique Cassettari

I create this Branch a long time, and use cad to detect receiving data with sf7, sf8, sf9, sf10, sf11 or sf12. I used the dio0 and dio1 on the...

> > > @ricaun Will your CAD code wake up a deep sleep MCU and receive the current incoming message? > Thanks millions. I believe so, but I design the...

> > > The current CAD code syncs CadDone to dio0. Then check flag for cadDetected. > The check for cadDetected flag is not possible as the MCU sleeps. >...

I guess is a bad idea make the random function to change the module to receive mode. I use to generate a randomSeed on setup() and use the default random....

> Is a bad idea why? > Because of this `while(isTransmitting()) yield();` and why a random function need to be so complex. For a small code is ok, but when...

> Personally, I believe that a function with such a simple premise as returning a random byte should be as self-contained as possible. There's no good reason for why the...

I'm messing with random this weekend and I found https://gist.github.com/endolith/2568571 I have tested some codes and get great results using left rotate and XOR. Check https://github.com/sandeepmistry/arduino-LoRa/pull/188

Hello, I would like to help implement the LoRaWAN stuff. First I need to understand how the library works and how to set and get information about frequency, SF, invert...

I think is needed to create a virtual function on the `PhysicalLayer` like `setLoRa(float freq, float bw, uint8_t sf, uint8_t cr, bool enableCrc, bool invertIQ, uint8_t syncWord, uint16_t preambleLength)` What...

I was testing and (`setFrequency()`, `setBandwidth()` etc.), should work, but some lora module have a different `setFrequency()` with an extra calibrate parameter and It's breaking the code =( I'm gonna...