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

Sending a string over BLE using a characteristic

Hello,

I want to develop a data transfer service which has a control characteristic that is used to write commands on the phone app and if the command matches any command in the command list the corresponding response (a string) is sent over another characteristic that will be a notify characteristic.

I saw many posts on Devzone regarding this and all those posts mention about the same ble uart example. I am not able to run this example on my board as there is a RAMcode error that pops up whenever i try to download and debug this example. I also have some doubts regarding this that is there are the uart initialization functions in the code so does it involve the uart to send and receive the data? and in ble_nus_data_send() function there is a call for blcm_link_ctx_get(), I want to know what the uart is doing in this program? also about the role of blcm_link_ctx_get() function which is checked before updating hvx_params.

Is there any other way to do what i want to do? i dont want to involve uart or anything else. I just want to have to characteristics which have the necessary properties.

Kindly help me through!!

Thank you

Parents Reply Children
No Data
Related