Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

If I receive Bluetooth Notify as an Indicate, do I need a separate setting?

Hello,
I am running bluetooth example.

I am using the nRF52832 board and SDK 14.0.

I modified the multilink example to make a slight modification and connect it to another device BT. Currently, the service of other device is Notify.

If I change the service of another device from Notify to Indicate, should I set it separately in the NRF Board?

Or does NRF itself support ACK when connected to Indicate? I wonder.

I am curious about the source part that checks the list of services of devices advertised in NRF, and I am also wondering about whether this service is Notify or Indicate.

Help me!

  • Hello,

    The software on the peripheral uses indication, then the central will have to behave accordingly. Depending on whether it is the client/central or the server/peripheral that is sending the indication, you can find the flowcharts here and here.

    So the central has to use the function sd_ble_gattc_hv_confirm(handle) to ACK the pack coming from the peripheral. 

    Best regards,

    Edvin

Related