loraconf.sample.h edited
This commit is contained in:
parent
0375185f68
commit
5096cd8751
@ -47,7 +47,6 @@ static const u1_t APPKEY[16] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/************************************************************
|
/************************************************************
|
||||||
* ABP configuration (for development)
|
* ABP configuration (for development)
|
||||||
*
|
*
|
||||||
@ -63,16 +62,20 @@ static const u1_t APPKEY[16] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|||||||
************************************************************/
|
************************************************************/
|
||||||
#ifdef LORA_ABP
|
#ifdef LORA_ABP
|
||||||
|
|
||||||
// ID of LoRaAlliance assigned Network (for a list, see e.g. here https://www.thethingsnetwork.org/docs/lorawan/prefix-assignments.html)
|
// ID of LoRaAlliance assigned Network (for a list, see e.g. here
|
||||||
|
// https://www.thethingsnetwork.org/docs/lorawan/prefix-assignments.html)
|
||||||
static const u1_t NETID = 0x13; // TTN
|
static const u1_t NETID = 0x13; // TTN
|
||||||
|
|
||||||
static const u1_t NWKSKEY[16] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
static const u1_t NWKSKEY[16] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00};
|
||||||
|
|
||||||
static const u1_t APPSKEY[16] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
static const u1_t APPSKEY[16] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00};
|
||||||
|
|
||||||
static const u4_t DEVADDR = 0x00000000; // <-- Change this address for every node!
|
static const u4_t DEVADDR =
|
||||||
|
0x00000000; // <-- Change this address for every node!
|
||||||
|
|
||||||
// set additional ABP parameters in loraconf_abp.cpp
|
// set additional ABP parameters in loraconf_abp.cpp
|
||||||
void setABPParamaters();
|
void setABPParamaters();
|
||||||
|
Loading…
Reference in New Issue
Block a user