Lines Matching refs:op_code
47 static tGATT_STATUS gatts_send_app_read_request(tGATT_TCB *p_tcb, UINT8 op_code,
328 UINT8 op_code,
384 status = gatts_send_app_read_request(p_tcb, op_code, p_attr->handle, 0, trans_id);
640 UINT8 op_code,
661 (BOOLEAN)(op_code == GATT_REQ_READ_BLOB),
666 status = gatts_send_app_read_request(p_tcb, op_code, p_attr->handle, offset, trans_id);
731 ** op_code:op code of this write.
742 tGATT_STATUS gatts_write_attr_perm_check (tGATT_SVC_DB *p_db, UINT8 op_code,
752 GATT_TRACE_DEBUG( "gatts_write_attr_perm_check op_code=0x%0x handle=0x%04x offset=%d len=%d sec_flag=0x%0x key_size=%d",
753 op_code, handle, offset, len, sec_flag, key_size);
773 if ((op_code == GATT_CMD_WRITE || op_code == GATT_REQ_WRITE)
793 if ((op_code == GATT_SIGN_CMD_WRITE) && !(perm & GATT_WRITE_SIGNED_PERM))
798 if ((op_code == GATT_SIGN_CMD_WRITE) && (sec_flag & GATT_SEC_FLAG_ENCRYPTED))
830 else if (perm & GATT_WRITE_SIGNED_PERM && op_code != GATT_SIGN_CMD_WRITE && !(sec_flag & GATT_SEC_FLAG_ENCRYPTED)
882 if (op_code == GATT_REQ_PREPARE_WRITE && offset != 0) /* does not allow write blob */
1140 static tGATT_STATUS gatts_send_app_read_request(tGATT_TCB *p_tcb, UINT8 op_code,
1154 trans_id = gatt_sr_enqueue_cmd(p_tcb, op_code, handle);
1163 sr_data.read_req.is_long = (BOOLEAN)(op_code == GATT_REQ_READ_BLOB);