Go to the documentation of this file.
182 void (*app_gatts_cccd_set_cb)(uint8_t conidx,
const ble_gap_bdaddr_t *p_peer_bd_addr, uint16_t handle, uint16_t cccd_val);
254 void (*app_gattc_inc_srvc_disc_cb)(uint8_t conn_idx, uint8_t status,
const ble_gattc_incl_disc_t * p_inc_srvc_disc);
258 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.
uint16_t max_connection_nb
uint16_t max_connection_nb
Profile manager callbacks.
Profile client register information structure.
The struct of broadcast address with broadcast type.
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. There is no need to recovery CCCD because stack will do that.
ble_prf_manager_cbs_t * manager_cbs
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
Parameter of Added service description.
prf_on_disconnect_func_t on_disconnect
void(* prf_on_connect_func_t)(uint8_t conn_idx, const ble_gap_bdaddr_t *p_peer_bd_addr)
Handles Connection creation. There is no need to recovery CCCD because stack will do that.
gattc_prf_cbs_t * gattc_prf_cbs
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 read request struct.
GATTS Multiple Variable Length Notification Operation Complete event structure.
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_gattc_prf_add(ble_uuid_t *p_uuid, ble_evt_handler_t evt_handler)
Add a client profile by providing its detail information.
GATTC write without response structure.
uint16_t ble_gattc_prf_read_by_uuid(uint8_t prf_id, uint8_t conn_idx, ble_gattc_read_by_uuid_t *p_read_by_uuid)
Profile client Read Attribute by UUID.
GATT characteristic descriptor discovery.
sdk_err_t ble_gatts_prf_add(ble_gatts_create_db_t *p_gatts_db, ble_evt_handler_t evt_handler)
Add a server profile by providing its detailed information..
File that contains error codes.
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 ble_gattc_prf_read_multiple(uint8_t prf_id, uint8_t conn_idx, const ble_gattc_read_multiple_t *p_param)
Profile client Initiate a Read Multiple Characteristic Values procedure.
GATT prepare write request struct.
uint16_t sdk_err_t
SDK API result type.
gatts_prf_cbs_t * gatts_prf_cbs
ble_gatt_evt_type_t
GATT common events.
uint16_t ble_gattc_prf_write(uint8_t prf_id, uint8_t conn_idx, ble_gattc_write_attr_value_t *p_write_attr_value)
Profile client Write (Long) Characteristic (Descriptor) Value.
gattc_prf_reg_evt_t
GATTC profile register enumeration.
GATTC write attribute value structure.
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 ble_gattc_prf_write_prepare(uint8_t prf_id, uint8_t conn_idx, ble_gattc_write_attr_value_t *p_write_attr_value)
Profile client Prepare Long/Reliable Write to remote GATT server.
GATTC read by characteristic UUID structure.
ble_evt_handler_t gatts_evt_handler
void(* ble_evt_handler_t)(const ble_evt_t *p_evt)
The BLE event handler type.
GATT server callback function in relation to a profile.
ble_prf_manager_cbs_t * manager_cbs
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_char_discover(uint8_t prf_id, uint8_t conn_idx, ble_gattc_disc_char_t *p_disc_char)
Profile client Discover Characteristics on remote GATT server.
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.
uint16_t ble_gattc_prf_write_no_resp(uint8_t prf_id, uint8_t conn_idx, ble_gattc_write_no_resp_t *p_write_no_resp)
Profile client Write Attribute to remote GATT server (without response).
ble_evt_handler_t gattc_evt_handler
GATT write request struct.
GATTC discovery characteristic structure.