Added Arduino Sketch
This commit is contained in:
parent
4060119bca
commit
cedc869411
13
config.h
Normal file
13
config.h
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
// This EUI must be in little-endian format, so least-significant-byte
|
||||||
|
// first. When copying an EUI from ttnctl output, this means to reverse
|
||||||
|
// the bytes. For TTN issued EUIs the last bytes should be 0xD5, 0xB3,
|
||||||
|
// 0x70.
|
||||||
|
static const u1_t PROGMEM APPEUI[8]={ 0x53, 0x94, 0x00, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA };
|
||||||
|
// This should also be in little endian format, see above.
|
||||||
|
static const u1_t PROGMEM DEVEUI[8]={ 0x26, 0x77, 0xB8, 0xB7, 0xAA, 0xAA, 0xAA, 0xAA };
|
||||||
|
#
|
||||||
|
|
||||||
|
// This key should be in big endian format (or, since it is not really a
|
||||||
|
// number but a block of memory, endianness does not really apply). In
|
||||||
|
// practice, a key taken from ttnctl can be copied as-is.
|
||||||
|
static const u1_t PROGMEM APPKEY[16] = { 0x42, 0xCA, 0x86, 0xFF, 0x5C, 0xFC, 0xA4, 0xCA, 0x4B, 0xD1, 0xB5, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA };
|
Loading…
Reference in New Issue
Block a user