Device, App eui and App Key

Hello. i am trying to connect a 11310 to my RAK7248 gateway. The code is looking for a format like this ```
uint8_t nodeDeviceEUI[8] = {0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x33, 0x33};
uint8_t nodeAppEUI[8] = {0xB8, 0x27, 0xEB, 0xFF, 0xFE, 0x39, 0x00, 0x00};
uint8_t nodeAppKey[16] = {0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88};

i have a device EUI that looks like this. AC1F0FFFE06BECA.  What do i need to do?
  Thanks

Hi @LoraAltAP

You have to enter the device EUI from the label AC1F0FFFE06BECA into your code

uint8_t nodeDeviceEUI[8] = {0xAC, 0x1F, 0x0F, 0xFF, 0xFE, 0x06, 0xBE, 0xCA};

Then you have to setup the device in the gateway with the same devEUI, appEUI and appKey that you have in your code.

thank you. I have set up the device in Chirpstack with the Device EUI and let it create the APPKEy so i have it now entered in the code. Where do i get the APP EUI? does chirpstack make it?

Chirpstack ignores the AppEUI. You do not need to set it.

i feel like i am so close here. i am using the example OTA code.
I get this.
23:55:13.673 → =====================================
23:55:13.673 → Welcome to RAK11300 LoRaWan!!!
23:55:13.673 → Type: OTAA
23:55:13.673 → Region: US915
23:55:13.673 → =====================================
23:55:19.228 → OTAA Mode, Network Joined!
23:55:40.194 → Sending frame now…

But nothing further and nothing in the gateway/ chirpstack

It joined, that is already good.

Are you using the example code that comes with the Arduino BSP?

If yes, please try the updated example from our WisBlock Repo

Progress…
00:34:06.054 → Sending frame now…
00:34:06.054 → lmh_send ok count 2
00:34:11.571 → TX finished

OK now to learn chirpstack better. is there a tutorial for it as well?

We are having quick start guides for the modules in our Documentation Center, e.g. for RAK11310

But we do not have a specific tutorial for Chirpstack.

1 Like

Thanks for all of your help

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.