Skip to content

Commit

Permalink
Update config.h
Browse files Browse the repository at this point in the history
prep for release
  • Loading branch information
designer2k2 authored Jan 26, 2024
1 parent 950e51d commit 0902129
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
#ifndef OTAA
// UPDATE WITH YOUR TTN KEYS AND ADDR.
// Setting for ABP
static PROGMEM u1_t NWKSKEY[16] = { 0x17, 0x43, 0x91, 0xC6, 0xB4, 0xDC, 0xE1, 0x91, 0x3D, 0xBF, 0xEF, 0x0E, 0xD1, 0xF5, 0xB0, 0xB2 }; // LoRaWAN NwkSKey, network session key
static u1_t PROGMEM APPSKEY[16] = { 0xB0, 0xFB, 0x5B, 0xE7, 0x5C, 0x20, 0x6B, 0x79, 0xEF, 0x5C, 0xB5, 0x51, 0x4C, 0xDF, 0xBE, 0xD6 }; // LoRaWAN AppSKey, application session key
static const u4_t DEVADDR = 0x260B08DB; // LoRaWAN end-device address (DevAddr)
static PROGMEM u1_t NWKSKEY[16] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; // LoRaWAN NwkSKey, network session key
static u1_t PROGMEM APPSKEY[16] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; // LoRaWAN AppSKey, application session key
static const u4_t DEVADDR = 0x00000000; // LoRaWAN end-device address (DevAddr)
#else
// Settings from OTAA device
// Settings from OTAA device (not used)
static const u1_t PROGMEM DEVEUI[8]={ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } ; // Device EUI, hex, lsb
static const u1_t PROGMEM APPEUI[8]={ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; // Application EUI, hex, lsb
static const u1_t PROGMEM APPKEY[16] = { 0x12, 0x23, 0x45, 0x67, 0x89, 0x01, 0x23, 0x45, 0x67, 0x89, 0x01, 0x23, 0x45, 0x67, 0x89, 0x01 }; // App Key, hex, msb
Expand Down

0 comments on commit 0902129

Please sign in to comment.