Home | History | Annotate | Download | only in gatt

Lines Matching refs:p_rcb

530     tGATT_SR_REG    *p_rcb;
541 p_rcb = GATT_GET_SR_REG_PTR(p_srv->i_sreg);
543 if (p_rcb->in_use &&
544 p_rcb->s_hdl >= s_hdl &&
545 p_rcb->s_hdl <= e_hdl &&
546 p_rcb->type == GATT_UUID_PRI_SERVICE)
548 p_uuid = gatts_get_service_uuid (p_rcb->p_db);
573 UINT16_TO_STREAM(p, p_rcb->s_hdl);
583 UINT16_TO_STREAM(p, p_rcb->e_hdl);
614 static tGATT_STATUS gatt_build_find_info_rsp(tGATT_SR_REG *p_rcb, BT_HDR *p_msg, UINT16 *p_len,
623 if (!p_rcb->p_db || !p_rcb->p_db->p_attr_list)
627 p_attr = (tGATT_ATTR16 *) p_rcb->p_db->p_attr_list;
827 tGATT_SR_REG *p_rcb;
856 p_rcb = GATT_GET_SR_REG_PTR(p_srv->i_sreg);
858 if (p_rcb->in_use &&
859 !(p_rcb->s_hdl > e_hdl ||
860 p_rcb->e_hdl < s_hdl))
862 reason = gatt_build_find_info_rsp(p_rcb, p_msg, &buf_len, s_hdl, e_hdl);
958 tGATT_SR_REG *p_rcb;
1006 p_rcb = GATT_GET_SR_REG_PTR(p_srv->i_sreg);
1008 if (p_rcb->in_use &&
1009 !(p_rcb->s_hdl > e_hdl ||
1010 p_rcb->e_hdl < s_hdl))
1018 p_rcb->p_db,
1160 static void gatts_process_read_req(tGATT_TCB *p_tcb, tGATT_SR_REG *p_rcb, UINT8 op_code,
1192 p_rcb->p_db,
1234 tGATT_SR_REG *p_rcb = gatt_cb.sr_reg;
1254 for (i = 0; i < GATT_MAX_SR_PROFILES; i ++, p_rcb ++)
1256 if (p_rcb->in_use && p_rcb->s_hdl <= handle && p_rcb->e_hdl >= handle)
1258 p_attr = (tGATT_ATTR16 *)p_rcb->p_db->p_attr_list;
1268 gatts_process_read_req(p_tcb, p_rcb, op_code, handle, len, p);
1386 tGATT_SR_REG *p_rcb = gatt_cb.sr_reg;
1398 for (i = 0; i < GATT_MAX_SR_PROFILES; i ++, p_rcb ++)
1400 if (p_rcb->in_use && p_rcb->s_hdl <= handle && p_rcb->e_hdl >= handle)
1403 conn_id = GATT_CREATE_CONN_ID(p_tcb->tcb_idx, p_rcb->gatt_if);