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
Weren't you trying to do bonding with one of the peripherals initially? If you'd like to only use the IRK, it should be fine to remove the calls to addresses and just focus on IRKs.
It seems like we might be misunderstanding each other, and after re-reading the posts in this case it's not clear to me what you're trying to achieve.
Can you explain to me in detail what you'd like to achieve, and what exactly you're struggling with implementing. I need to get a better overview of what the use case is, and what you're struggling to implement to help you out.
Best regards,
Simon
Lets take IRK of a device(central) is known, I want to add to the whitelist in peripheral which is not bonded to the device(central).
I'm sorry, but I need more details to get a good view of what you are trying to do. From this reply, it seems like the "advertising to pre-shared IRK" describes exactly what you're trying to do. If I'm wrong, please try explaining.
Best regards,
Simon
yes, it is similar but https://devzone.nordicsemi.com/f/nordic-q-a/44471/advertising-to-pre-shared-irk/
is just diverted instead of answering.
In the case you mentioned, he has only one peripheral so instead of adding pre shared IRK, it is suggested to go for bonding once. I have multiple peripheral and I strictly don't want bonding with all devices. so i want add pre-shared irk to whitelist
Okay,
Please use variant #2 in our Directed Advertising MSC as reference to see how directed advertising to a private peer using the device IRK is done. We don't have any code examples doing exactly what you want, so you'll have to put the pieces together.
Best regards,
Simon