Lora-net / LoRaMac-node

Reference implementation and documentation of a LoRa network node.
Other
1.88k stars 1.09k forks source link

About CAD mode #175

Closed adonislixi closed 7 years ago

adonislixi commented 7 years ago

In datasheet , CAD mode can reduce the reception power consumption.

In Master/develop , I see RadioEvents->CadDone in the Dio3 interrupt, but the pointer is not assigned.

anyone has the experience about how to use CAD mode?

@mluis1 @djaeckle

mluis1 commented 7 years ago

The CAD feature is only useful to detect LoRa preamble symbols (excludes other modulations types and LoRa data symbols). The CAD operation usually requires the transmitter to transmit long preamble sequences.

Most of the time this feature is used when implementing a point to point protocol where the transmitter is main powered and the receiver does an duty-cycled reception.

For the LoRaWAN use case there is no need to use the CAD feature as we know in advance when the reception windows happen. Usually 1 and 2 seconds after the end of the transmission.