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
  • Hi

    I'm sorry, but why exactly have you added these lines to the BLE_ADV_EVT_WHITELIST_REQUEST? From the information you've provided I'm not able to see what you're trying to accomplish, and it seems like the memcpy(&(whitelist_irks[0].irk),&(bond_info.peer_ble_id.id_info.irk),16); line includes a few invalid parameters.

    Best regards,

    Simon

Reply
  • Hi

    I'm sorry, but why exactly have you added these lines to the BLE_ADV_EVT_WHITELIST_REQUEST? From the information you've provided I'm not able to see what you're trying to accomplish, and it seems like the memcpy(&(whitelist_irks[0].irk),&(bond_info.peer_ble_id.id_info.irk),16); line includes a few invalid parameters.

    Best regards,

    Simon

Children
Related