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

can we send the combined data in ble_nus_send

hi ,,, i am getting the four data from various sensors, then i want to combine all the four data and send in ble_app in variable , example x=10;y=30;z=34 using sprintf i am converting into the string . now using  data= strcat(x,y) , combining the data . is it possible to send the all data in single ble_nus_send. ble_nus_send(&m_nus,data,sizeof(data),m_conn_handle);

Related