Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BLE Possible Conflict with HTTP Operations? #270

Open
Discman777 opened this issue Feb 21, 2025 · 1 comment
Open

BLE Possible Conflict with HTTP Operations? #270

Discman777 opened this issue Feb 21, 2025 · 1 comment

Comments

@Discman777
Copy link

I have an existing ESP32-S3 app that has been running with HTTP, fetch web pages via Wi-Fi. Recently, I added the BLE-Gamepad functionality into my app. With BLE Gamepad working, the https.GET() function is now failing. The WiFi Client access library calls to certificate the https site passed okay, but then https.GET() to fetch the webpage contents would return HTTPC_ERROR_CONNECTION_FAILED status.

Is there any known issue of using BLE-Gamepad with ESP32 http client ops?

Thank you.

@LeeNX
Copy link
Contributor

LeeNX commented Feb 23, 2025

I have yet tried to use WiFi/http stack at the same time, could be an idea for OTA updates.

But from playing with ESPHome, I have seen alot of suggestions to be very careful about using Bluetooth and WiFi together on the ESP32 devices. Reason been that the limited memory of the ESP32 and the Bluetooth stack is pretty big, adding the WiFi and http stack might run into out of memory situations. The other reason I have seen too, is that the Bluetooth and WiFi use the same radio, which can also run into problem, if not managed correctly.

Maybe try plain http requests at first and see if the bigger requirements of https request might not work. Just an idea and guessing.

Hope this helps and you can move forward with your project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants