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 Reply Children
No Data
Related