Home | History | Annotate | Download | only in gatt

Lines Matching full:op_code

46 BT_HDR *attp_build_mtu_cmd(UINT8 op_code, UINT16 rx_mtu)
55 UINT8_TO_STREAM (p, op_code);
72 BT_HDR *attp_build_exec_write_cmd (UINT8 op_code, UINT8 flag)
84 UINT8_TO_STREAM (p, op_code);
86 if (op_code == GATT_REQ_EXEC_WRITE)
136 BT_HDR *attp_build_browse_cmd(UINT8 op_code, UINT16 s_hdl, UINT16 e_hdl, tBT_UUID uuid)
148 UINT8_TO_STREAM (p, op_code);
234 BT_HDR *attp_build_handle_cmd(UINT8 op_code, UINT16 handle, UINT16 offset)
245 UINT8_TO_STREAM (p, op_code);
251 if (op_code == GATT_REQ_READ_BLOB)
270 BT_HDR *attp_build_opcode_cmd(UINT8 op_code)
280 UINT8_TO_STREAM (p, op_code);
295 BT_HDR *attp_build_value_cmd (UINT16 payload_size, UINT8 op_code, UINT16 handle,
305 UINT8_TO_STREAM (p, op_code);
309 if (op_code == GATT_RSP_READ_BY_TYPE)
316 if (op_code != GATT_RSP_READ_BLOB && op_code != GATT_RSP_READ)
322 if (op_code == GATT_REQ_PREPARE_WRITE ||op_code == GATT_RSP_PREPARE_WRITE )
335 if (op_code == GATT_RSP_READ_BY_TYPE)
385 BT_HDR *attp_build_sr_msg(tGATT_TCB *p_tcb, UINT8 op_code, tGATT_SR_MSG *p_msg)
390 switch (op_code)
405 op_code,
413 p_cmd = attp_build_opcode_cmd(op_code);
421 p_cmd = attp_build_exec_write_cmd(op_code, 0);
425 p_cmd = attp_build_mtu_cmd(op_code, p_msg->mtu);
429 GATT_TRACE_DEBUG1("attp_build_sr_msg: unknown op code = %d", op_code);
525 ** op_code: message op code.
532 tGATT_STATUS attp_send_cl_msg (tGATT_TCB *p_tcb, UINT16 clcb_idx, UINT8 op_code, tGATT_CL_MSG *p_msg)
540 switch (op_code)
559 p_cmd = attp_build_browse_cmd(op_code,
572 handle = (op_code == GATT_REQ_READ) ? p_msg->handle: p_msg->read_blob.handle;
576 p_cmd = attp_build_handle_cmd(op_code, handle, offset);
583 p_cmd = attp_build_opcode_cmd(op_code);
595 op_code, p_msg->attr_value.handle,
605 p_cmd = attp_build_exec_write_cmd(op_code, p_msg->exec_write);
623 status = attp_cl_send_cmd(p_tcb, clcb_idx, op_code, p_cmd);