CAPL Script

InterfaceStatus

Syntax

void InterfaceStatus(long time, long channel, long status);

Function

The callback can be inserted in the sectionscallback functionorfunction. The callback occurs when the status of the connection to the interface hardware is changed (e.g. whenWindowsreports a lost connection to a CAN/WLAN gateway or to a WLAN interface hardware for Car2x communication).

Parameters

time Time, resolution 10us

channel The channel number

status Status of the channel Values:3015: The connection is lost

Return Values

void InterfaceStatus(long time, long channel, long status){if(status == 3015){write("Time %f s, channel %d: The connection to the interface is lost!", ((float)time)/100000.0, channel);}else{//other status is not yet supported}}