Hi,
I'm playing with code samples for CC2540 (ver 1.3.1). Now, I try to change permission property for characteristic # 2 (UUID 0xFFF2) value in SimpleBLEPeripheral project. By default permissions for values are this like:
- Characteristic #1: Read/Write
- Characteristic #2: Read
- Characteristic #3: Write
- Characteristic #4: Notify
- Characteristic #5: Read
Ok, to change permission for characteristic #2 value I go to "SimpleGATTProfile.c" and set permissions from "GATT_PERMIT_READ" to "GATT_PERMIT_READ | GATT_PERMIT_WRITE":
// Characteristic Value 2
{
{ ATT_BT_UUID_SIZE, simpleProfilechar2UUID },
GATT_PERMIT_READ | GATT_PERMIT_WRITE,
0,
&simpleProfileChar2
},
But when see permissions on debug utility installed on iPhone - permissions not changet.
Question: What is wrong and how to change permissions to values of characteristics?
Thanks,
V