Bluetooth: Add callback for identity resolution
This callback is called if identity was resolved for remote device that was using Resolvable Private Address while connection. From now on only Identity Address is used. Change-Id: I5976be575a8e4ad8c13f56d7bc274d751ae37511 Signed-off-by: Szymon Janc <ext.szymon.janc@tieto.com>
This commit is contained in:
parent
81c445c02e
commit
393dad0ccf
4 changed files with 26 additions and 0 deletions
|
@ -138,6 +138,9 @@ int bt_conn_security(struct bt_conn *conn, bt_security_t sec);
|
|||
struct bt_conn_cb {
|
||||
void (*connected)(struct bt_conn *conn);
|
||||
void (*disconnected)(struct bt_conn *conn);
|
||||
void (*identity_resolved)(struct bt_conn *conn,
|
||||
const bt_addr_le_t *rpa,
|
||||
const bt_addr_le_t *identity);
|
||||
|
||||
struct bt_conn_cb *_next;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue