Zephyr API Documentation 4.0.0-rc3
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
bt_gatt_subscribe_params Struct Reference

GATT Subscribe parameters. More...

#include <gatt.h>

Data Fields

bt_gatt_notify_func_t notify
 Notification value callback.
 
bt_gatt_subscribe_func_t subscribe
 Subscribe CCC write request response callback If given, called with the subscription parameters given when subscribing.
 
uint16_t value_handle
 Subscribe value handle.
 
uint16_t ccc_handle
 Subscribe CCC handle.
 
uint16_t end_handle
 Subscribe End handle (for automatic discovery)
 
struct bt_gatt_discover_paramsdisc_params
 Discover parameters used when ccc_handle = BT_GATT_AUTO_DISCOVER_CCC_HANDLE.
 
uint16_t value
 Subscribe value.
 
bt_security_t min_security
 Minimum required security for received notification.
 
atomic_t flags [ATOMIC_BITMAP_SIZE(BT_GATT_SUBSCRIBE_NUM_FLAGS)]
 Subscription flags.
 
sys_snode_t node
 
enum bt_att_chan_opt chan_opt
 

Detailed Description

GATT Subscribe parameters.

Field Documentation

◆ ccc_handle

uint16_t bt_gatt_subscribe_params::ccc_handle

Subscribe CCC handle.

◆ chan_opt

enum bt_att_chan_opt bt_gatt_subscribe_params::chan_opt

◆ disc_params

struct bt_gatt_discover_params* bt_gatt_subscribe_params::disc_params

Discover parameters used when ccc_handle = BT_GATT_AUTO_DISCOVER_CCC_HANDLE.

◆ end_handle

uint16_t bt_gatt_subscribe_params::end_handle

Subscribe End handle (for automatic discovery)

◆ flags

atomic_t bt_gatt_subscribe_params::flags[ATOMIC_BITMAP_SIZE(BT_GATT_SUBSCRIBE_NUM_FLAGS)]

Subscription flags.

◆ min_security

bt_security_t bt_gatt_subscribe_params::min_security

Minimum required security for received notification.

Notifications and indications received over a connection with a lower security level are silently discarded.

◆ node

sys_snode_t bt_gatt_subscribe_params::node

◆ notify

bt_gatt_notify_func_t bt_gatt_subscribe_params::notify

Notification value callback.

◆ subscribe

bt_gatt_subscribe_func_t bt_gatt_subscribe_params::subscribe

Subscribe CCC write request response callback If given, called with the subscription parameters given when subscribing.

◆ value

uint16_t bt_gatt_subscribe_params::value

Subscribe value.

◆ value_handle

uint16_t bt_gatt_subscribe_params::value_handle

Subscribe value handle.


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