Bus Observer Check Traffic

Checks traffic over a specific bus during the time range [ current_time - timeout, current_time].

Arguments Description

bus_name (str): Bus name

timeout (int): A period of time in milliseconds

event_type (EventType,optional): Tracked Bus Event type,
enum { 0Frame event ,

1 : Lin wake up event, 2 : Lin sleep event}

Defaults to frame event.

Returns

bool: True if there is traffic; otherwise, False.

Example

${res}= Bus Observer Check Traffic ${bus_name} ${1000}

Note

A listener should be started before, over the same bus.