Read an attribute value from the local database
Hey!!
I have a BLE application which runs on custom server profile. There are few characteristics of a given service, where the client can modify them. I want to read these characteristics once they are updated by the client. I have tried to use "aci_gatt_read_handle_value" API but I'm not sure whether my implementation is correct or not.
My implementation:
ZoneConfigurationStatus_t zoneStatus;
aci_gatt_read_handle_value(CustomContext.CustomZone_Configuration_StatusHdle, 0, SizeZone_Configuration_Status, &SizeZone_Configuration_Status, &SizeZone_Configuration_Status, &zoneStatus);
LOG_DEBUG("zoneStatus :%d", zoneStatus);
Can anyone help me out with this?
Thanks,
Akash