Zephyr API Documentation 4.0.0-rc2
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

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.
 

Detailed Description

Callback structure for the Coordinated Set Identification Service.

Field Documentation

◆ lock_changed

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.

Parameters
connThe 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_instPointer to the Coordinated Set Identification Service.
lockedWhether the lock was locked or released.

◆ sirk_read_req

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.

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

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