Bluetooth SPP 32 no function

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
SpeedPIC32
Posts: 252
http://meble-kuchenne.info.pl
Joined: Thu Dec 10, 2020 2:35 pm
Has thanked: 36 times
Been thanked: 17 times

Flowcode v10 Bluetooth SPP 32 no function

Post by SpeedPIC32 »

Hello all

just trying to start Bluetooth SPP on the chip esp32 wroom-32.
the copiler runs through without error message and nothing happens.
Apparently I have to change something at some point to get bluetooth to work. no cell phone can find the chip as a participant. why is there no batchfile offered here to make this change. I use FC because I just want to program graphically and can't do anything else. if I could program in c, I wouldn't need fc.
my old problem "Problem with the interrupt Pic32mx150F128b" is simply not followed up and solved. then i try to cleverly work around my problem with the esp32 and i have the next problem on my hands. somewhere in forum 2022 it was apparently solved once (reprogrammed by hand). but it still exists, after months and countless abdates. I have reinstalled everything once and am glad that already times when copilieren no error comes. and then you have to find out does not work. I do not want to hear now man can bypass the error with HC05. so now you're asked. please a description for a beginner. :roll:

greeting SpeedPic32

Translated with www.DeepL.com/Translator (free version)
ESP32SPP.fcfx
(10.11 KiB) Downloaded 46 times

BenR
Matrix Staff
Posts: 1739
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 440 times
Been thanked: 603 times

Re: Bluetooth SPP 32 no function

Post by BenR »

Hello,

We will look again at his and make sure that the Bluetooth legacy mode is enabled by default, it should be but one or more devices may have slipped through the net so worth double checking.

SpeedPIC32
Posts: 252
Joined: Thu Dec 10, 2020 2:35 pm
Has thanked: 36 times
Been thanked: 17 times

Flowcode v10 Re: Bluetooth SPP 32 no function

Post by SpeedPIC32 »

Hello,

I think that's good.
Thank you very much for that.
It's fun to work with FC10 when everything works. Thank you

BenR
Matrix Staff
Posts: 1739
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 440 times
Been thanked: 603 times

Re: Bluetooth SPP 32 no function

Post by BenR »

Hello,

I've pushed a change to the library system for the ESP32 build batch files and FCDs.

The new batch file once run using compile to hex or compile to target should generate a new file called "menuconfig.bat" inside the project build directory. For example if your Flowcode project is called Test then in that same folder will be another folder named test and the menuconfig.bat will be inside that folder.

If you double click it then it will now take you directly to the menuconfig tool that will allow you to configure the settings for the project in a graphical way. It looks like what we were trying to do was working but then after compilation the config file was being overwritten and so maybe better to use the inbuilt IDF tool rather then trying to be too clever about things.

On running the menuconfig.bat batch file, the Bluetooth settings are inside the following menu.
Component Config -> Bluetooth ->

Then the Classic Bluetooth and SPP also needs enabling here.
Component Config -> Bluetooth -> Bluedroid Options

Press Q to quit followed by Y to save.

stefan.erni
Valued Contributor
Posts: 758
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 149 times
Been thanked: 171 times

Re: Bluetooth SPP 32 no function

Post by stefan.erni »

Hi Ben, Hi SpeedPIC32

I tested and it's working fine with the batch file and the modificationen in the config.

regards


Stefan

Creat a new project and it's working
Snag_c1a1e2.png
Snag_c1a1e2.png (130.3 KiB) Viewed 795 times

SpeedPIC32
Posts: 252
Joined: Thu Dec 10, 2020 2:35 pm
Has thanked: 36 times
Been thanked: 17 times

Flowcode v10 Re: Bluetooth SPP 32 no function

Post by SpeedPIC32 »

hello
does not work
what do I need to install and where do I find the right files?
Where do I get the batch files.
Which esp-idf-tools-setup-2.3.exe 3234KB or the one with 343073KB is the right one? should I still work with PY.3.7 or better with a newer version ?
Does the last update have an influence on the ESP32 setup?
I would like to have a step-by-step guide to the installation of esp32.
e.g. 1. select yes no you have a non-functioning ESP32 installation.
yes then uninstall that that that.
no download the file from here. 343072KB from 22.07.23
2. start the installation etc.

greetings SeedPic32

BenR
Matrix Staff
Posts: 1739
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 440 times
Been thanked: 603 times

Re: Bluetooth SPP 32 no function

Post by BenR »

Hello,

If you're able to compile now then you shouldn't have to change your toolchain installation at all.

If you are not able to compile then please see the installation guide here.
https://www.flowcode.co.uk/wiki/index.p ... _Toolchain

The upgraded build batch file I spoke of is upgraded by going to Help -> Library Updates in Flowcode and you probably want to do a full database update to get the latest of everything.

Then with the new build batch in place, when you compile to hex or to chip the configure batch file is created for you inside of your project build folder.

Hopefully this makes sense but let us know if you have any issues.

Post Reply