Zephyr API Documentation  3.0.0
A Scalable Open Source RTOS
3.0.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages

#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...
 

Detailed Description

Callback structure for the Coordinated Set Identification Service

Field Documentation

◆ lock_changed

void(* bt_csis_cb::lock_changed) (struct bt_conn *conn, struct bt_csis *csis, bool locked)

Callback whenever the lock changes on the server.

Parameters
connThe connection to the client that changed the lock. NULL if server changed it, either by calling bt_csis_lock() or by timeout.
csisPointer to the Coordinated Set Identification Service.
lockedWhether the lock was locked or released.

◆ sirk_read_req

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.

Parameters
connThe connection to the client that requested to read the SIRK.
csisPointer to the Coordinated Set Identification Service.
Returns
A BT_CSIS_READ_SIRK_REQ_RSP_* response code.

The documentation for this struct was generated from the following file: