Skip to content

Commit 46990dd

Browse files
authored
Added proper DevAddr/Appskey/Nwkskey
1 parent dbf1cd4 commit 46990dd

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

examples/ttn-abp/ttn-abp.ino

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,13 @@
3434
#include <SPI.h>
3535

3636
// LoRaWAN NwkSKey, network session key
37-
// This is the default Semtech key, which is used by the early prototype TTN
38-
// network.
39-
static const PROGMEM u1_t NWKSKEY[16] = { 0x2B, 0x7E, 0x15, 0x16, 0x28, 0xAE, 0xD2, 0xA6, 0xAB, 0xF7, 0x15, 0x88, 0x09, 0xCF, 0x4F, 0x3C };
37+
static const PROGMEM u1_t NWKSKEY[16] = { 0xD3, 0xBD, 0x66, 0x39, 0x1C, 0xBE, 0x00, 0xE0, 0xBF, 0xE9, 0xB4, 0x7E, 0x26, 0x84, 0x1E, 0xBD };
4038

4139
// LoRaWAN AppSKey, application session key
42-
// This is the default Semtech key, which is used by the early prototype TTN
43-
// network.
44-
static const u1_t PROGMEM APPSKEY[16] = { 0x2B, 0x7E, 0x15, 0x16, 0x28, 0xAE, 0xD2, 0xA6, 0xAB, 0xF7, 0x15, 0x88, 0x09, 0xCF, 0x4F, 0x3C };
40+
static const u1_t PROGMEM APPSKEY[16] = { 0x84, 0xE5, 0xCE, 0x42, 0xC0, 0xD7, 0x5B, 0x28, 0x2B, 0x34, 0xC6, 0xD7, 0xFD, 0xBA, 0x97, 0xAF };
4541

4642
// LoRaWAN end-device address (DevAddr)
47-
static const u4_t DEVADDR = 0x2C6CE084 ; // <-- Change this address for every node!
43+
static const u4_t DEVADDR = 0x26021CEC ; // <-- Change this address for every node!
4844

4945
// These callbacks are only used in over-the-air activation, so they are
5046
// left empty here (we cannot leave them out completely unless

0 commit comments

Comments
 (0)