The Generic Attribute Profile (GATT) manages all activities involving services, characteristics, and descriptors. The client half of the GATT API initiates GATT procedures.
#include "host/ble_hs.h"
BLE host GATT client definitions
Function | Description |
---|---|
ble_gattc_disc_all_chrs | Initiates GATT procedure: Discover All Characteristics of a Service. |
ble_gattc_disc_all_dscs | Initiates GATT procedure: Discover All Characteristic Descriptors. |
ble_gattc_disc_all_svcs | Initiates GATT procedure: Discover All Primary Services. |
ble_gattc_disc_chrs_by_uuid | Initiates GATT procedure: Discover Characteristics by UUID. |
ble_gattc_disc_svc_by_uuid | Initiates GATT procedure: Discover Primary Service by Service UUID. |
ble_gattc_exchange_mtu | Initiates GATT procedure: Exchange MTU. |
ble_gattc_find_inc_svcs | Initiates GATT procedure: Find Included Services. |
ble_gattc_indicate | Sends a characteristic indication. |
ble_gattc_indicate_custom | Sends a characteristic indication. |
ble_gattc_notify | Sends a characteristic notification. |
ble_gattc_notify_custom | Sends a “free-form” characteristic notification. |
ble_gattc_read | Initiates GATT procedure: Read Characteristic Value. |
ble_gattc_read_by_uuid | Initiates GATT procedure: Read Using Characteristic UUID. |
ble_gattc_read_long | Initiates GATT procedure: Read Long Characteristic Values. |
ble_gattc_read_mult | Initiates GATT procedure: Read Multiple Characteristic Values. |
ble_gattc_write | Initiates GATT procedure: Write Characteristic Value. |
ble_gattc_write_flat | Initiates GATT procedure: Write Characteristic Value (flat buffer version). |
ble_gattc_write_long | Initiates GATT procedure: Write Long Characteristic Values. |
ble_gattc_write_no_rsp | Initiates GATT procedure: Write Without Response. |
ble_gattc_write_no_rsp_flat | Initiates GATT procedure: Write Without Response. |
ble_gattc_write_reliable | Initiates GATT procedure: Reliable Writes. |