sandeepmistry / arduino-LoRa

An Arduino library for sending and receiving data using LoRa radios.
MIT License
1.63k stars 626 forks source link

Channel Activity Detection function and examples. #331

Closed w-ockham closed 4 years ago

w-ockham commented 4 years ago

Added Channel Activity Detection and its examples.

artemen commented 4 years ago

hi, have you tested if this could be used to "catch" a partial preamble, than switch into RX mode and read the packet?

w-ockham commented 4 years ago

Not yet with the packet which has long preamble, but works fine with low rate mode. It captures the preamble at the beginning of the packet then transit to continuous receive mode. Unfortunately, I found a mistake at the interrupt handler (CAD should be handled before the PAYLOAD_CRC_ERROR body clause). Withdraw this request and will send another one after running some tests on the long preamble packet.

IoTThinks commented 4 years ago

HI all, Will this CAD be considered stable to be in a new release? I'm eager to test on it. Thanks a lot. :D