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

Change storage location for characteristic on the fly?

I have a bunch of custom characteristics in a custom service. I have two different modes of operation that I need to handle and the data associated with these custom characteristics needs to come from one of two different sources depending on the mode that is currently set. When I initially add the characteristics to the interface I am using local storage (BLE_GATTS_VLOC_USER) and setting the p_value pointer to point to my local storage locations. Is there a way to change that pointer after the characteristic has been added? I'd like to change them each time the mode of operation changes.

Thanks.

Parents Reply Children
No Data
Related