Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
|
Callback structure for the Coordinated Set Identification Service. More...
#include <csip.h>
Data Fields | |
void(* | lock_changed )(struct bt_conn *conn, struct bt_csip_set_member_svc_inst *svc_inst, bool locked) |
Callback whenever the lock changes on the server. | |
uint8_t(* | sirk_read_req )(struct bt_conn *conn, struct bt_csip_set_member_svc_inst *svc_inst) |
Request from a peer device to read the sirk. | |
Callback structure for the Coordinated Set Identification Service.
void(* bt_csip_set_member_cb::lock_changed) (struct bt_conn *conn, struct bt_csip_set_member_svc_inst *svc_inst, bool locked) |
Callback whenever the lock changes on the server.
conn | The connection to the client that changed the lock. NULL if server changed it, either by calling bt_csip_set_member_lock() or by timeout. |
svc_inst | Pointer to the Coordinated Set Identification Service. |
locked | Whether the lock was locked or released. |
uint8_t(* bt_csip_set_member_cb::sirk_read_req) (struct bt_conn *conn, struct bt_csip_set_member_svc_inst *svc_inst) |
Request from a peer device to read the sirk.
If this callback is not set, all clients will be allowed to read the SIRK unencrypted.
conn | The connection to the client that requested to read the SIRK. |
svc_inst | Pointer to the Coordinated Set Identification Service. |