|
Zephyr API Documentation 4.5.0-rc1
A Scalable Open Source RTOS
|
Authenticated pairing information callback structure. More...
#include <zephyr/bluetooth/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. | |
| void(* | addr_res_support_read )(struct bt_conn *conn, enum bt_le_addr_res_support support) |
| The peer's support for address resolution has been read. | |
| void(* | br_bond_deleted )(const bt_addr_t *peer) |
| Notify that bond of classic has been deleted. | |
| sys_snode_t | node |
| Internally used field for list handling. | |
Authenticated pairing information callback structure.
| void(* bt_conn_auth_info_cb::addr_res_support_read) (struct bt_conn *conn, enum bt_le_addr_res_support support) |
The peer's support for address resolution has been read.
This callback notifies the application that the automatic read of a bonded peer's Central Address Resolution characteristic, enabled with CONFIG_BT_GATT_AUTO_READ_CENTRAL_ADDR_RES, has finished. The answer is also available from bt_le_bond_addr_res_support(), and remains unknown when the read failed.
| conn | Connection the characteristic was read on. |
| support | The peer's support for address resolution. |
| 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. |
| void(* bt_conn_auth_info_cb::br_bond_deleted) (const bt_addr_t *peer) |
Notify that bond of classic has been deleted.
This callback notifies the application that the bond information of classic for the remote peer has been deleted
| peer | Remote address. |
| sys_snode_t bt_conn_auth_info_cb::node |
Internally used field for list handling.
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 |