ble_gatt_client
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
request Struct Reference

Request data structure. More...

Data Fields

struct bt_gatt_clientclient
 
bool long_write
 
bool prep_write
 
bool removed
 
int ref_count
 
unsigned int id
 
unsigned int att_id
 
void * data
 
void(* destroy )(void *)
 

Detailed Description

Request data structure.

Structure to manage request queries

Definition at line 132 of file gatt-client.c.

Field Documentation

struct bt_gatt_client* request::client

GATT client context

Definition at line 133 of file gatt-client.c.

Referenced by cancel_prep_write_cb(), cancel_request(), request_create(), and request_unref().

void(* request::destroy)(void *)
bool request::long_write

true if the request is a long write

Definition at line 135 of file gatt-client.c.

Referenced by bt_gatt_client_write_long_value(), and cancel_request().

bool request::prep_write

true if the request is a preparation write request

Definition at line 137 of file gatt-client.c.

Referenced by bt_gatt_client_prepare_write(), and cancel_request().

int request::ref_count

number of references to this data structure

Definition at line 141 of file gatt-client.c.

Referenced by request_ref(), and request_unref().

bool request::removed

request still in queue if true

Definition at line 139 of file gatt-client.c.

Referenced by cancel_request(), and request_unref().


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