In my system with a BLE112 configured as Cable Raplacement Service I've to enable the indications.
From bluegiga documentation:
"Data can be received from DevA with the attribute protocol’s indication operation. Indication is a reliable way of transmitting data from the ATT Server to the ATT client and they are generated whenever the ATT server has some new data to send to the client. Indications can carry up to 20 bytes of application data.
Indications are not sent by default, but the ATT client needs to enable them first. In order to enable the indications:
1. Select the Cable Replacement Service in the BLEGUI’s GATT view
2. Press Descriptors discover in order to see all characteristics and descriptors in the CR service.
3. Once the descriptors discovery is complete, select the Client Characteristics Configuration (UUID: 2902) value that relates to the Cable Replacement Data (UUID: e7add780-b042-4876-aae1-112855353cc1) and select it
4. In order to enable indications for the Cable Replacement Data, use Write button to write value 2 to the Client Characteristics Configuration.
5. Finally make sure the write operation is executed properly (see Log)"
How can I write 2 to Client Characteristics Configuration (UUID: 2902) to enable indications?
Thanks in advance.
Mosè
From bluegiga documentation:
"Data can be received from DevA with the attribute protocol’s indication operation. Indication is a reliable way of transmitting data from the ATT Server to the ATT client and they are generated whenever the ATT server has some new data to send to the client. Indications can carry up to 20 bytes of application data.
Indications are not sent by default, but the ATT client needs to enable them first. In order to enable the indications:
1. Select the Cable Replacement Service in the BLEGUI’s GATT view
2. Press Descriptors discover in order to see all characteristics and descriptors in the CR service.
3. Once the descriptors discovery is complete, select the Client Characteristics Configuration (UUID: 2902) value that relates to the Cable Replacement Data (UUID: e7add780-b042-4876-aae1-112855353cc1) and select it
4. In order to enable indications for the Cable Replacement Data, use Write button to write value 2 to the Client Characteristics Configuration.
5. Finally make sure the write operation is executed properly (see Log)"
How can I write 2 to Client Characteristics Configuration (UUID: 2902) to enable indications?
Thanks in advance.
Mosè