Page 1 of 1

What ESP32 modules support BT in FC10?

Posted: Tue Aug 13, 2024 10:55 pm
by MJU20
I finally upgraded the ESP-IDF to its latest version.

I downloaded a Bluetooth example from the Wiki page:
https://www.flowcode.co.uk/wiki/index.p ... (Wireless)

I confirmed that BT-legacy was enabled (checked in SDCONFIG), and then compiled the Flowcode (FC) example for my first device (ESP32 C3 mini). However, this resulted in an error (also read this: viewtopic.php?p=16338#p16338).

Next, I tried it with an ESP32 Wroom32. This time it compiled successfully with BT-legacy enabled (again checked in SDCONFIG), but I couldn't find a Bluetooth device with the name specified in the component properties.

So now my simple question is (if there aren't any other things I can try with the WROOM and the MINI), which ESP32 modules (from sites like Aliexpress) do support Bluetooth in FC10?

So: who can confirm which modules work 100% with the FC10 Bluetooth component?

This way I don't order 23 other modules and find out late that they don't work :-)

Re: What ESP32 modules support BT in FC10?

Posted: Thu Aug 15, 2024 2:35 am
by daddytims_tims
Hi

I am currently using 5.1.4

It works with the 3 Esp's am using right now
esp32 wroom 32
esp 32 S3 wroom
esp lolin32 lite (c type)

Re: What ESP32 modules support BT in FC10?

Posted: Fri Aug 16, 2024 3:36 pm
by MJU20
Thanks daddytims_tims.

Could you please post a working example of one of the Wroom projects?
This doesn't have to be something special, but just something I can check why I don't see my projects working.

I really think that sharing is something that could make the Flowcode community better.

More devices that work with the Bluetooth in FC10?

Re: What ESP32 modules support BT in FC10?

Posted: Fri Aug 16, 2024 3:56 pm
by daddytims_tims
hi

I created this less than a week ago,
I used this to send analog data from the wroom to the Mit app that is on my phone.

Re: What ESP32 modules support BT in FC10?

Posted: Fri Aug 16, 2024 5:30 pm
by MJU20
Great, thanks for the file.

I've flashed it but the device isn't visible for both my Android phone as for my PC (Win11).
I've looked into this: viewtopic.php?t=2047&start=10 but can't really figure out what changes I must apply in the menuconfig.bat to get this working.

I've went in the config.bat and even enabled these:

Component config -> Bluetooth ->Bluedroid Options -> Classic BT HID
[*] Classic BT HID host
[*] Classic BT HID Device

Can't detect the device :-$

Re: What ESP32 modules support BT in FC10?

Posted: Fri Aug 16, 2024 6:43 pm
by daddytims_tims
Hi

Hi there something to note. It caught me by surprised but not again.
when complied SPP project and then you Change the menu menuconfig.bat. then saved.
I was wait there like 5-10 minutes. for it to work but it didn't.

(you have to recompile again in order for the new changes to take place). Then it will come up

Here's is what I follow on getting mine to work. Follows these and you will work it out

>> On the BLE Configure image below mine is slightly different. I just follow what is there.
>> I then Read what BenR said

I save the image and then Copy the text to my laptop. For Future use like now.

Re: What ESP32 modules support BT in FC10?

Posted: Fri Aug 16, 2024 10:13 pm
by daddytims_tims
hi

This is how mine looks, just copy what is there.

Re: What ESP32 modules support BT in FC10?

Posted: Sat Aug 17, 2024 5:25 pm
by MJU20
Thank you daddytims_tims!

But it still does not work.
I'm using the ESP IDF 5.3x (the most recent version at this moment) and some features like "Secure simple pairing" isn't available in my version of menuconfig.bat (or it is hidden?).

I can flash the program to the ESP32 but I can not find the device on any Bluetooth device (2 Android phones and my PC).
What am I doing wrong??
BT1notWorking2.jpg
BT1notWorking2.jpg (125.12 KiB) Viewed 5837 times

Re: What ESP32 modules support BT in FC10?

Posted: Sat Aug 17, 2024 5:39 pm
by MJU20
Found it, will be back later..

Re: What ESP32 modules support BT in FC10?

Posted: Sun Aug 18, 2024 5:23 pm
by MJU20
I found the solution.

In this topic: viewtopic.php?f=14&t=2455 I missed setting for the BR/EDR only..

I changed it via this way:
Controller Options -> Bluetooth Controller Mode and change the option to BR/EDR Only.
But then it didn't work the first time.

What I've learned is to delete the whole project folder on my computer and compile again (then change the settings again via menuconfig.bat and recompile the whole thing, and this time it worked.

I must keep this in mind for the future.
The ESP has so many features and settings that it is sometimes difficult to find out what setting has to be changed for what purposes.
The info is sometimes shattered around so it is very difficult to find the right place to start searching.

But please keep in mind that this topic : viewtopic.php?f=14&t=2455 has answers important info..

Thanks to anyone that helped.