forked from Kaasfabriek/erwin50
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkeys.h.example
17 lines (15 loc) · 1.33 KB
/
keys.h.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//
//------------------ copy/pasted from https://console.thethingsnetwork.org/applications/YOURAPP/devices/ ------------
// Device ID YOURTHING
// Device EUI 00112233445566FF hex
// Application EUI 11223344556677FF hex
// Device Address 223344FF hex
// Network Session Key { 0x33, 0x44, 0x55, 0x66, 0x77, 0x88, 0x99, 0x00, 0xAA, 0xBB, 0xCC, 0xDD, 0xEE, 0xFF, 0x00, 0x11 } msb
// App Session Key { 0xDD, 0xEE, 0xFF, 0x00, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88, 0x99, 0xAA, 0xBB, 0xCC } msb
// const char *devAddr = "223344FF";
// const char *nwkSKey = "3344556677889900AABBCCDDEEFF0011";
// const char *appSKey = "DDEEFF00112233445566778899AABBCC
//---------------------------------
//static const u4_t DEVADDR = 0x223344FF ; // copy the value from "Device Address"
//static const PROGMEM u1_t NWKSKEY[16] = { 0x33, 0x44, 0x55, 0x66, 0x77, 0x88, 0x99, 0x00, 0xAA, 0xBB, 0xCC, 0xDD, 0xEE, 0xFF, 0x00, 0x11 }; // copy the value from "Network Session Key" msb formatted
//static const u1_t PROGMEM APPSKEY[16] = { 0xDD, 0xEE, 0xFF, 0x00, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88, 0x99, 0xAA, 0xBB, 0xCC }; // copy the value from "App Session Key" msb formatted