Hi all,
Is it possible to change a Characteristic User Description for a GATT attribute from a phone?
What I am trying to do is get the current time and date from a phone and send it to the CC2541 over BLE.
so for example this is my characteristic user description for the time on the CC2541
static uint8 timeDescr[] = "THIS IS WHERE TIME GOES";
When I connect to the phone I want the phone to modify this attribute so timeDescr[] = "Tues 12:45:22" or something like that.
// Characteristic Value "Data"
{
{ TI_UUID_SIZE, sensorDataUUID },
GATT_PERMIT_READ, GATT_PERMIT_WRITE,
0,
&timeDescr
}
Basically I want to be able to have the same implementation as changing the device name, but the gatt attribute implementation is hidden for gattAttribute table is hidden for the device name
I have tried doing something like this, but I cant seem to get it to work, any suggestions? Thank you