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) |
Bluetooth LE characteristic callbacks(for Central)
If characteristic get event from target, this callback will call for response(Central).
void(* write) (uint16_t conn_handle, struct ble_gatt_char_s *ble_gatt_char) |
Write response
void(* read) (uint16_t conn_handle, struct ble_gatt_char_s *ble_gatt_char) |
Read response
void(* notify) (uint16_t conn_handle, struct ble_gatt_char_s *ble_gatt_char) |
Receive notification
void(* database_discovery) (struct ble_gatt_event_db_discovery_t *db_disc) |
Database discovery event
void(* descriptor_write) (uint16_t conn_handle, uint16_t handle, int status) |
Descriptor write response
void(* descriptor_read) (uint16_t conn_handle, uint16_t handle, uint8_t *data, uint16_t len) |
Descriptor read response