Hello,
i am using a module RAK3172 with a program on C and with custom protocol, i have a connection between two devices.
In the semtech documentation I saw parameters for CAD (SF 7, BW 125):
but these parameters depend on Lora’s settings (SF and BW). And also I didn’t see any information about cadTimeout.
As I understand - we have to turn on devices and tune DetMin and DetPeak for best performance
I have a question - how to calculate correctly CAD setting?
We can test it on our devices and set the best settings, but this is possible only for test devices, not for all in the city.
How to get the best settings for CAD? is it possible to calculate it with some formula?
To calculate the best CAD settings, consider adjusting parameters like cadDetMin, cadDetPeak, and cadTimeout based on the LoRa settings (SF and BW). Real-world testing is key, as these settings can vary depending on your environment. Have you tried testing different Spreading Factor (SF) and Bandwidth (BW) combinations to find the optimal values for your use case?
At issue with the basic program is that it does not cope with “channel busy”. Here is my first put on solving that issue: CAD_Test.ino (4.7 KB) LoRaP2P_RX_modified.ino (3.4 KB)