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

GATT Attribute structure. More...

#include <gatt.h>

Data Fields

const struct bt_uuiduuid
 
bt_gatt_attr_read_func_t read
 
bt_gatt_attr_write_func_t write
 
void * user_data
 
uint16_t handle
 
uint16_t perm
 Attribute permissions.
 

Detailed Description

GATT Attribute structure.

Field Documentation

◆ handle

uint16_t bt_gatt_attr::handle

Attribute handle

◆ perm

uint16_t bt_gatt_attr::perm

Attribute permissions.

Will be 0 if returned from bt_gatt_discover().

◆ read

bt_gatt_attr_read_func_t bt_gatt_attr::read

◆ user_data

void* bt_gatt_attr::user_data

Attribute user data

◆ uuid

const struct bt_uuid* bt_gatt_attr::uuid

Attribute UUID

◆ write

bt_gatt_attr_write_func_t bt_gatt_attr::write

Attribute write callback


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