Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

GATT Attribute structure. More...

#include <gatt.h>

Data Fields

const struct bt_uuiduuid
 Attribute UUID.
 
bt_gatt_attr_read_func_t read
 Attribute read callback.
 
bt_gatt_attr_write_func_t write
 Attribute write callback.
 
void * user_data
 Attribute user data.
 
uint16_t handle
 Attribute 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

Attribute read callback.

◆ 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: