What is my "App key"?

Trying to troubleshoot me Seeeduino LoRaWan device on TTN. I am using Brady Aeillo’s instructions for Seeeduino motes, modifying it for Australia. It will work but then the communication stops if I modify and reload the program.

One thing that I don’t understand is in the setup, there is an include file keys.h that contains information on the devices and app. I’m not sure what the last parameter should be. I get a non-fatal error when I tried copying the device access key from the TTN console. Any idea what I should be using?

#define DEV_ADDR “Your Device Address”
#define DEV_EUI “Your Device EUI”
#define APP_EUI “Your App EUI”

#define NWK_S_KEY “Your Network Session Key”
#define APP_S_KEY “Your App Session Key”
#define APP_KEY “Your App Key”

keys

2 Likes

Ok, I used ABP to join my device to the network, so I guess this means it a) doesn’t matter what I assign to it, and b) this doesn’t have anything to do with why my device stops communicating. I’m running out of ideas.

Thanks.

One thing that I don’t understand is in the setup, there is an include file keys.h that contains information on the devices and app.

OK THANKS