Esp-idf: [TW#12790] Feature request: simple BT to UART bridge

Created on 20 May 2017  路  8Comments  路  Source: espressif/esp-idf

Hi,
I have some experience with ESP8266 and HC-05. And I was kind of hoping to meet here any analog to this functionality. I have no idea what is HCI, Gatt, BT Classic, Bluedroid, etc.. which are used in examples.
What will be really helpful (I guess for lots of ESP32 users) is to have some "getting started" example which will contain something like Arduino's software serial :
`_if (uart0.available()) {
uart1.write(uart0.read());
}

if (uart1.available()) {
uart0.write(uart1.read());
}_`
where uart0 is connected to PC through FTDI(usb to uart) and uart1 is connected to PC (or phone) via BT.

Most helpful comment

We do plan to support SPP in ESP-IDF, but it's currently low priority. So maybe a couple of releases down the road...

All 8 comments

There is no support for SPP at the moment (which is what HC-05 uses), so this may take some time to implement. Suggest reading a bit about GATT in the meantime...

@igrr, thanks for clear answer. Does anybody have planse to implement it?
Sure I'll get falimiar with GATT. just wanted to start with something simple

We do plan to support SPP in ESP-IDF, but it's currently low priority. So maybe a couple of releases down the road...

Need this for my current project aswell, sooner please ? currently want to emulate hm10 in BLE ;) thanks

@PhilColbert We will release used uart command to control BLE in the next version(2.1) of SDK, thanks.

Thank you :)

I have a question. Using GATT let me connect an hc05 bluetooth module with BLE like in esp32?

I might be misunderstanding your quesiton, @jesuisdiana, but I do not believe the HC-05 module supports BLE.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

waayst picture waayst  路  4Comments

ESP32DE picture ESP32DE  路  4Comments

beriberikix picture beriberikix  路  3Comments

howroyd picture howroyd  路  3Comments

JLIspace picture JLIspace  路  3Comments