Zephyr Project API 4.0.0
A Scalable Open Source RTOS
|
Authenticated pairing information callback structure. More...
#include <conn.h>
Data Fields | |
void(* | pairing_complete )(struct bt_conn *conn, bool bonded) |
notify that pairing procedure was complete. | |
void(* | pairing_failed )(struct bt_conn *conn, enum bt_security_err reason) |
notify that pairing process has failed. | |
void(* | bond_deleted )(uint8_t id, const bt_addr_le_t *peer) |
Notify that bond has been deleted. | |
sys_snode_t | node |
Internally used field for list handling. | |
Authenticated pairing information callback structure.
void(* bt_conn_auth_info_cb::bond_deleted) (uint8_t id, const bt_addr_le_t *peer) |
Notify that bond has been deleted.
This callback notifies the application that the bond information for the remote peer has been deleted
id | Which local identity had the bond. |
peer | Remote address. |
sys_snode_t bt_conn_auth_info_cb::node |
Internally used field for list handling.
void(* bt_conn_auth_info_cb::pairing_complete) (struct bt_conn *conn, bool bonded) |
notify that pairing procedure was complete.
This callback notifies the application that the pairing procedure has been completed.
conn | Connection object. |
bonded | Bond information has been distributed during the pairing procedure. |
void(* bt_conn_auth_info_cb::pairing_failed) (struct bt_conn *conn, enum bt_security_err reason) |
notify that pairing process has failed.
conn | Connection object. |
reason | Pairing failed reason |