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.

Question regarding notification

Other Parts Discussed in Thread: CC2541

Hi,

I'm using the "Simple Peripheral Profile" project of CC2541 (mini development kit).

Is there a way of enabling notification for specific characteristic within the server as opposed to by command from the client (BTool)?

Is there a way for the application in the server to know when the client enables/disables notification for specific characteristic?

I also don't understand the following:

does this what enables the notification for Characteristic ?

      // Characteristic 4 configuration
      {
        { ATT_BT_UUID_SIZE, clientCharCfgUUID },
        GATT_PERMIT_READ | GATT_PERMIT_WRITE,
        0,
        (uint8 *)simpleProfileChar4Config
      },

if so how different will it be if I want to enable it in Characteristic 5?, how should I declare simpleProfileChar5Config, I understand from the spec that clientCharCfgUUID  will be used for every Characteristic, how can I find the right handle no to have the client write the notification enable to?

Regards Igal