Developer World
Spresense SDK Library v3.2.0-ebc0364
ble_hal_gattc_ops_s Struct Reference

Bluetooth LE GATTC HAL callbacks. More...

#include <bt_if.h>

Public Attributes

int(* startDbDiscovery )(uint16_t conn_handle)
 
int(* continueDbDiscovery )(uint16_t start_handle, uint16_t conn_handle)
 
int(* discoverUuid )(uint16_t conn_handle, BLE_UUID *srv_uuid, BLE_UUID *char_uuid)
 
int(* send_confirm )(uint16_t conn_handle, uint16_t char_handle)
 
int(* write )(uint16_t conn_handle, uint16_t char_handle, uint8_t *data, int len, bool rsp)
 
int(* read )(uint16_t conn_handle, uint16_t char_handle)
 
int(* descriptor_write )(uint16_t conn_handle, uint16_t handle, uint8_t *data, uint16_t len)
 
int(* descriptor_read )(uint16_t conn_handle, uint16_t handle)
 

Detailed Description

Bluetooth LE GATTC HAL callbacks.

Member Data Documentation

◆ startDbDiscovery

int(* startDbDiscovery) (uint16_t conn_handle)

GATT client start attribute database discovery

◆ continueDbDiscovery

int(* continueDbDiscovery) (uint16_t start_handle, uint16_t conn_handle)

GATT client start attribute database discovery

◆ discoverUuid

int(* discoverUuid) (uint16_t conn_handle, BLE_UUID *srv_uuid, BLE_UUID *char_uuid)

GATT client specific UUID discovery

◆ send_confirm

int(* send_confirm) (uint16_t conn_handle, uint16_t char_handle)

Send confirm for indicate

◆ write

int(* write) (uint16_t conn_handle, uint16_t char_handle, uint8_t *data, int len, bool rsp)

Write characteristic request(Central)/response(Peripheral)

◆ read

int(* read) (uint16_t conn_handle, uint16_t char_handle)

Read characteristic request(Central)/response(Peripheral)

◆ descriptor_write

int(* descriptor_write) (uint16_t conn_handle, uint16_t handle, uint8_t *data, uint16_t len)

Write descriptor request

◆ descriptor_read

int(* descriptor_read) (uint16_t conn_handle, uint16_t handle)

Read descriptor request


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