Quantcast
Channel: Wireless Connectivity
Viewing all articles
Browse latest Browse all 116964

Forum Post: Question regarding notification

$
0
0

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


Viewing all articles
Browse latest Browse all 116964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>