Hi all!
I need your help in order to make a Lora32U4 V1.3 from BSFrance send information to TTN from Argentina, that uses AU915 band plan.
Lora32U4 lits red led always on, and terminal shows "EV_JOIN_TXCOMPLETE: no JoinAccept.
TTN end device status is “No recent activity”.
I have a RAK7249 gateway working beside me. I know It works because I can see messages from other nodes.
I am using Arduino IDE.
I had to use MCCI LoRa library becuase is mandatory for TTN V3 (according to my understanding I cannot use LMIC-Arduino any more).
However, if I set LMIC_DEBUG_LEVEL to 1, I run out of memory.
Seting LMIC_DEBUG_LEVEL to 0 sketch uses 92% only.
Hardware information:
- Board: Lora32U4 V1.3 from BSFrance
- jumpers: factory setting (DIO1:5 on, I did not change the jumper wiring)
- Power: from USB
- Antenna: connected
Software details:
- Original sketch: https://gist.github.com/dwblair/f5e18f715e5d2702b9c00d439416a73c
- MCCI library: https://github.com/mcci-catena/arduino-lmic
- EUIs: I guess APPEUI, DEVEUI and APPKEY are OK (considering LSB and MSB issue).
- bit mapping:
const lmic_pinmap lmic_pins = {
.nss = 8,
.rxtx = LMIC_UNUSED_PIN,
.rst = 4,
.dio = {7, 5, LMIC_UNUSED_PIN}, /*USED TO BE .dio = {7, 6, LMIC_UNUSED_PIN}, */
.rxtx_rx_active = 0,
.rssi_cal = 8, // LBT cal for the Adafruit Feather 32U4 LoRa, in dB
.spi_freq = 1000000,
}; - lmic_project_config.h: #define CFG_au915 1
- other settings:
LMIC_setLinkCheckMode(0);
LMIC_setDrTxpow(DR_SF7,14);
LMIC_selectSubBand(2); //IT USED TO BE 1 - I commented #ifdef COMPILE_REGRESSION_TEST paragraph.
I get in the monitor:
Starting
Packet queued
950794: EV_JOINING
951375: EV_TXSTART
1353317: EV_JOIN_TXCOMPLETE: no JoinAccept
Any ideas to solve the issue?
Could it be something related to OTAA activation? (I didn´t do anything to make it happens).
Thank you very much in advance.