Go to the documentation of this file.
55 #ifndef __BLE_GATTC_H__
56 #define __BLE_GATTC_H__
588 uint16_t
ble_gattc_write(uint8_t conn_idx, uint16_t handle, uint16_t offset, uint16_t length,
const uint8_t *p_value);
606 uint16_t
ble_gattc_write_prepare(uint8_t conn_idx, uint16_t handle, uint16_t offset, uint16_t length,
const uint8_t *p_value);
643 uint16_t
ble_gattc_write_no_resp(uint8_t conn_idx,
bool signed_write, uint16_t handle, uint16_t length,
const uint8_t *p_value);
GATTC Notification and Indication value indication.
GATTC Notification and Indication event for BLE_GATTC_EVT_NTF_IND.
GATT Client Read response event for BLE_GATTC_EVT_READ_RSP.
ble_gattc_prf_reg_evt_t
GATTC profile register enumeration.
GATTC Browse service(s) event for BLE_GATTC_EVT_SRVC_BROWSE.
@ BLE_GATTC_BROWSE_ATTR_CHAR
#define BLE_ATT_UUID_128_LEN
gatt_serv_type_t
GATT Client Service type IDs.
ble_gattc_evt_ntf_ind_t ntf_ind
@ BLE_GATTC_BROWSE_INC_SRVC
@ BLE_GATTC_BROWSE_ATTR_DESC
uint16_t ble_gattc_write_prepare(uint8_t conn_idx, uint16_t handle, uint16_t offset, uint16_t length, const uint8_t *p_value)
Prepare Long/Reliable Write to remote GATT server.
@ BLE_GATTC_BROWSE_ATTR_VAL
uint16_t ble_gattc_included_services_discover(uint8_t conn_idx, uint16_t start_hdl, uint16_t end_hdl)
Discover Included Services on remote GATT server.
ble_gattc_read_value_t * value
GATT characteristic discovery.
ble_gattc_evt_incl_disc_t inc_srvc_disc
uint16_t ble_gattc_char_desc_discover(uint8_t conn_idx, uint16_t start_hdl, uint16_t end_hdl)
Discover Characteristics Descriptors on remote GATT server.
GATT Client Write Response event for BLE_GATTC_EVT_WRITE_RSP.
uint16_t ble_gattc_mtu_exchange(uint8_t conn_idx)
Perform MTU Exchange.
ble_gattc_evt_write_t write_rsp
GATT service discovery event for BLE_GATTC_EVT_PRIMARY_SRVC_DISC.
uint16_t ble_gattc_services_browse(uint8_t conn_idx, const ble_uuid_t *p_srvc_uuid)
Browse all Primary Services or specific Primary Service information on remote GATT server.
ble_gattc_desc_t * char_descs
ble_gattc_browse_attr_t attr
@ BLE_GATT_CACHE_UPDATING
ble_gattc_multiple_att_t * p_read_multiple
GATTC Browse information about Characteristic.
Define the chip configuration.
ble_gattc_evt_char_disc_t char_disc
ble_gattc_browse_inc_srvc_t inc_srvc
GATTC Browse service(s) indication.
ble_gattc_evt_prf_reg_t prf_reg
GATTC write without response structure.
GATT characteristic descriptor discovery.
ble_gattc_include_t * includes
GATTC profile register event for BLE_GATTC_EVT_PRIMARY_SRVC_DISC.
ble_gattc_attr_type_t
GATT Client Service Discover Attribute type IDs.
File that contains error codes.
ble_gattc_attr_type_t attr_type
uint16_t ble_gattc_write(uint8_t conn_idx, uint16_t handle, uint16_t offset, uint16_t length, const uint8_t *p_value)
Write (long) Characteristic (Descriptor) Value.
uint16_t ble_gattc_primary_services_discover(uint8_t conn_idx, const ble_uuid_t *p_srvc_uuid)
Discover Primary Services on remote GATT server.
uint16_t ble_gattc_write_no_resp(uint8_t conn_idx, bool signed_write, uint16_t handle, uint16_t length, const uint8_t *p_value)
Write Attribute to remote GATT server (without response).
ble_gattc_attr_type_t attr_type
@ BLE_GATTC_EVT_UNREGISTER
ble_gattc_attr_type_t attr_type
GATT characteristic discovery event for BLE_GATTC_EVT_CHAR_DISC.
ble_gatt_evt_type_t
GATT common events.
uint16_t ble_gattc_read(uint8_t conn_idx, uint16_t handle, uint16_t offset)
Read Attribute from remote GATT server.
uint16_t ble_gattc_char_discover(uint8_t conn_idx, uint16_t start_hdl, uint16_t end_hdl, const ble_uuid_t *p_char_uuid)
Discover Characteristics on remote GATT server.
GATTC write attribute value structure.
uint16_t ble_gattc_indicate_cfm(uint8_t conn_idx, uint16_t handle)
Confirm Reception of Indication.
ble_gattc_cache_current_state_t
GATT Client Cache Update Current State.
ble_gattc_evt_cache_update_t cache_update
ble_gattc_evt_srvc_disc_t prim_srvc_disc
GATTC read by characteristic UUID structure.
union ble_gattc_browse_attr_info * info
GATT characteristic descriptor discovery event for BLE_GATTC_EVT_CHAR_DESC_DISC.
ble_gattc_evt_char_desc_disc_t char_desc_disc
GATTC Browse information about Included Service.
GATTC Browse attribute information.
ble_gattc_evt_browse_srvc_t srvc_browse
ble_gattc_cache_current_state_t cache_current_state
ble_gattc_service_t * services
ble_gattc_evt_read_t read_rsp
GATT Client Cache Update event for BLE_GATTC_EVT_CACHE_UPDATE.
GATT value Read response.
uint16_t ble_gattc_read_by_uuid(uint8_t conn_idx, uint16_t start_hdl, uint16_t end_hdl, const ble_uuid_t *p_char_uuid)
Read Attribute by UUID.
ble_gattc_browse_attr_char_t attr_char
GATT include discovery event for BLE_GATTC_EVT_INCLUDE_SRVC_DISC.
GATTC Browse information about Attribute.
ble_gattc_attr_type_t attr_type
ble_gattc_prf_reg_evt_t prf_reg_evt
uint16_t ble_gattc_write_execute(uint8_t conn_idx, bool execute)
Execute Reliable/Long Write to remote GATT server.
uint16_t ble_gattc_read_multiple(uint8_t conn_idx, const ble_gattc_read_multiple_t *p_param)
Initiate a Read Multiple Characteristic Values procedure.
BLE GATTC event structure.
GATTC discovery characteristic structure.