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

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)
 

Detailed Description

Bluetooth LE GATTS HAL callbacks.

Member Data Documentation

◆ addService

int(* addService) (struct ble_gatt_service_s *ble_gatt_service)

Add service to HAL

◆ addChar

int(* addChar) (uint16_t serv_handle, struct ble_gatt_char_s *ble_gatt_char)

Add characteristic to service

◆ write

int(* write) (struct ble_gatt_char_s *ble_gatt_char, uint16_t handle)

Write characteristic response(Peripheral)

◆ read

int(* read) (struct ble_gatt_char_s *ble_gatt_char, uint16_t handle)

Read characteristic response(Peripheral)

◆ notify

int(* notify) (struct ble_gatt_char_s *ble_gatt_char, uint16_t handle)

Notify characteristic request(Central)/response(Peripheral)


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