I'm using 4.1 and I get that error after this sequence.
My sdkconfig is:
- Bluedroid dual mode
- BLE Only
- Everything (wifi bluetooth) running on Core 0
// INIT TCP/IP
ESP_ERROR_CHECK(esp_netif_init());
// INIT EVENT LOOP
ESP_ERROR_CHECK(esp_event_loop_create_default());
// REGISTER EVENT HANDLERS
ESP_ERROR_CHECK(esp_event_handler_instance_register(WIFI_PROV_EVENT,ESP_EVENT_ANY_ID,&event_handler, NULL, &event_handler_id));
ESP_ERROR_CHECK(esp_event_handler_instance_register(WIFI_EVENT, ESP_EVENT_ANY_ID, &event_handler, NULL, &event_handler_id));
ESP_ERROR_CHECK(esp_event_handler_instance_register(IP_EVENT, IP_EVENT_STA_GOT_IP, &event_handler, NULL, &event_handler_id));
// INIT NETIF & WIFI WITH DEFAULT CONFIG
esp_netif_create_default_wifi_sta();
wifi_init_config_t wconfig = WIFI_INIT_CONFIG_DEFAULT();
ESP_ERROR_CHECK(esp_wifi_init(&wconfig ));
// INIT PROV MANAGER
ESP_LOGE(TAG, "INIT wifi_prov_mgr_init");
wifi_prov_mgr_config_t config;
config.scheme =wifi_prov_scheme_ble;
config.scheme_event_handler.event_cb = wifi_prov_scheme_ble_event_cb_free_bt;
config.scheme_event_handler.user_data = NULL;
config.app_event_handler.event_cb = NULL;
config.app_event_handler.user_data = NULL;
ESP_ERROR_CHECK(wifi_prov_mgr_init(config));
wifi_prov_scheme_ble: bt_mem_release of classic BT failed 259
-
- Posts: 8
- Joined: Wed Sep 02, 2020 12:25 am
Who is online
Users browsing this forum: No registered users and 114 guests