This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Getting data from characteristic

Hello,

I'm using nrf52832, sdk17 and Seeger Embedded Studio. I am using ble_app_uart example.

I am connecting with my phone and using RX and TX characteristics. My question is how can I get the data of RX characteristic to a basic variable?

I know that when I write a data from my phone to characteristic, the application is getting data from BLE and writing to uart. I want it to also write to a variable. The point of my question is I am not sure how can I get the data written in some characteristic from main function. How can I get it, can you share me a basic code to do that.

Thank you for your support.

Parents Reply Children
No Data
Related