Bluetooth LE GATTS HAL callbacks. More...
#include <bt_if.h>
Public Attributes | |
int(* | addService )(struct ble_gatt_service_s *ble_gatt_service) |
int(* | addChar )(uint16_t serv_handle, struct ble_gatt_char_s *ble_gatt_char) |
int(* | write )(struct ble_gatt_char_s *ble_gatt_char, uint16_t handle) |
int(* | read )(struct ble_gatt_char_s *ble_gatt_char, uint16_t handle) |
int(* | notify )(struct ble_gatt_char_s *ble_gatt_char, uint16_t handle) |
Bluetooth LE GATTS HAL callbacks.
int(* addService) (struct ble_gatt_service_s *ble_gatt_service) |
Add service to HAL
int(* addChar) (uint16_t serv_handle, struct ble_gatt_char_s *ble_gatt_char) |
Add characteristic to service
int(* write) (struct ble_gatt_char_s *ble_gatt_char, uint16_t handle) |
Write characteristic response(Peripheral)
int(* read) (struct ble_gatt_char_s *ble_gatt_char, uint16_t handle) |
Read characteristic response(Peripheral)
int(* notify) (struct ble_gatt_char_s *ble_gatt_char, uint16_t handle) |
Notify characteristic request(Central)/response(Peripheral)