chandrawi / LoRaRF-Arduino

Arduino library for basic transmitting and receiving data using LoRa and FSK modulation
MIT License
53 stars 15 forks source link

Is there some Channel Activity Detection? #1

Closed bobricius closed 2 years ago

bobricius commented 3 years ago

Hi, I searching for alternative library to https://github.com/sandeepmistry/arduino-LoRa Is there some Channel Activity Detection or something to tell my if is channel free? Is supported SamD21?

Thanks

chandrawi commented 3 years ago

Hallo Peter Misenko,

The library support for SX126x LoRa chip family including SX1261, SX1262 and SX1268. But unfortunately, the library not yet support for Channel Activity Detection. I have plan to add CAD feature for the library in the future. The LoRa arduino library should be support for arduino Zero with SAMD21 processor, but I haven't check it. I only check on arduino uno and pro mini 3.3V and work properly using E22400M22S, E22900M22S, E22400M22S, and E22900M30S Ebyte LoRa module. If you plan to use arduino zero you should set SPI setting to use SPI1 instead SPI0 using setSPI() method

#include <SX126x.h>
SX126x LoRa;
LoRa.setSPI(SPI1);

Regards, Chandra Wijaya