ble uart
Posts: 2
Joined: Mon Apr 13, 2020 8:40 pm

ble uart

Postby » Mon Apr 13, 2020 8:45 pm

Looking to add bleuart to a project.

I see

Is there any documentation on how to properly use this in an application?

Posts: 14
Joined: Tue Nov 12, 2019 7:46 am

Re: ble uart

Postby ESP_Prasad » Tue Apr 14, 2020 2:08 pm

Hi Dwayne,

There is application present in mynewt-core for this, link: ... leuart/src, it can be ported to ESP32 by referring to `bleprph` app in `$IDF/examples/bluetooth/nimble`.

However, we can not use this off the shelf, as the service `bleuart` has mynewt specific console APIs. You might want to explore console component in `esp-idf` which can help to port `bleuart.c` for ESP32 . You can also refer to simplified CLI (`scli.c`) implementation in `example/bluetooth/nimble/bleprph` application. For your quick reference, I have attached modified `bleuart.c` which shall help you to start with.

Please apply attached `Bleuart_config_changes.txt` patch before you run the ported app. Please let me know if you still face any issue.
Patch to be applied on IDF_PATH
(3.28 KiB) Downloaded 29 times
(7.75 KiB) Downloaded 29 times
Posts: 2
Joined: Mon Apr 13, 2020 8:40 pm

Re: ble uart

Postby » Thu Apr 16, 2020 12:10 am

Thanks for the info. I though the bleuart was and active component.

Per your response, and reviewing it I see it really is example in the nimble code space.
I ported what I needed for my project.

Who is online

Users browsing this forum: No registered users and 35 guests