Skip to content

Commit e4b82d1

Browse files
authored
Update Comissioning_mydev.h
1 parent 235bc81 commit e4b82d1

File tree

1 file changed

+13
-15
lines changed

1 file changed

+13
-15
lines changed

src/Comissioning_mydev.h

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -26,31 +26,17 @@ Maintainer: Miguel Luis and Gregory Cristian
2626
*/
2727
#define LORAWAN_PUBLIC_NETWORK true
2828

29-
/*!
30-
* IEEE Organizationally Unique Identifier ( OUI ) (big endian)
31-
*/
32-
//#define IEEE_OUI 0x00, 0x00, 0x00
33-
3429
/*!
3530
* 64 bit end-device identifier, EUI-64 (unique)
3631
* The EUIs are used to identify all of the (virtual) parts of the LoRaWAN inside the backend server.
37-
*
32+
*
3833
*/
3934
#define LORAWAN_DEVICE_EUI { 0x00, 0x80, 0x77, 0x31, 0x37, 0xB4, 0x8E, 0xE1 }
4035
/*!
4136
* 64 bit eapplication identifier, EUI-64 (unique)
4237
*/
4338
#define LORAWAN_APPLICATION_EUI { 0x70, 0xB3, 0xD5, 0x7E, 0xF0, 0x00, 0x63, 0x66 }
4439

45-
/*!
46-
* AES encryption/decryption cipher application key
47-
*/
48-
#define LORAWAN_APPLICATION_KEY { 0x70, 0xB6, 0xB6, 0xE3, 0x2B, 0xF2, 0x05, 0x37, 0x37, 0x89, 0x2A, 0xAE, 0x79, 0xE0, 0xD7, 0x73 }
49-
/*!
50-
* Current network ID
51-
*/
52-
#define LORAWAN_NETWORK_ID ( uint32_t )0x13
53-
5440
/*!
5541
* Device address on the network (big endian)
5642
* This device address is a non-unique 32-bit adres
@@ -60,14 +46,26 @@ Maintainer: Miguel Luis and Gregory Cristian
6046
#define LORAWAN_DEVICE_ADDRESS ( uint32_t )0x2601195F
6147

6248
/*!
49+
* Network Session Key
6350
* AES encryption/decryption cipher network session key
6451
* he NwkSKey is known by the network and the device and is used to validate the integrity of each message by its Message Integrity Code (MIC) (AES-CMAC)
6552
*/
6653
#define LORAWAN_NWKSKEY { 0x75, 0x44, 0x5D, 0xCB, 0x6B, 0xD8, 0xA1, 0xD4, 0xC5, 0x25, 0x72, 0xC1, 0x46, 0xC4, 0x73, 0x3C }
6754
/*!
55+
* Application Session Key
6856
* AES encryption/decryption cipher application session key
6957
* The AppSKey is used for end-to-end encryption of the frame payload. (AES-128)
7058
*/
7159
#define LORAWAN_APPSKEY { 0xA3, 0xC7, 0x8F, 0x27, 0x2A, 0x26, 0xF3, 0x9D, 0xD2, 0x59, 0x5D, 0x3A, 0x1F, 0x6D, 0xFE, 0x25 }
7260

61+
62+
/*!
63+
* AES encryption/decryption cipher application key
64+
*/
65+
#define LORAWAN_APPLICATION_KEY { 0x70, 0xB6, 0xB6, 0xE3, 0x2B, 0xF2, 0x05, 0x37, 0x37, 0x89, 0x2A, 0xAE, 0x79, 0xE0, 0xD7, 0x73 }
66+
/*!
67+
* Current network ID
68+
*/
69+
#define LORAWAN_NETWORK_ID ( uint32_t )0x13
70+
7371
#endif // __LORA_COMMISSIONING_H__

0 commit comments

Comments
 (0)