Zephyr Project API  3.3.0
A Scalable Open Source RTOS
bt_gatt_subscribe_params Struct Reference

GATT Subscribe parameters. More...

#include <gatt.h>

Data Fields

bt_gatt_notify_func_t notify
 
bt_gatt_subscribe_func_t subscribe
 
bt_gatt_write_func_t write
 
uint16_t value_handle
 
uint16_t ccc_handle
 
uint16_t value
 
bt_security_t min_security
 
atomic_t flags [ATOMIC_BITMAP_SIZE(BT_GATT_SUBSCRIBE_NUM_FLAGS)]
 
sys_snode_t node
 

Detailed Description

GATT Subscribe parameters.

Field Documentation

◆ ccc_handle

uint16_t bt_gatt_subscribe_params::ccc_handle

Subscribe CCC handle

◆ 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

◆ write

bt_gatt_write_func_t bt_gatt_subscribe_params::write

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