From 5b99e0eb725df9a1f7d8f2beadc8a86e1fe75b6d Mon Sep 17 00:00:00 2001 From: Rahul Tank Date: Tue, 9 Apr 2024 18:54:13 +0530 Subject: [PATCH] fix(nimble): Fix the size of num_packets in dtm event --- nimble/host/include/host/ble_gap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nimble/host/include/host/ble_gap.h b/nimble/host/include/host/ble_gap.h index b19fe546a..d9b0c96ff 100644 --- a/nimble/host/include/host/ble_gap.h +++ b/nimble/host/include/host/ble_gap.h @@ -1244,7 +1244,7 @@ struct ble_gap_event { * Valid only for BLE_GAP_DTM_END_EVT * shall be 0 for a transmitter. */ - uint8_t num_pkt; + uint16_t num_pkt; } dtm_state; }; };