This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

state of character's notification

Hi,

How can i know whether character's notification is opened by peer device?

 & whether it can be open by itself?

  • Hi,

    Host device will enable character notification of peer device by writing to the client characteristic configuration. When ever a write to this done, the Attribute Call back will be called with UUID value of 0x2902. You can add code in your WriteAttrCB() to check if this is called.

    Alternately, you can query from your application for the value off ccfg for that attribute by calling the following API

    uint16 GATTServApp_ReadCharCfg( uint16 connHandle, gattCharCfg_t *charCfgTbl )

    Regards,

    Arun