mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 22:20:37 +00:00
mesh: print ttl
This commit is contained in:
parent
568e37651a
commit
1f2a88929d
@ -128,8 +128,6 @@ static uint8_t encryption_block[16];
|
||||
static uint8_t obfuscation_block[16];
|
||||
|
||||
// network pdu decoding buffer
|
||||
static uint8_t network_pdu_data[29];
|
||||
|
||||
static uint8_t network_nonce[13];
|
||||
|
||||
// processing
|
||||
@ -328,6 +326,8 @@ static void process_network_pdu_validate_d(void * arg){
|
||||
// match
|
||||
printf("NetMIC matches\n");
|
||||
|
||||
printf("TTL: 0x02x\n", network_pdu->data[1] & 0x7f);
|
||||
|
||||
// validate packet
|
||||
uint16_t src = big_endian_read_16(network_pdu->data, 5);
|
||||
uint16_t dst = big_endian_read_16(network_pdu->data, 7);
|
||||
|
Loading…
x
Reference in New Issue
Block a user