You are here

BLE CyBle_GattsIndication | Cypress Semiconductor

BLE CyBle_GattsIndication

Summary: 3 Replies, Latest post by vojislav.mokric_1616151 on 03 Jun 2016 04:49 AM PDT
Verified Answers: 0
Last post
Log in to post new comments.
nexuter's picture
3 posts



I'm trying to use ble indication but couldn't have any example regarding CyBle_GattsIndication yet.

I started from the BLE CAPSENSE SLIDER LED example project;

1. enable 'indicate' of profile

2. set notification(the second CCCD value) 'true'

3. replace CyBle_GattsNotification with CyBle_GattsIndication

After these modification, I could get only the first  'Characteristic Value Indication' event, and then the following indication events are not received.

Does anybody try CyBle_GattsIndication and show me how to implement it?



HIMA's picture
Cypress Employee
169 posts



Can you attach your project. We will have a look at the project.



pkakadiya_1540891's picture
6 posts


I have a same problem as Nexuter has described above, have anybody get solution of this problem.


I have just enabled indication on my Pioneer Kit. Below is the function that does the thing.

CYBLE_TEMPALARM_CHAR_HANDLE is a ble handle defined in the BLE_custom.h file (since in my case it is the custom defined characteristics TempAlarm with Indicate as a property and uint8 as a Type, with length=1). TEMP_CHAR_DATA_LEN is 1.

I have connected to device via CyBLE dongle and CySmart application and managed to receive the indication... You just need to call the given function with the value of AlarmTemp, in my case temperature below 10 degrees...

void IndicateTempAlarm(uint8 AlarmTemp)
    /* 'BattHandle' stores BattSense indication data parameters */
    CYBLE_GATTS_HANDLE_VALUE_IND_T TempAlarmIndHandle;    
    /* Update indication handle with ... data*/
    TempAlarmIndHandle.attrHandle = CYBLE_TEMPALARM_CHAR_HANDLE;                
    TempAlarmIndHandle.value.val  = &AlarmTemp;
    TempAlarmIndHandle.value.len  = TEMP_CHAR_DATA_LEN;
    /* Send indication. */
    CyBle_GattsIndication(cyBle_connHandle, &TempAlarmIndHandle);

Log in to post new comments.