5 years ago.

mbed-os cordio ble uart nrf52832

Hello world :-)

I am switching from Nordic SoftDevice/SDK to ARM Cordio BLE stack. Solution is using BLE UART transport and need one also in Cordio. This is critical requirement. Board is Custom based on nRF52832 Target. I am new to Cordio, thus my questions:

1.Is BLE UART Profile/Service already supported on Cordio?

2. Can I move my Nordic SDK code to Cordio with a simple redefine in mbed_app.json?

3. Where can I find Cordio BLE UART examples?

4. Where can I find Cordio source code repository? (also note #11750).

Using UART I have created a CLI (Command Line Interface) just as on COM/USB_VCOM/TCP that can direct device and get various readings and their history. Can you recommend any better way over some kind of custom data profile that would be better to use than UART? UART does not seem to be preferred in BLE but it is really convenient to use is as Telnet like CLI with easily exapandable funcionalities as opposed to stiff BLE Services/Profiles.

Any hints appreciated :-)

Here is a Github Issue to track the BLE UART on CORDIO development: https://github.com/ARMmbed/mbed-os/issues/11753

posted by Tomasz CEDRO 31 Oct 2019

Here is a Forum thread: https://forums.mbed.com/t/arm-cordio-ble-uart/5830

posted by Tomasz CEDRO 31 Oct 2019

1 Answer

5 years ago.

Hi Tomasz,

1.Is BLE UART Profile/Service already supported on Cordio?

3. Where can I find Cordio BLE UART examples?

Please check here, UART profile is not formally supported on Cordio.

2. Can I move my Nordic SDK code to Cordio with a simple redefine in mbed_app.json?

Not sure what you are asking, if you have a project built with Nordic SDK, and want to move it to Mbed OS with Cordio, you need to re-write the code since the API is different.

4. Where can I find Cordio source code repository? (also note #11750).

Host is here

LL is here

Regards, Desmond

Thanks for quick response Desmond. Any chance that BLE UART will show up soon? No UART disqualifies CORDIO at all :-(

posted by Tomasz CEDRO 30 Oct 2019

No problem, we don't have a plan yet, so I am not able to give you the date, sorry about that.

posted by Desmond Chen 31 Oct 2019