Skip to main content
Igor Shirokov
Associate II
April 16, 2018
Question

BLUENRG1 notification enabled

  • April 16, 2018
  • 2 replies
  • 641 views
Posted on April 16, 2018 at 17:00

Is there a way to enable the feature notification when connection with the BLUENRG1 module took place? By default, the notification in module is disabled and can be turned on only from the PC.

This topic has been closed for replies.

2 replies

Antonio Vilei
ST Employee
April 17, 2018
Posted on April 17, 2018 at 10:39

Hi Igor,

notifications for a characteristic are sent from the GATT server only if the GATT client has

explicitly

enabled them by writing the related characteristic descriptor.

The rationale for this is reducing the power consumption, because sending the notifications when the client is not reading them would be a waste of energy for a battery powered device.

That's why you have to turn on the notifications from your client (the PC in your configuration).

Best regards,

Antonio

Igor Shirokov
Associate II
April 17, 2018
Posted on April 17, 2018 at 12:55

I understood everything, thank you. I assumed this, but I could not confirm this.