Check Master Request Data Ocurrence
- Checks master request data.
- Case1:
Checks if the given (Nad, sid, data) has occurred occurrence times or not.
- Case2:
In the case of data = None, it will check if (Nad, Sid) has occurred occurrence times.
Arguments Description
channel_name (str): The Lin channel name.
nad (int): NAD (1 byte) master request Node Address
sid (int): SID (1 byte)
occurence (int): number of occurence
data (list[int], optional): data to be checked. Defaults to None.
Returns
bool: True if the number of occurrence is equal to occurrence.
Examples
Check Master Request Data Occurrence ${channel_name} ${nad} ${sid} ${5} ${data}