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

How to update data through lib_aci_set_local_data()

I am working on BLE. I have created a service using read property(services_set_barometer_service_barometer_data(void *src, int size)) After connection is set-up i am calling service_set_barometer_service_barometer_data() function with proper argument as data pointer(pointing to the sensor value and continuously data is updating) and size, from BLE app. When click on read button from android app first time its updating value (which is same as connecting stage of app from BLE) but if we again click on read button its not updating value but time change is happening on every click on read button. Please suggest me how to update data through service_set characteristics.

Related