Home
last modified time | relevance | path

Searched refs:netID (Results 1 – 2 of 2) sorted by relevance

/loramac-node-2.7.6/src/mac/
DLoRaMacCrypto.c533 … DeriveSessionKey10x( KeyIdentifier_t keyID, uint32_t joinNonce, uint32_t netID, uint16_t devNonce… in DeriveSessionKey10x() argument
555 compBase[4] = ( uint8_t )( ( netID >> 0 ) & 0xFF ); in DeriveSessionKey10x()
556 compBase[5] = ( uint8_t )( ( netID >> 8 ) & 0xFF ); in DeriveSessionKey10x()
557 compBase[6] = ( uint8_t )( ( netID >> 16 ) & 0xFF ); in DeriveSessionKey10x()
1206 uint32_t netID; in LoRaMacCryptoHandleJoinAccept() local
1208 netID = ( uint32_t )macMsg->NetID[0]; in LoRaMacCryptoHandleJoinAccept()
1209 netID |= ( ( uint32_t )macMsg->NetID[1] << 8 ); in LoRaMacCryptoHandleJoinAccept()
1210 netID |= ( ( uint32_t )macMsg->NetID[2] << 16 ); in LoRaMacCryptoHandleJoinAccept()
1212 retval = DeriveSessionKey10x( APP_S_KEY, currentJoinNonce, netID, nonce ); in LoRaMacCryptoHandleJoinAccept()
1218 retval = DeriveSessionKey10x( NWK_S_ENC_KEY, currentJoinNonce, netID, nonce ); in LoRaMacCryptoHandleJoinAccept()
[all …]
/loramac-node-2.7.6/
DCHANGELOG.md921 … `void LoRaMacInitNwkIds( uint32_t netID, uint32_t devAddr, uint8_t *nwkSKey, uint8_t *appSKey );`