Lines Matching refs:gatt_cb
336 if (gatt_cb.enable_err_rsp && gatt_cb.req_op_code == op_code)
339 __FUNCTION__,gatt_cb.err_status);
341 gatt_send_error_rsp (p_tcb, gatt_cb.err_status, gatt_cb.req_op_code, 0, FALSE);
413 if (gatt_cb.enable_err_rsp && gatt_cb.req_op_code == op_code)
415 GATT_TRACE_DEBUG1("Conformance tst: forced err rspvofr ReadMultiple: error status=%d", gatt_cb.err_status);
419 gatt_send_error_rsp (p_tcb, gatt_cb.err_status, gatt_cb.req_op_code, handle, FALSE);
434 if ((err = gatts_read_attr_perm_check( gatt_cb.sr_reg[i_rcb].p_db,
479 gatt_cb.sr_reg[i_rcb].p_db,
492 gatt_sr_process_app_rsp(p_tcb, gatt_cb.sr_reg[i_rcb].gatt_if ,trans_id, op_code, GATT_SUCCESS, p_msg);
531 tGATT_SRV_LIST_INFO *p_list= &gatt_cb.srv_list_info;
828 tGATT_SRV_LIST_INFO *p_list= &gatt_cb.srv_list_info;
928 if (gatt_cb.cl_rcb[i].in_use )
930 conn_id = GATT_CREATE_CONN_ID(p_tcb->tcb_idx, gatt_cb.cl_rcb[i].gatt_if);
966 tGATT_SRV_LIST_INFO *p_list= &gatt_cb.srv_list_info;
972 if (gatt_cb.enable_err_rsp && gatt_cb.req_op_code == op_code)
974 GATT_TRACE_DEBUG1("Conformance tst: forced err rsp for ReadByType: error status=%d", gatt_cb.err_status);
976 gatt_send_error_rsp (p_tcb, gatt_cb.err_status, gatt_cb.req_op_code, s_hdl, FALSE);
1112 status = gatts_write_attr_perm_check (gatt_cb.sr_reg[i_rcb].p_db,
1125 p_sreg = &gatt_cb.sr_reg[i_rcb];
1234 tGATT_SR_REG *p_rcb = gatt_cb.sr_reg;
1242 if (gatt_cb.enable_err_rsp && gatt_cb.req_op_code == op_code)
1244 GATT_TRACE_DEBUG1("Conformance tst: forced err rsp: error status=%d", gatt_cb.err_status);
1246 gatt_send_error_rsp (p_tcb, gatt_cb.err_status, gatt_cb.req_op_code, handle, FALSE);
1315 if (gatt_cb.cb_info.p_srv_chg_callback)
1316 (*gatt_cb.cb_info.p_srv_chg_callback)(GATTS_SRV_CHG_CMD_UPDATE_CLIENT,&req, NULL);
1361 if (ack_handle == gatt_cb.handle_of_h_r)
1386 tGATT_SR_REG *p_rcb = gatt_cb.sr_reg;