The Generic Attribute Profile (GATT) manages all activities involving services, characteristics, and descriptors. The server half of the GATT API handles registration and responding to GATT clients.
#include "host/ble_hs.h"
BLE host GATT server definitions
Function | Description |
---|---|
ble_gatts_add_svcs | Queues a set of service definitions for registration. |
ble_gatts_svc_set_visibility | Changes visibility of a service with specified handle. |
ble_gatts_count_cfg | Adjusts a host configuration object's settings to accommodate the specified service definition array. |
ble_gatts_find_chr | Retrieves the pair of attribute handles associated with a local GATT characteristic. |
ble_gatts_find_dsc | Retrieves the attribute handle associated with a local GATT descriptor. |
ble_gatts_find_svc | Retrieves the attribute handle associated with a local GATT service. |