|
34 | 34 | #include <SPI.h>
|
35 | 35 |
|
36 | 36 | // 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 }; |
40 | 38 |
|
41 | 39 | // 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 }; |
45 | 41 |
|
46 | 42 | // 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! |
48 | 44 |
|
49 | 45 | // These callbacks are only used in over-the-air activation, so they are
|
50 | 46 | // left empty here (we cannot leave them out completely unless
|
|
0 commit comments