Open asprakash opened 4 years ago
Hi Prakash, With the attached screenshot and the .ino file, we see the devEUI in the server end is not the devEUI of the device in which ttn-otaa_IN865.ino is loaded. We suggest you to feed DEVEUI, APPEUI and APPKEY in the below format, for example:
0102CD0101020304
, DEVEUI[8] = { 0x04, 0x03, 0x02, 0x01, 0x01, 0xCD, 0x02, 0x01 }80BED47FC105BA92
, APPEUI[8] = { 0x92, 0xBA, 0x05, 0xC1, 0x7F, 0xD4, 0xBE, 0x80 }67EB85FAD4F0C46D76127B0AEDF634C7
, APPKEY[16] = { 0x67, 0xEB, 0x85, 0xFA, 0xD4, 0xF0, 0xC4, 0x6D, 0x76, 0x12, 0x7B, 0x0A, 0xED, 0xF6, 0x34, 0xC7 };NOTE: Do not use the above values, make sure to use unique IDs for your application. Please make sure you use the same APPEUI, DEVEUI and APPKEY in server end and in the sketch(.ino).
Also share us the screenshot of server end that displays these 3 parameters (APPEUI, DEVEUI and APPKEY). Let us know how it helps.
I tried OTAA as per the instructions given by @dhineshkumarmcci . Check the given arduino log below. Node trying to join with the server and I can able see the join request on the Chirpstack lorawan server. Not sure whether there is a problem on ardunio sketch or server side. Also attached my program and screenshot for server side request. PFA. I just want to make sure the arduino side configuration is right. I also edited https://github.com/mcci-catena/arduino-lmic/blob/master/project_config/lmic_project_config.h Comment #define CFG_us915 1 and enabled #define CFG_in866 1.
Arduino log : Starting Packet queued 195: EV_JOINING 118934: EV_TXSTART 501544: Unknown event: 20 769518: EV_TXSTART 1152194: Unknown event: 20 1611562: EV_TXSTART
ttn-otaa_IN865.txt