1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- #if _TRUSTED_NODES >= 1
- struct nodex {
- uint32_t id;
- char nm[32];
- };
- nodex nodes[] = {
- { 0x2601148C , "lora-36 test node" },
- { 0x00000000 , "lora-00 well known sensor" }
- };
- #endif
- #if _LOCALSERVER==1
- struct codex {
- uint32_t id;
- char nm[32];
- uint8_t nwkKey[16];
- uint8_t appKey[16];
- };
- codex decodes[] = {
- { 0x2601148C , "lora-36",
- { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
- { 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11 }
- },
- { 0x00000000 , "lora-00",
- { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },
- { 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11 }
- }
- };
- #endif
|