Update Improv BLE component (#5518)
This commit is contained in:
@@ -90,6 +90,8 @@ void BLEService::stop() {
|
||||
ESP_LOGE(TAG, "esp_ble_gatts_stop_service failed: %d", err);
|
||||
return;
|
||||
}
|
||||
esp32_ble::global_ble->get_advertising()->remove_service_uuid(this->uuid_);
|
||||
esp32_ble::global_ble->get_advertising()->start();
|
||||
this->running_state_ = STOPPING;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user