mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-05 15:35:50 +00:00
fix(nimble): Add notify characteristic flag support
This commit is contained in:
@@ -65,6 +65,11 @@ static esp_err_t prov_start(protocomm_t *pc, void *config)
|
||||
#if defined(CONFIG_WIFI_PROV_BLE_FORCE_ENCRYPTION)
|
||||
ble_config->ble_link_encryption = 1;
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_WIFI_PROV_BLE_NOTIFY)
|
||||
ble_config->ble_notify = 1;
|
||||
#endif
|
||||
|
||||
/* Start protocomm as BLE service */
|
||||
if (protocomm_ble_start(pc, ble_config) != ESP_OK) {
|
||||
ESP_LOGE(TAG, "Failed to start protocomm BLE service");
|
||||
|
Reference in New Issue
Block a user