• Home
  • Raw
  • Download

Lines Matching refs:gatt_cb

296   if (gatt_cb.enable_err_rsp && gatt_cb.req_op_code == op_code) {  in gatt_process_exec_write_req()
299 << +gatt_cb.err_status; in gatt_process_exec_write_req()
301 gatt_send_error_rsp(tcb, gatt_cb.err_status, gatt_cb.req_op_code, in gatt_process_exec_write_req()
302 gatt_cb.handle, false); in gatt_process_exec_write_req()
367 if (gatt_cb.enable_err_rsp && gatt_cb.req_op_code == op_code) { in gatt_process_read_multi_req()
369 << +gatt_cb.err_status; in gatt_process_read_multi_req()
373 gatt_send_error_rsp(tcb, gatt_cb.err_status, gatt_cb.req_op_code, handle, in gatt_process_read_multi_req()
385 if (it != gatt_cb.srv_list_info->end()) { in gatt_process_read_multi_req()
461 for (tGATT_SRV_LIST_ELEM& el : *gatt_cb.srv_list_info) { in gatt_build_primary_service_rsp()
494 if (gatt_cb.last_service_handle && in gatt_build_primary_service_rsp()
495 gatt_cb.last_service_handle == el.s_hdl) { in gatt_build_primary_service_rsp()
697 for (tGATT_SRV_LIST_ELEM& el : *gatt_cb.srv_list_info) { in gatts_process_find_info()
768 if (gatt_cb.cl_rcb[i].in_use) { in gatts_process_mtu_req()
770 GATT_CREATE_CONN_ID(tcb.tcb_idx, gatt_cb.cl_rcb[i].gatt_if); in gatts_process_mtu_req()
799 if (gatt_cb.enable_err_rsp && gatt_cb.req_op_code == op_code) { in gatts_process_read_by_type_req()
801 << +gatt_cb.err_status; in gatts_process_read_by_type_req()
803 gatt_send_error_rsp(tcb, gatt_cb.err_status, gatt_cb.req_op_code, s_hdl, in gatts_process_read_by_type_req()
825 for (tGATT_SRV_LIST_ELEM& el : *gatt_cb.srv_list_info) { in gatts_process_read_by_type_req()
1024 gatt_cb.handle = handle; in gatts_process_attribute_req()
1025 if (gatt_cb.enable_err_rsp && gatt_cb.req_op_code == op_code) { in gatts_process_attribute_req()
1027 << +gatt_cb.err_status; in gatts_process_attribute_req()
1029 gatt_send_error_rsp(tcb, gatt_cb.err_status, gatt_cb.req_op_code, handle, in gatts_process_attribute_req()
1037 for (auto& el : *gatt_cb.srv_list_info) { in gatts_process_attribute_req()
1091 if (gatt_cb.cb_info.p_srv_chg_callback) in gatts_proc_srv_chg_ind_ack()
1092 (*gatt_cb.cb_info.p_srv_chg_callback)(GATTS_SRV_CHG_CMD_UPDATE_CLIENT, in gatts_proc_srv_chg_ind_ack()
1134 if (ack_handle == gatt_cb.handle_of_h_r) { in gatts_proc_ind_ack()
1170 for (auto& el : *gatt_cb.srv_list_info) { in gatts_process_value_conf()