This week-end I am going to test the range of LoRA.
I have to nodes and a gateway.
I read about Spreading Factor and ADR. As far I understood, more the SF is high, more I can go far with my node but with a higher battery consumption. I also read, the ADR mode can automatically set the SF.
Now if on my first node, I set SF7 with ADR activate. If the node will not be able to reach the gateway (or too far), I supposed the SF will increase to SF8 and until SF12 if I am far. And it will decrease to SF11, Sf10, Sf8… when I drive closer to my gateway?
But the fist things, I would like to know is the following:
Can I change the SF dynamically?
I explain. I do not want to use ADR (for now). My two nodes send messages each 2 mn to the gateway. I want to have the first node working with SF7, SF8 and SF9 and the second with SF10, SF11 and SF12.
Each two minute, I stop the car and I wait 6mn (2mn by SF).
My node 1 send message at SF7.
after sending, can I use this function or should it be use only at setup()?
My node send a message at SF8
and then I move with the car and stop again, and so on.
I am wundering if
can be used at any time and how can I use effectively the second parameter (14)?
By the way, could you explain me what does exactely
LMIC.dn2Dr = DR_SF9;
Many thank for your help and have a nice day!!