fix(protocomm): Remove the configuration check of wifi_provisioning for protocomm component

This commit is contained in:
WanqQixiang
2023-09-25 15:32:03 +08:00
parent fd26abebce
commit 5435c9b04a
6 changed files with 40 additions and 36 deletions
@@ -326,9 +326,7 @@ esp_err_t simple_ble_stop(void)
return ESP_OK;
}
#ifdef CONFIG_WIFI_PROV_DISCONNECT_AFTER_PROV
esp_err_t simple_ble_disconnect(void)
{
return esp_ble_gap_disconnect(s_cached_remote_bda);
}
#endif
@@ -104,7 +104,6 @@ esp_err_t simple_ble_stop(void);
*/
const uint8_t *simple_ble_get_uuid128(uint16_t handle);
#ifdef CONFIG_WIFI_PROV_DISCONNECT_AFTER_PROV
/** Terminates connection
*
* This API is called to initiate disconnection
@@ -112,5 +111,4 @@ const uint8_t *simple_ble_get_uuid128(uint16_t handle);
* @return ESP_OK on success, and appropriate error code for failure
*/
esp_err_t simple_ble_disconnect(void);
#endif
#endif /* _SIMPLE_BLE_ */