Check Received Negative Response Code

Gets the code corresponding to the diagnostic negative response received

Arguments Description

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

value (int): The expected response code

Returns

int: The negative response code if exist; otherwise, -1.

Example

Check Received Negative Response Code ${0x22} ${connection_name}