I want to send accelerometer data to IBM iot cloud using c language.
In this i am using json format to publish event in cloud.
char *data="{\"d\" : {\"x\" : 43 }}"; //is working correctly ..
I want to send instant values through this pointer in JSON Format.. Please help me how to send the instant values by using JSON format in IBMIOTfclient side