![]() |
Bluetooth LE Profile API document
Bluetooth LE Profile API document Rev.1.00 [May 22, 2020]
|
The Generic Attribute Service contains generic information of the GATT attributes. More...
The Generic Attribute Service contains generic information of the GATT attributes.
Data Structures | |
struct | st_ble_gats_serv_changed_t |
Service Changed value structure. More... | |
Enumerations | |
enum | st_ble_gats_char_idx_t { BLE_GATS_SERV_CHGED_IDX, BLE_GATS_SERV_CHGED_CLI_CNFG_IDX } |
Generic Attribute characteristic Index. More... | |
enum | e_ble_gats_event_t { BLE_GATS_EVENT_SERV_CHGED_HDL_VAL_CNF = BLE_SERVS_ATTR_EVENT(BLE_GATS_SERV_CHGED_IDX, BLE_SERVS_HDL_VAL_CNF) } |
Generic Attribute event type. More... | |
Functions | |
ble_status_t | R_BLE_GATS_IndicateServChanged (uint16_t conn_hdl, const st_ble_gats_serv_changed_t *p_value) |
Send indication of Service Changed characteristic value to the remote device. More... | |
ble_status_t | R_BLE_GATS_SetServChangedCliCnfg (const uint16_t *p_value) |
Set Service Changed cli cnfg descriptor value to the local GATT database. More... | |
ble_status_t | R_BLE_GATS_GetServChangedCliCnfg (uint16_t *p_value) |
Get Service Changed cli cnfg descriptor value from the local GATT database. More... | |
ble_status_t | R_BLE_GATS_Init (ble_servs_app_cb_t cb) |
Initialize Generic Attribute service. More... | |
Generic Attribute characteristic Index.
enum e_ble_gats_event_t |
Generic Attribute event type.
ble_status_t R_BLE_GATS_IndicateServChanged | ( | uint16_t | conn_hdl, |
const st_ble_gats_serv_changed_t * | p_value | ||
) |
Send indication of Service Changed characteristic value to the remote device.
[in] | conn_hdl | Connection handle. |
[in] | p_value | Characteristic value to send. |
ble_status_t R_BLE_GATS_SetServChangedCliCnfg | ( | const uint16_t * | p_value | ) |
Set Service Changed cli cnfg descriptor value to the local GATT database.
[in] | p_value | Descriptor value to set. |
ble_status_t R_BLE_GATS_GetServChangedCliCnfg | ( | uint16_t * | p_value | ) |
Get Service Changed cli cnfg descriptor value from the local GATT database.
[in] | p_value | Output location for the acquired descriptor value. |
ble_status_t R_BLE_GATS_Init | ( | ble_servs_app_cb_t | cb | ) |