ESP32 classic BT issue

keekoo
Posts: 1
Joined: Thu Jun 29, 2023 8:51 am

ESP32 classic BT issue

Postby keekoo » Thu Jun 29, 2023 9:35 am

Hi all,

I have two ESP32:
- an ESP32-CAM (ESP32-S?) which connects to an android app by bluetooth classic, no issues (works great with any Android, also gets listed on IOS and MacOS).

Ran out of GPIO pins, so i got another ESP32
- an ESP-WROOM-32 (ESP32DEVKITV1?), but if using classic BT it won't show on a Samsung J3 using android 5.1 (which is my target device).

I'm now just using a basic BT example from arduino IDE, but the Wroom won't even get listed on the Samsung, although on different Android phones it works fine. It also won't show on IOS, but does on MacOS.

What could be the issue? Any tips on how to debug it?
Hardware wise, are these 2 ESPs the same, or is there any difference? Using Arduino IDE, what would change from choosing a different ESP device that could interfere on BT protocol settings? Is there some kind of firmware update (or downgrade) i should consider?

Sorry for the newbie questions, I'm fine around Android, but new to this.

Thanks!

tanmanh0707
Posts: 15
Joined: Fri Jun 23, 2023 3:26 am

Re: ESP32 classic BT issue

Postby tanmanh0707 » Sat Jul 01, 2023 12:53 am

I'm not sure why it's only listed on some devices but here are some hints you might want to try:

1. Are you using multiple devices to do BT scan at the same time? Android, iOS, macOS are scanning at the same time?
2. Check the code and make sure it set scan mode to discoveriable, the api name is esp_bt_gap_set_scan_mode
3. Remove paired devices before scanning https://github.com/espressif/arduino-es ... evices.ino

Who is online

Users browsing this forum: No registered users and 60 guests