Hi all,
(sorry if my english is not super, i’m french)
I try having an reply of my board lyligo lora T3 V1.6.1 on TTN (live data) but nothing;
My environment : IDE Arduino 2.0 - Esp 32 + Europe (fr)
1- I use library < MCCI LoraWan lmic> with example : ttn_abp.ino
2- I change for europe in config_lmic
3- I have add the numbers TTN.
4 - On Upload - OK - no problem - Send TX (see out serial)
4 - On TTN, i create an application abp but i have not of reply in live datas ?
Frequency plan : Europe 863-870 MHz (SF9 for RX2 - recommended)
LoRaWAN version : LoRaWAN Specification 1.0.4
Regional Parameters version : RP002 Regional Parameters 1.0.3 - i not Not sure here
I too try in otaa but it’s same.
Thanks for help.
my out Serial :
54338216: EV_TXSTART
Packet queued
54468866: EV_TXCOMPLETE (includes waiting for RX windows)
a part of my code :
static const PROGMEM u1_t NWKSKEY[16] = { 0x0E ,0x4B ,0x56 ,0x07 ,0xB4 ,0xB2 ,0xA2 ,0xC1 ,0xB3 ,0xC5 ,0x3D ,0x7C ,0x17 ,0x73 ,0x2F, 0x33 };
// LoRaWAN AppSKey, application session key
// This should also be in big-endian (aka msb).
static const u1_t PROGMEM APPSKEY[16] = { 0x53 ,0x18 ,0xFB, 0x10 ,0x8C ,0xF7 ,0xF0 ,0x60, 0x09 ,0xFC ,0x2F ,0x76 ,0x90 ,0x51 ,0x45 ,0x8B };
// LoRaWAN end-device address (DevAddr)
// See http://thethingsnetwork.org/wiki/AddressSpace
// The library converts the address to network byte order as needed, so this should be in big-endian (aka msb) too.
static const u4_t DEVADDR = 0x260BD4D6 ; // <-- Change this address for every node!
// These callbacks are only used in over-the-air activation, so they are
// left empty here (we cannot leave them out completely unless
// DISABLE_JOIN is set in arduino-lmic/project_config/lmic_project_config.h,
// otherwise the linker will complain).
void os_getArtEui (u1_t* buf) { }
void os_getDevEui (u1_t* buf) { }
void os_getDevKey (u1_t* buf) { }
static uint8_t mydata[] = "Hello, world!";
static osjob_t sendjob;
// Schedule TX every this many seconds (might become longer due to duty
// cycle limitations).
const unsigned TX_INTERVAL = 60;
// Pin mapping
// Adapted for Feather M0 per p.10 of [feather]
const lmic_pinmap lmic_pins = {
.nss = 18,
.rxtx = LMIC_UNUSED_PIN,
.rst = 23,
.dio = {/*dio0*/ 26, /*dio1*/ 33, /*dio2*/ 32}
};