WiFi BLE

amank1303
Posts: 1
Joined: Fri Sep 17, 2021 12:43 pm

WiFi BLE

Postby amank1303 » Fri Sep 17, 2021 12:49 pm

Hi guys,

I am using WiFi and BLE in my project. BLE is used to communicate with a phone and store WiFi credentials on board it's SPIFFs. Then I do a BLEDevice::deinit() to use WiFi to perform an HTTPS update using a link.

However, sometimes the esp32 does not connect to WiFi. Can it be possible that when I deinit the bluetooth, there is still some access to the RF antenna that the bluetooth has and that hinders with the WiFi connection?

chegewara
Posts: 2228
Joined: Wed Jun 14, 2017 9:00 pm

Re: WiFi BLE

Postby chegewara » Sun Sep 26, 2021 6:25 pm

No, thats not the problem, because you can use BLE and wifi at the same time. If you wonder if its the case you can add short delay after denit ble and before connect wifi.

Who is online

Users browsing this forum: adadaadadade, Bing [Bot] and 77 guests