diff --git a/components/bt/host/nimble/nimble b/components/bt/host/nimble/nimble index 528a67f4e7..e4a6106885 160000 --- a/components/bt/host/nimble/nimble +++ b/components/bt/host/nimble/nimble @@ -1 +1 @@ -Subproject commit 528a67f4e73f9521609879587a1d7d2180e18372 +Subproject commit e4a61068854850910155a3f5950b10791c3d8381 diff --git a/components/bt/porting/nimble/include/nimble/hci_common.h b/components/bt/porting/nimble/include/nimble/hci_common.h index 70eb982d4a..cb743efac1 100644 --- a/components/bt/porting/nimble/include/nimble/hci_common.h +++ b/components/bt/porting/nimble/include/nimble/hci_common.h @@ -1863,9 +1863,9 @@ struct ble_hci_ev_le_subev_transmit_power_report { uint16_t conn_handle; uint8_t reason; uint8_t phy; - uint8_t transmit_power_level; + int8_t transmit_power_level; uint8_t transmit_power_level_flag; - uint8_t delta; + int8_t delta; } __attribute__((packed)); #define BLE_HCI_LE_SUBEV_BIGINFO_ADV_REPORT (0x22) diff --git a/examples/bluetooth/nimble/blecent/main/main.c b/examples/bluetooth/nimble/blecent/main/main.c index e6916f4a1d..ac16ece4eb 100644 --- a/examples/bluetooth/nimble/blecent/main/main.c +++ b/examples/bluetooth/nimble/blecent/main/main.c @@ -808,7 +808,7 @@ blecent_gap_event(struct ble_gap_event *event, void *arg) #if MYNEWT_VAL(BLE_POWER_CONTROL) case BLE_GAP_EVENT_TRANSMIT_POWER: MODLOG_DFLT(INFO, "Transmit power event : status=%d conn_handle=%d reason=%d " - "phy=%d power_level=%x power_level_flag=%d delta=%d", + "phy=%d power_level=%d power_level_flag=%d delta=%d", event->transmit_power.status, event->transmit_power.conn_handle, event->transmit_power.reason,