Bidirectional UART over BLE

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi All,

I was able to adapt the hello_sensor application to my board and I'm able to send data from the sensor to the client (or phone) but not the other way round. How can I get the client to take the uart data and transmit to the slave?

Thanks in advance for your help.

0 Likes
1 Solution
AnjanaM_61
Moderator
Moderator
Moderator
5 comments on KBA First comment on KBA 5 questions asked

Hi,

You can do a GATT Characteristic write from the Client (phone) to the slave with whatever UART data you have in the application.

Please have a look at Hello Client example and test Characteristic writes with Hello sensor example.

Thanks & Regards,

Anjana

View solution in original post

1 Reply
AnjanaM_61
Moderator
Moderator
Moderator
5 comments on KBA First comment on KBA 5 questions asked

Hi,

You can do a GATT Characteristic write from the Client (phone) to the slave with whatever UART data you have in the application.

Please have a look at Hello Client example and test Characteristic writes with Hello sensor example.

Thanks & Regards,

Anjana