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?
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?
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
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
why exactly have you added these lines to the BLE_ADV_EVT_WHITELIST_REQUEST
I am trying to add IRK to whitelist.
memcpy(&(whitelist_irks[0].irk),&(bond_info.peer_ble_id.id_info.irk),16); line includes a few invalid parameters.
what are few invalid parameters in this line ?