What ESP32 modules support BT in FC10?

For general Flowcode discussion that does not belong in the other sections.
Post Reply
MJU20
Posts: 353
http://meble-kuchenne.info.pl
Joined: Tue Dec 08, 2020 5:11 pm
Has thanked: 101 times
Been thanked: 70 times

Flowcode v10 What ESP32 modules support BT in FC10?

Post 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 :-)

daddytims_tims
Posts: 74
Joined: Thu Jun 16, 2022 6:16 pm
Has thanked: 118 times
Been thanked: 13 times

Re: What ESP32 modules support BT in FC10?

Post 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)

MJU20
Posts: 353
Joined: Tue Dec 08, 2020 5:11 pm
Has thanked: 101 times
Been thanked: 70 times

Re: What ESP32 modules support BT in FC10?

Post 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?

daddytims_tims
Posts: 74
Joined: Thu Jun 16, 2022 6:16 pm
Has thanked: 118 times
Been thanked: 13 times

Re: What ESP32 modules support BT in FC10?

Post 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.
Attachments
ADC_D32_ADC_SPP.fcfx
(13.99 KiB) Downloaded 276 times

MJU20
Posts: 353
Joined: Tue Dec 08, 2020 5:11 pm
Has thanked: 101 times
Been thanked: 70 times

Re: What ESP32 modules support BT in FC10?

Post 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 :-$

daddytims_tims
Posts: 74
Joined: Thu Jun 16, 2022 6:16 pm
Has thanked: 118 times
Been thanked: 13 times

Flowcode v10 Re: What ESP32 modules support BT in FC10?

Post 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.
Attachments
The new batch file once run using c.txt
(990 Bytes) Downloaded 278 times
BLE_Configure.jpg
BLE_Configure.jpg (65.66 KiB) Viewed 5892 times

daddytims_tims
Posts: 74
Joined: Thu Jun 16, 2022 6:16 pm
Has thanked: 118 times
Been thanked: 13 times

Flowcode v10 Re: What ESP32 modules support BT in FC10?

Post by daddytims_tims »

hi

This is how mine looks, just copy what is there.
Attachments
Screenshot mine.png
Screenshot mine.png (193.38 KiB) Viewed 5869 times

MJU20
Posts: 353
Joined: Tue Dec 08, 2020 5:11 pm
Has thanked: 101 times
Been thanked: 70 times

Re: What ESP32 modules support BT in FC10?

Post 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 5828 times

MJU20
Posts: 353
Joined: Tue Dec 08, 2020 5:11 pm
Has thanked: 101 times
Been thanked: 70 times

Re: What ESP32 modules support BT in FC10?

Post by MJU20 »

Found it, will be back later..

MJU20
Posts: 353
Joined: Tue Dec 08, 2020 5:11 pm
Has thanked: 101 times
Been thanked: 70 times

Re: What ESP32 modules support BT in FC10?

Post 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.

Post Reply