Go to the documentation of this file.
54 #ifndef _BLE_GATTC_CACHE_H_
55 #define _BLE_GATTC_CACHE_H_
66 #define MAX_GATT_CACHE_NUM (0x10)
uint8_t num
Number of bonded device.
uint8_t * p_uuid
Descriptor UUID.
GATTC Cache include attribute structure.
uint16_t start_hdl
Start handle.
GATTC Cache service attribute structure.
ble_gattc_cache_include_t include_decl
Include Declaration.
The struct of broadcast address with broadcast type.
uint8_t * p_uuid
Characteristic UUID.
bool ble_gattc_cache_feat_get(uint8_t conn_idx)
GATTC Get cache feature state.
uint16_t ble_gattc_cache_delete(ble_gap_bdaddr_t *p_peer_bd_addr)
GATTC cache date delete on disconnection state.
uint16_t end_hdl
End handle.
@ BLE_GATTC_CACHE_ATTR_DESC
Characteristic Descriptor.
uint8_t uuid_len
Service UUID length.
uint8_t * p_uuid
Service UUID.
ble_gattc_cache_service_t service_decl
Service Declaration.
uint8_t uuid_len
Descriptor UUID length.
uint16_t ble_gattc_cache_enable(uint8_t conn_idx)
GATTC cache feature enable.
GATTC cache attribute information uinon.
@ BLE_GATTC_CACHE_INC_SRVC
Included Service Declaration.
File that contains error codes.
uint16_t start_hdl
Start handle.
uint16_t ble_gattc_cache_disable(uint8_t conn_idx)
GATTC cache feature disable.
@ BLE_GATTC_CACHE_PRI_SERV
Primary Service Declaration.
uint16_t end_hdl
End handle.
gattc_cache_attr_t
GATT Client Cache Attribute type IDs.
GATTC Cache characteristic attribute structure.
#define MAX_GATT_CACHE_NUM
Max number of GATT CACHE.
uint16_t ble_gattc_cache_get(uint8_t conn_idx, attr_cache_info_t *p_cache_data, uint16_t *p_cache_count)
GATTC cache data get.
GATTC cache attribute information structure.
@ BLE_GATTC_CACHE_SEC_SERV
Secondary Service Declaration.
uint16_t handle
Attribute Handle.
uint8_t uuid_len
Characteristic UUID length.
uint16_t handle_value
Handle of the Characteristic Value.
ble_gattc_cache_char_t char_decl
Characteristic Declaration.
uint16_t ble_gattc_cache_list_get(gatt_cache_list_t *p_cache_list)
Get the content of the whole GATT caching list.
GATTC Cache characteristic descriptor attribute structure.
ble_gattc_cache_desc_t char_desc
Characteristic Descriptor.
uint8_t * p_uuid
Service UUID.
@ BLE_GATTC_CACHE_ATTR_CHAR
Characteristic Declaration.
uint8_t uuid_len
Service UUID length.