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

ble directed advertising after paring and bounding, Expect a connect with peer device

development setup:

     sdk: nrf5_sdk_15.3.0

     LE protocol stacks: s112_nrf52_6.1.1_softdevice

    toolchain: MDK-ARM Professional 5.28.0.0

description:

    when we use ble HID or HEADSET, after connecting to the  phone perform pairing and bounding, restart HID or HEADSET, can Immediately reconnected.

    but i use Vendor Specific device ,as Peripheral Role, perform paring and bounding with phone.then restart device ,device send directed advertising. but cannot reconnectation.

    is Vendor Specific device  cannot  implement this mechanism.

  • Hello,

    The reason that they aren't connected is because the central (iPhone I guess from your screenshot) doesn't scan for the peripheral when they disconnect. This is typically used in HID devices, where it is important to have a really quick reconnect if the mouse or keyboard disconnects due to noise or packet loss, so that the used doesn't realize that the disconnect occured.

    However, if the central doesn't scan for the directed advertisements, there isn't really much to do about it. 

    Best regards,

    Edvin

Related