ESP GATT Attribute value always unit8_t* ?
Posted: Wed Jul 19, 2017 7:54 am
Hi all,
I am facing one trivial issue while coding for BLE GATT characteristic , esp_attr_value_t ( esp_gatts_defs.h) is used in my code for pointing to values to be exchanged.
I need to update a signed value , say for example : time zone of -5 hours, the attribute_value parameter in the esp_attr_value_t
structure is unit8_t* , so its not allowing me to use signed numbers.
should'nt this be a void* instead of unit8_t* ?
I am facing one trivial issue while coding for BLE GATT characteristic , esp_attr_value_t ( esp_gatts_defs.h) is used in my code for pointing to values to be exchanged.
I need to update a signed value , say for example : time zone of -5 hours, the attribute_value parameter in the esp_attr_value_t
structure is unit8_t* , so its not allowing me to use signed numbers.
should'nt this be a void* instead of unit8_t* ?