Go to the documentation of this file.
173 void (*app_gatts_cccd_set_cb)(uint8_t conidx, uint16_t handle, uint16_t cccd_val);
245 void (*app_gattc_inc_srvc_disc_cb)(uint8_t conn_idx, uint8_t status,
const ble_gattc_incl_disc_t * p_inc_srvc_disc);
249 void (*app_gattc_write_cb)(uint8_t conn_idx, uint8_t status, uint16_t handle);
uint16_t ble_gattc_prf_read(uint8_t prf_id, uint8_t conn_idx, uint16_t handle, uint16_t offset)
Profile client Read Attribute from remote GATT server.
GATTS Operation Complete event structure.
GATTC Notification and Indication value indication.
gatt_evt_type_t type
Notification or indication event type.
uint16_t max_connection_nb
Maximum connections the profile supports.
GATTC write without response structure.
uint16_t max_connection_nb
Maximum connections the profile supports.
uint16_t ble_gattc_prf_write_prepare(uint8_t prf_id, uint8_t conn_idx, gattc_write_attr_value_t *p_write_attr_value)
Profile client Prepare Long/Reliable Write to remote GATT server.
#define __ARRAY_EMPTY
Empty Array.
GATTC write attribute value structure.
uint16_t handle
Handle of the attribute to be read.
uint16_t ble_gattc_prf_read_by_uuid(uint8_t prf_id, uint8_t conn_idx, gattc_read_by_uuid_t *p_read_by_uuid)
Profile client Read Attribute by UUID.
void(* prf_on_connect_func_t)(uint8_t conn_idx)
Handles Connection creation.
Profile manager callbacks.
Profile client register information structure.
uint16_t ble_gattc_prf_evt_handle_unregister(uint8_t prf_id, uint8_t conn_idx, gattc_prf_reg_peer_evt_t *env)
Profile client Unregister Indication/Notification event.
GATT characteristic discovery.
void(* prf_on_disconnect_func_t)(uint8_t conn_idx, uint8_t reason)
Handles Disconnection.
ble_prf_manager_cbs_t * manager_cbs
Profile manager callbacks.
@ GATTC_EVT_REGISTER
GATT client event register.
uint16_t ble_gattc_prf_primary_services_discover(uint8_t prf_id, uint8_t conn_idx, const ble_uuid_t *p_srvc_uuid)
Profile client Discover Primary Services on remote GATT server.
prf_on_connect_func_t on_connect
Connection callback.
GATTC read by characteristic UUID structure.
prf_on_disconnect_func_t on_disconnect
Disconnection callback.
uint16_t ble_gattc_prf_write(uint8_t prf_id, uint8_t conn_idx, gattc_write_attr_value_t *p_write_attr_value)
Profile client Write (Long) Characteristic (Descriptor) Value.
uint16_t ble_gattc_prf_write_no_resp(uint8_t prf_id, uint8_t conn_idx, gattc_write_no_resp_t *p_write_no_resp)
Profile client Write Attribute to remote GATT server (without response).
GATTC discovery characteristic structure.
gattc_prf_cbs_t * gattc_prf_cbs
GATT client callback function in relation to the specific profile.
uint16_t ble_gattc_prf_indicate_cfm(uint8_t prf_id, uint8_t conn_idx, uint16_t handle)
Profile client Confirm Reception of Indication.
gatt_evt_type_t
GATT common events.
uint16_t ble_gattc_prf_read_multiple(uint8_t prf_id, uint8_t conn_idx, const gattc_read_multiple_t *p_param)
Profile client Initiate a Read Multiple Characteristic Values procedure.
@ GATTC_EVT_UNREGISTER
GATT client event unregister.
GATT read request struct.
uint8_t(* prf_init_func_t)(void)
Initialization of the Profile module.
GATTC Browse service(s) indication.
Profile server register information structure.
uint16_t ble_gattc_prf_included_services_discover(uint8_t prf_id, uint8_t conn_idx, uint16_t start_hdl, uint16_t end_hdl)
Profile client Discover Included Services on remote GATT server.
uint16_t ble_server_prf_add(const prf_server_info_t *p_server_prf_info)
Add a server profile by providing its detailed information, including manager callback functions and ...
uint16_t ble_gattc_prf_char_discover(uint8_t prf_id, uint8_t conn_idx, gattc_disc_char_t *p_disc_char)
Profile client Discover Characteristics on remote GATT server.
GATT characteristic descriptor discovery.
File that contains error codes.
uint16_t start_hdl
Attribute start handle.
uint16_t ble_gattc_prf_evt_handle_register(uint8_t prf_id, uint8_t conn_idx, gattc_prf_reg_peer_evt_t *env)
Profile client Register Indication/Notification event.
GATTC profile register to peer event info structure.
uint16_t handle
Handle of the attribute to be written.
uint16_t offset
Offset at which the data has to be written.
GATT prepare write request struct.
gatts_prf_cbs_t * gatts_prf_cbs
GATT server callback function in relation to the specific profile.
uint16_t end_hdl
Attribute end handle.
uint16_t handle
Handle of the attribute for whose value is requested.
gattc_prf_reg_evt_t
GATTC profile register enumeration.
uint16_t ble_client_prf_add(const prf_client_info_t *p_client_prf_info, uint8_t *p_client_prf_id)
Add a client profile by providing its detail information, including manager callback functions and GA...
prf_init_func_t init
Initialization callback.
uint16_t ble_gattc_prf_write_execute(uint8_t prf_id, uint8_t conn_idx, bool execute)
Profile client Execute Reliable/Long Write to remote GATT server.
uint16_t length
Data length to be written.
uint16_t handle
Handle of the write operation, or notification/indication operation.
GATT server callback function in relation to a profile.
ble_prf_manager_cbs_t * manager_cbs
Profile manager callbacks.
uint16_t ble_gattc_prf_char_desc_discover(uint8_t prf_id, uint8_t conn_idx, uint16_t start_hdl, uint16_t end_hdl)
Profile client Discover Characteristics Descriptors on remote GATT server.
GATT value Read response.
uint16_t ble_gattc_prf_services_browse(uint8_t prf_id, uint8_t conn_idx, const ble_uuid_t *p_srvc_uuid)
Profile client Browse Specific Primary Service information on remote GATT server.
GATTC Profile callback Structures.
GATT write request struct.