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 it's hard to tell which parameters exactly are invalid here, all I can tell is that the error you're seeing is due to invalid parameters in this call. But I don't see why you need to copy the IRK like this, and not set it to your custom valueby changing the pointer used to point to the IRK you'd like to use.
Best regards,
Simon
Hi
I'm sorry, but it's hard to tell which parameters exactly are invalid here, all I can tell is that the error you're seeing is due to invalid parameters in this call. But I don't see why you need to copy the IRK like this, and not set it to your custom valueby changing the pointer used to point to the IRK you'd like to use.
Best regards,
Simon
I'm sorry, but it's hard to tell which parameters exactly are invalid here,
I am coping Only IRK key. is there any parameters in IRK?
But I don't see why you need to copy the IRK like this,
Yes, but is it wrong?
I am just prepopulating a bonding info structure and coping IRK key from it.
our discussion is not even going towards a solution. what you want me to do?
whitelist_irks[0] = {IRK}; is ok ? returned same error
or passing pointer to IRK to the function "ble_advertising_whitelist_reply" returned the same error.
err_code = ble_advertising_whitelist_reply(&m_advertising,whitelist_addrs,addr_cnt,whitelist_irks,irk_cnt);
APP_ERROR_CHECK(err_code);
if error comes in the line you mentioned, why it is not being detected? is there any bug in SDK that
"ble_advertising_whitelist_reply" can't detect Invalid parameters? which is later detected while starting advertising by "ble_advertising_start()".