Page 1 of 1

ESP32 and BLE

Posted: Thu Feb 18, 2021 10:20 am
by kennethnilsen69
I can not find any component for BLE. I want to use the internal BLE in ESP32 but only find Bluetooth (SPP ESP32). Can this also be used for BLE? I only get error messages with this component even though I have followed all the advice in this link
viewtopic.php?f=5&t=16

cc1.exe: some warnings being treated as errors
ninja: build stopped: subcommand failed.
Executing action: all (aliases: build)
Running ninja in directory c:\ev-power-norway\ble_test\build
Executing "ninja all"...
ninja failed with exit code 1

Build Failed
.


Autoclose turned off



PS: Possibly this should be under Bug Reports (moderator can move it over yours if it belongs there)

Re: ESP32 and BLE

Posted: Thu Feb 18, 2021 4:17 pm
by LeighM
No, sorry, we don't yet have a BLE component.

Re: ESP32 and BLE

Posted: Thu Feb 18, 2021 5:55 pm
by kennethnilsen69
in FC7 I use the HC05 / HC06 component for BLE and it works great for that. But since BLE is integrated in the ESP32 module, I'm not sure if I can use it. Do not know how to set up the communication since I can not use TX / RX as I usually do.

Does anyone here know how I can send AT commands to the BLE module?. Is there any firmware that needs to be updated so that it can function as a BLE instead of SPP?

Re: ESP32 and BLE

Posted: Sat Feb 20, 2021 3:12 pm
by kennethnilsen69
Does no one know how to activate and communicate with the BLE module on an ESP32?

I'm happy for all the help I can get