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
  • You may remove it from HRM but not from Proximity application because the Proximity profile specification mandates Security Level 2 or 3 (Encryption required). Bond Manager handles the security procedures for the application. Also note that by removing Bond Manager your application will need to handle the storage of known masters (if needed) and the System Attributes which is all done by the bond manager. Also you will need to handle the event BLE_GATTS_EVT_SYS_ATTR_MISSING whenever this event is generated by the SoftDevice.

  • Hi Balaji This is another question about bonding manager. In C:\Keil\ARM\Device\Nordic\nrf51822\Board\pca10001\s110\experimental\ble_app_uart project, it's a 128-bit UUID proprietary service. Apps will read this specific UUID to judge to connect. However, if there are over two uart module with same 128-bit UUID, it will be an issue for Mr. right iPHONE to connect to Mr. right UART device. In this case, could we add bonding manager in the souce code, then iPHONE will process pairing at 1st time connection. Can it work? Thanks

Reply
  • Hi Balaji This is another question about bonding manager. In C:\Keil\ARM\Device\Nordic\nrf51822\Board\pca10001\s110\experimental\ble_app_uart project, it's a 128-bit UUID proprietary service. Apps will read this specific UUID to judge to connect. However, if there are over two uart module with same 128-bit UUID, it will be an issue for Mr. right iPHONE to connect to Mr. right UART device. In this case, could we add bonding manager in the souce code, then iPHONE will process pairing at 1st time connection. Can it work? Thanks

Children
No Data
Related