Home
last modified time | relevance | path

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

/loramac-node-2.7.6/src/mac/
DLoRaMacCrypto.c274 …Len, KeyIdentifier_t keyID, bool isAck, uint8_t dir, uint32_t devAddr, uint32_t fCnt, uint8_t* b0 ) in PrepareB0() argument
276 if( b0 == 0 ) in PrepareB0()
281 b0[0] = 0x49; in PrepareB0()
290 b0[1] = confFCnt & 0xFF; in PrepareB0()
291 b0[2] = ( confFCnt >> 8 ) & 0xFF; in PrepareB0()
295 b0[1] = 0x00; in PrepareB0()
296 b0[2] = 0x00; in PrepareB0()
299 b0[3] = 0x00; in PrepareB0()
300 b0[4] = 0x00; in PrepareB0()
302 b0[5] = dir; in PrepareB0()
[all …]
/loramac-node-2.7.6/src/apps/LoRaMac/common/LmHandler/packages/
DFragDecoder.c570 int32_t b0 = value & 0x01; in FragPrbs23() local
572 return ( value >> 1 ) + ( ( b0 ^ b1 ) << 22 ); in FragPrbs23()