Check Data Inresponse From Offset

Checks the diagnostic response starting from offset when bytes position of data to be checked is unknown.

Arguments Description

offset (int): The byte index from which will start the check, including ServiceId, Subfunction, DID

received_payload (list[int]): The diagnostic response original_payload

user_datalist (Union[int, list[int]]): The data to be checked

check_in (bool): The check will be based on this value.

If = True => We will check if the user_data is in the Diag response. If = False => We will check if the user_data is not in Diag response.

Returns

Nothing: The keyword will pass if the check succeeded. Else Keyword will fail.

Example

${dataList}= Create List ${0x22} ${0x01} ${0x02}
${original_payload} = Get Diag Original Payload ${connection_name}
Check Data Inresponse From Offset ${0} ${original_payload} ${dataList} ${True}