Zephyr API Documentation
3.0.0
A Scalable Open Source RTOS
|
|
3.0.0 |
#include <csis.h>
Data Fields | |
void(* | lock_changed )(struct bt_conn *conn, struct bt_csis *csis, bool locked) |
Callback whenever the lock changes on the server. More... | |
uint8_t(* | sirk_read_req )(struct bt_conn *conn, struct bt_csis *csis) |
Request from a peer device to read the sirk. More... | |
Callback structure for the Coordinated Set Identification Service
void(* bt_csis_cb::lock_changed) (struct bt_conn *conn, struct bt_csis *csis, 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_csis_lock() or by timeout. |
csis | Pointer to the Coordinated Set Identification Service. |
locked | Whether the lock was locked or released. |
uint8_t(* bt_csis_cb::sirk_read_req) (struct bt_conn *conn, struct bt_csis *csis) |
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. |
csis | Pointer to the Coordinated Set Identification Service. |