mcci-catena / arduino-lorawan

User-friendly library for using arduino-lmic with The Things Network and other LoRaWAN® networks
MIT License
288 stars 54 forks source link

MCCI LMIC payload not received by TTN or node is not sending (AS923Mhz) #208

Open PadmaIoT opened 1 year ago

PadmaIoT commented 1 year ago

Hello developers,

I am using Arduino pro mini (I am feeding 3.3 volts) and RA-01H containing SX1276 to develop a node device. I am using Arduino IDE; the library is MCCI Arduino LoRAWAN library(latest version). I successfully connected the node with the TTN. But without a join request & acceptance, I could not receive any payload through TTN. I am badly in need of obtaining a payload.

my payload is simple "Hello World" I am using OTAA from the example. my TX interval is 238 s My Pin configuration that follows the code is given below: ;

SX1276----Arduino NSS> 10 RST> 9 DIO0> 2 DIO1> 3 DIO2> LMIC_UNUSED_PIN

In lmic_project_config.h my config is given below

// project-specific definitions
//#define CFG_eu868 1
//#define CFG_us915 1
//#define CFG_au915 1
#define CFG_as923 1
// #define LMIC_COUNTRY_CODE LMIC_COUNTRY_CODE_JP   /* for as923-JP */
//#define CFG_kr920 1
//#define CFG_in866 1
#define CFG_sx1276_radio 1
//#define LMIC_USE_INTERRUPTS

On the serial monitor, I see it stuck in "EV_TXSTART".

On the TTN side, the LORAWAN setting parameters for the node are given below

image

and the response is like below image

How to solve this issue?