5 years, 8 months ago.

Problem of UARTSERIAL

Hello, i'm new in mbed.I try to connect my device bluetooth to stm32 of using the library UARTSerial but i don't know how to choose the buffer of rx? Help me.

2 Answers

5 years, 8 months ago.

Hi Adama,

Are you using the latest version of Mbed OS? You can learn about the differences between Mbed OS 2 and Mbed OS 5 here: https://os.mbed.com/docs/v5.9/tutorials/major-releases.html

If you are using Mbed OS 5 you can use the built in Serial API. Documentation on how to use this API is available here: https://os.mbed.com/docs/v5.9/reference/serial.html

Please let me know if you have any questions!

- Jenny, team Mbed

If this solved your question, please make sure to click the "Thanks" link below!

5 years, 8 months ago.

You can use my wrapper around UARTSerial, as it was difficult for me to set up as well https://github.com/pilotak/AsynchSerial