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

How to add bonding information manually?

Hi,

I want to add bonding information manually. 

1.can I assume IRK key will be constant for multiple peripherals?

2.if IRK only key is available, can i add it to peer list using pm_peer_new? 

 

Parents Reply Children
  • what exact error check is it that returns this INVALID_PARAM error?

    ret_code_t ret = ble_advertising_start(&m_advertising, BLE_ADV_MODE_FAST);

    this line causing the error. if modifications in "BLE_ADV_EVT_WHITELIST_REQUEST" is not made everything working fine.

    that make sense to m that there is problem in the modifications. so I uploaded the modification.

    NOTE: in "BLE_ADV_EVT_WHITELIST_REQUEST" case, all returned success. but at function ble_advertising_start , the error came. 

Related