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

[nRF5822] Question about SDK HRM and Proximity examples

Hi I found there is bonding managing routine in SDK HRM and Proximity examples.

bond_manager_init();

It means in these two case, after pairing with BTLE host, the bonding information will be stored in flash memory. but, even if bonding information existed, I found advertising packet is still connectable undirected type but not directed type.

m_adv_params.type        = BLE_GAP_ADV_TYPE_ADV_IND;

I had studied HID example. In HID, after bonding, advertising will start directed packet type in order to speed up BTLE connection. Why not use directed type in these two cases? Or, bonding manager is redundant and useless in these two examples?

Parents
  • Hi Jeffery,

    The HID examples (Keyboard and Mouse) demonstrate the use of the Directed Advertisement feature . They serve as example implementations to which you can refer to if you intend to use this feature in your own app.

    The Heart Rate and Proximity applications very much use the Bond Manager for other purposes (like storing bonding information, whitelist advertisement (in case of proxmity), storing CCCDs etc).

    Cheers, Balaji

Reply
  • Hi Jeffery,

    The HID examples (Keyboard and Mouse) demonstrate the use of the Directed Advertisement feature . They serve as example implementations to which you can refer to if you intend to use this feature in your own app.

    The Heart Rate and Proximity applications very much use the Bond Manager for other purposes (like storing bonding information, whitelist advertisement (in case of proxmity), storing CCCDs etc).

    Cheers, Balaji

Children
No Data
Related