Open ignisf opened 1 month ago
I also tried using a SX1276 radio (on a LilyGO TTGO board) and also got a hang on ttn.begin()
. I turned on debugging by uncommenting lines 142, 144 en 146 in Arduino/libraries/EzLoRaWAN/src/target-config.h
and commenting lines 841-851 in Arduino/libraries/EzLoRaWAN/src/EzLoRaWAN.cpp
. This helped in diagnosing the problem. It turned out that although I specified the SX1276 radio, the library defaulted to the SX1262 radio because of line 129 in Arduino/libraries/EzLoRaWAN/src/target-config.h
. I added the line
#define BRD_sx1276_radio
to the beginning of that file instead of board_config.h
and then it worked.
I don't know if you have the same problem, but the debugging feature will help a lot.
Hey, is this lib expected to work on the riscv esp32s? I get a hang when I call
begin()
andopenocd
does not offer any useful info. Using a SX1276-based MOD-LoRa.board_config.h