Ble client fixes for proxy (#6596)

This commit is contained in:
Joakim Plate
2024-04-25 12:05:30 +02:00
committed by GitHub
parent bdc9c66f7e
commit 2fa5846893
5 changed files with 21 additions and 32 deletions
@@ -26,7 +26,9 @@ void Am43::setup() {
void Am43::gattc_event_handler(esp_gattc_cb_event_t event, esp_gatt_if_t gattc_if, esp_ble_gattc_cb_param_t *param) {
switch (event) {
case ESP_GATTC_OPEN_EVT: {
this->logged_in_ = false;
if (param->open.status == ESP_GATT_OK) {
this->logged_in_ = false;
}
break;
}
case ESP_GATTC_DISCONNECT_EVT: {