Send Raw Diag

Sends diag synchronously, with waiting for response.

Arguments Description

payload (Union[list[int], bytes]): Diagnostic payload to be sent

dut_name (str, optional): connection name. Defaults to the started DUT.

Returns

ref:’ Response<Response>’: Response of the send diag job

Example

# Case1: sending with list[int]
${data}= Create List ${0x22} ${0x01} ${0x02}
Send Raw Diag ${data} ${dut_name}
# Case2: Sending 1 byte
Send Raw Diag ${0x22} ${dut_name}