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

Bluetooth LE characteristic callbacks(for Central) More...

#include <ble_gatt.h>

Public Attributes

void(* write )(uint16_t conn_handle, struct ble_gatt_char_s *ble_gatt_char)
 
void(* read )(uint16_t conn_handle, struct ble_gatt_char_s *ble_gatt_char)
 
void(* notify )(uint16_t conn_handle, struct ble_gatt_char_s *ble_gatt_char)
 
void(* database_discovery )(struct ble_gatt_event_db_discovery_t *db_disc)
 
void(* descriptor_write )(uint16_t conn_handle, uint16_t handle, int status)
 
void(* descriptor_read )(uint16_t conn_handle, uint16_t handle, uint8_t *data, uint16_t len)
 

Detailed Description

Bluetooth LE characteristic callbacks(for Central)

If characteristic get event from target, this callback will call for response(Central).

Member Data Documentation

◆ write

void(* write) (uint16_t conn_handle, struct ble_gatt_char_s *ble_gatt_char)

Write response

◆ read

void(* read) (uint16_t conn_handle, struct ble_gatt_char_s *ble_gatt_char)

Read response

◆ notify

void(* notify) (uint16_t conn_handle, struct ble_gatt_char_s *ble_gatt_char)

Receive notification

◆ database_discovery

void(* database_discovery) (struct ble_gatt_event_db_discovery_t *db_disc)

Database discovery event

◆ descriptor_write

void(* descriptor_write) (uint16_t conn_handle, uint16_t handle, int status)

Descriptor write response

◆ descriptor_read

void(* descriptor_read) (uint16_t conn_handle, uint16_t handle, uint8_t *data, uint16_t len)

Descriptor read response


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