Search found 2 matches

by lis8215
Sat Jul 01, 2017 6:33 am
Forum: ESP-IDF
Topic: BLE graceful disconnect problem
Replies: 4
Views: 8173

BLE graceful disconnect problem

Hello all, I have trouble with subject of this topic. I use gatt_client example as base, and can establish connection to Peripherals without problems. But i can't disconnect from Peripherals later even esp_ble_gattc_app_unregister(gattc_if) not helps - after that conenction was gone from API but rea...
by lis8215
Sat Jul 01, 2017 6:21 am
Forum: General Discussion
Topic: BLE graceful disconnect
Replies: 1
Views: 3829

BLE graceful disconnect

Hello all,

I am not able to gracefully clean connection to device when esp32 in Central mode, even when i call esp_ble_gattc_app_unregister(gattc_if) the connection stays active in background.

Can someone share a code for BLE graceful disconnect from Peripheral(s).

Thanks in advance.