Bus Observer Monitor Traffic

Checks if there is traffic during timeout [current_time , current_time +timeout].

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 during the timeout; otherwise, False.

Example

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

Note

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