-
-
Notifications
You must be signed in to change notification settings - Fork 84
Description
I updated to the latest version of esp-idf (v5.5) and the latest esp-nimble-cpp (2.3.1), and I needed to to enable CONFIG_BT_NIMBLE_ROLE_CENTRAL=y to make my code compile.
The latest release of esp-idf (v5.5), updated the underlying nimble library. In particular, it added #if MYNEWT_VAL(BLE_GATTC) around some of the deprecated functions:
esp-nimble-cpp calls the deprecated ble_gattc_... instead of ble_gatts_... function. The ble_gattc_... function calls the ble_gatts_... directly, so it seems like esp-nimble-cpp could just call the ble_gatts_... function directly.
I believe the only place the ble_gattc_indicate_custom and ble_gattc_notify_custom are called are in this file:
https://github.com/h2zero/esp-nimble-cpp/blob/master/src/NimBLECharacteristic.cpp#L281