How can I know if resolved address type will be random static or public?
This is regarding these two posts:
https://community.st.com/t5/stm32-mcus-wireless/ble-how-can-i-know-upon-getting-connection-event-if-device-was/m-p/681086#M19378 Answered by
https://community.st.com/t5/stm32-mcus-wireless/different-event-upon-connection/m-p/223224 ( not answered)
Big confusion here regarding the term 'random' used in all documentation.
Upon connection , it gives either random(?) or public.
Not clear here, Is it random-static? or random-private?
A client connecting to me, that is : private resolvable, and uses public address : will get me a type (1) random(?) ., on connection.
Later, on bonding , the type will change to 0 ( public), for the resolved address.
The issue with types comes to mind when using the _BOND_ commands that require a type.
When supplying the command with a resolved address, I have no way to know what type it has.
It seems from this small example , that the random during connection is random-private-resolvable
and the random type in the bonding list, is random-static. but again, I am not sure!
What gets me to these questions:
How can I know if the resolved address type will be random(?) or public?
I am looking for an easier way, than resolving the address by myself, reading the entire bond list, looking for that address and getting its type.. few I got tired just writing it...
Thanks!
