BLE GATT server undiscoveryable when WiFi fail

huybk213
Posts: 13
Joined: Tue Jan 01, 2019 9:13 am

BLE GATT server undiscoveryable when WiFi fail

Postby huybk213 » Sun Sep 22, 2019 5:07 am

Hi everyone.

My project has wifi and ble gatt server coexist.
I'm able to run program with BLE and WiFi Simultaneously.
I'm able to provide WiFi SSID and Password via ble gatt server, and ESP32 successful connect to AP.
But when i'm trying to config wrong SSID - wrong password, but when esp32 trying to connect to AP, BLE server not working anymore.
My mobile phone cannot see ble device.

Please help me to figure out why that problem happen.
Thank you so much

huybk213
Posts: 13
Joined: Tue Jan 01, 2019 9:13 am

Re: BLE GATT server undiscoveryable when WiFi fail

Postby huybk213 » Sun Sep 22, 2019 5:53 am

In event WIFI_STA_START, i,m try to connect to AP by calling func esp_wifi_connect ( with wrong SSID and password ).
Then BLE service is no more running.

Who is online

Users browsing this forum: No registered users and 353 guests