btgatt_interface_t Struct Reference

btgatt_interface_t Struct Reference

#include < bt_gatt.h >

Data Fields

size_t  size
 
bt_status_t (*  init )(const btgatt_callbacks_t *callbacks)
 
void(*  cleanup )(void)
 
const btgatt_client_interface_t client
 
const btgatt_server_interface_t server
 

Detailed Description

Represents the standard Bluetooth GATT interface.

Definition at line 40 of file bt_gatt.h .

Field Documentation

void(* cleanup)(void)

Closes the interface

Definition at line 50 of file bt_gatt.h .

Pointer to the GATT client interface methods.

Definition at line 53 of file bt_gatt.h .

bt_status_t (* init)(const btgatt_callbacks_t *callbacks)

Initializes the interface and provides callback routines

Definition at line 47 of file bt_gatt.h .

Pointer to the GATT server interface methods.

Definition at line 56 of file bt_gatt.h .

size_t size

Set to sizeof(btgatt_interface_t)

Definition at line 42 of file bt_gatt.h .


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