Send Diag

Sends diag synchronously, without waiting for response.

Arguments Description

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

dut_name (str, optional): connection names . Defaults take the started DUT.

Returns

List[int]: Response payload

Example

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