Zephyr API Documentation
3.0.0
A Scalable Open Source RTOS
|
|
3.0.0 |
GATT Read parameters. More...
#include <gatt.h>
Data Fields | |
bt_gatt_read_func_t | func |
size_t | handle_count |
union { | |
struct { | |
uint16_t handle | |
uint16_t offset | |
} single | |
struct { | |
uint16_t * handles | |
bool variable | |
} multiple | |
struct { | |
uint16_t start_handle | |
uint16_t end_handle | |
const struct bt_uuid * uuid | |
} by_uuid | |
}; | |
GATT Read parameters.
union { ... } bt_gatt_read_params::@73 |
struct { ... } bt_gatt_read_params::by_uuid |
uint16_t bt_gatt_read_params::end_handle |
Last requested handle number.
bt_gatt_read_func_t bt_gatt_read_params::func |
Read attribute callback.
uint16_t bt_gatt_read_params::handle |
Attribute handle.
size_t bt_gatt_read_params::handle_count |
If equals to 1 single.handle and single.offset are used. If greater than 1 multiple.handles are used. If equals to 0 by_uuid is used for Read Using Characteristic UUID.
uint16_t* bt_gatt_read_params::handles |
Attribute handles to read with Read Multiple Characteristic Values.
struct { ... } bt_gatt_read_params::multiple |
uint16_t bt_gatt_read_params::offset |
Attribute data offset.
struct { ... } bt_gatt_read_params::single |
uint16_t bt_gatt_read_params::start_handle |
First requested handle number.
const struct bt_uuid* bt_gatt_read_params::uuid |
2 or 16 octet UUID.
bool bt_gatt_read_params::variable |
If true use Read Multiple Variable Length Characteristic Values procedure. The values of the set of attributes may be of variable or unknown length. If false use Read Multiple Characteristic Values procedure. The values of the set of attributes must be of a known fixed length, with the exception of the last value that can have a variable length.