FC11 ESP32-S3 BLE error

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
stefan.erni
Valued Contributor
Posts: 1119
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 214 times
Been thanked: 232 times

Flowcode v11 FC11 ESP32-S3 BLE error

Post by stefan.erni »

Hi to All

I'm using an M5 Stack Atom S3 with display.

This works very well with FC11.
Now I want to use BLE, but I get an error message as soon as I initialize the BLE component.
Atom_S3_Display_BLE.fcfx
(21.22 KiB) Downloaded 10 times
2025-11-21_17-02-13.PNG
2025-11-21_17-02-13.PNG (291.64 KiB) Viewed 163 times
In file included from C:\ProgramData\MatrixTSL\FlowcodeV11\CAL\includes.c:1964,
from C:\C#_sourcecode\_#FC11\Atom_S3_Display\Atom_S3_Display_BLE.h:297,
from C:/Users/Kfs-Forschung/Desktop/esp-idf-2/mtxesp32_s3_sdkconfig/main/esp-project.c:20:
C:\ProgramData\MatrixTSL\FlowcodeV11\CAL\ESP\ESP_CAL_BLE_SPP_Server.c:16:10: fatal error: esp_gap_ble_api.h: No such file or directory
16 | #include "esp_gap_ble_api.h"
| ^~~~~~~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.
ninja failed with exit code 1

BenR
Matrix Staff
Posts: 2009
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 525 times
Been thanked: 718 times

Re: FC11 ESP32-S3 BLE error

Post by BenR »

Aha sorry I'll get on this tomorrow and see if I can fix it for you.

I think it's a still work in progress component but I have the raw C code working so shouldn't take me long to finish off the server/client components.

BenR
Matrix Staff
Posts: 2009
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 525 times
Been thanked: 718 times

Re: FC11 ESP32-S3 BLE error

Post by BenR »

Hello,

Right the ESP32 BT BLE Server is now fully functional and live on the library updates. Let me know if you have a go with it. I've done fairly thorough testing and for me it's very responsive and working great.

Note if I try and pair a device directly in Windows or on my Phone it fails. But if I don't pair and instead connect to it directly from a serial BLE app it's connecting and working as it should.

Another thing to note is in the menuconfig under Component Config -> Bluetooth. You must make sure Bluetooth is enabled, Host is Bluedroid and in Bluedroid options ensure that Enable BLE 4.2 features is checked.

I'll make a start on the Client while I'm on a roll and see if I can get that one finished too.

BenR
Matrix Staff
Posts: 2009
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 525 times
Been thanked: 718 times

Re: FC11 ESP32-S3 BLE error

Post by BenR »

Client is being a bit more elusive to get the scanning and connecting done well.

There's progress but it's not going to be ready today by the looks of it.

Post Reply