This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

BLE slave notification success callback

Hello,  I am using nrf52832. My BLE device is slave device and its sending notification to master. I want to know if there is any feature to know if notification from particular characteristic has successfully sent / failed. I know there is BLE_EVT_TX_COMPLETE but it wouldn't give info of characteristic handler.  

Parents Reply Children
  • Hi,

     is currently out-of-office (summer vacation season here in Norway.)

    From what I understand the functionality that you ask for does not fit with the way this event currently works. As is, you get a count describing how many packets are sent. In order to get more information about what packets, we would either need a variable size data structure, or send an event for each and every packet sent.

    The purpose of the event is currently to let you know the size of the tx queue, so that you know when you can queue more packets. For what purpose would you like to know what particular characteristic has been notified?

    Notifications should only fail if the connection is lost before the notification has been successfully sent, after which you should get a disconnect event.

    Regards,
    Terje

Related