And here are my values for my end device.
image of the overview:
values transcribed:
End device ID- lmic-node
Frequency plan- United States 902-928 MHz, FSB 2 (used by TTN)
LoRaWAN version- LoRaWAN Specification 1.0.3
Regional Parameters version- RP001 Regional Parameters 1.0.3 revision A
AppEUI- 70B3D57ED0056768 (LSB format: 0x68, 0x67, 0x05, 0xD0, 0x7E, 0xD5, 0xB3, 0x70)
DevEUI- 70B3D57ED0056768 (LSB format: 0x68, 0x67, 0x05, 0xD0, 0x7E, 0xD5, 0xB3, 0x70)
AppKey- 01B75FF1ECE811DFE5FD480700364A80 (MSB format: 0x01, 0xB7, 0x5F, 0xF1, 0xEC, 0xE8, 0x11, 0xDF, 0xE5, 0xFD, 0x48, 0x07, 0x00, 0x36, 0x4A, 0x80)
what my lorawan-keys.h file looks like
/*******************************************************************************
*
* File: lorawan-keys_example.h
*
* Function: Example for lorawan-keys.h required by LMIC-node.
*
* Copyright: Copyright (c) 2021 Leonel Lopes Parente
*
* Important ██ DO NOT EDIT THIS EXAMPLE FILE (see instructions below) ██
*
* Decription: lorawan-keys.h defines LoRaWAN keys needed by the LMIC library.
* It can contain keys for both OTAA and for ABP activation.
* Only the keys for the used activation type need to be specified.
*
* It is essential that each key is specified in the correct format.
* lsb: least-significant-byte first, msb: most-significant-byte first.
*
* For security reasons all files in the keyfiles folder (except file
* lorawan-keys_example.h) are excluded from the Git(Hub) repository.
* Also excluded are all files matching the pattern *lorawan-keys.h.
* This way they cannot be accidentally committed to a public repository.
*
* Instructions: 1. Copy this file lorawan-keys_example.h to file lorawan-keys.h
* in the same folder (keyfiles).
* 2. Place/edit required LoRaWAN keys in the new lorawan-keys.h file.
*
******************************************************************************/
#pragma once
#ifndef LORAWAN_KEYS_H_
#define LORAWAN_KEYS_H_
// Optional: If DEVICEID is defined it will be used instead of the default defined in the BSF.
// #define DEVICEID "<deviceid>"
// Keys required for OTAA activation:
// End-device Identifier (u1_t[8]) in lsb format
#define OTAA_DEVEUI 0x68, 0x67, 0x05, 0xD0, 0x7E, 0xD5, 0xB3, 0x70
// Application Identifier (u1_t[8]) in lsb format
#define OTAA_APPEUI 0x68, 0x67, 0x05, 0xD0, 0x7E, 0xD5, 0xB3, 0x70
// Application Key (u1_t[16]) in msb format
#define OTAA_APPKEY 0x01, 0xB7, 0x5F, 0xF1, 0xEC, 0xE8, 0x11, 0xDF, 0xE5, 0xFD, 0x48, 0x07, 0x00, 0x36, 0x4A, 0x80
// -----------------------------------------------------------------------------
// Optional: If ABP_DEVICEID is defined it will be used for ABP instead of the default defined in the BSF.
// #define ABP_DEVICEID "<deviceid>"
// Keys required for ABP activation:
// End-device Address (u4_t) in uint32_t format.
// Note: The value must start with 0x (current version of TTN Console does not provide this).
#define ABP_DEVADDR 0x00000000
// Network Session Key (u1_t[16]) in msb format
#define ABP_NWKSKEY 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
// Application Session K (u1_t[16]) in msb format
#define ABP_APPSKEY 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
#endif // LORAWAN_KEYS_H_