mostSetSpyCtrl, mostSetSpyAsync, mostSetSpyEthPkt
Valid for: CANoe DEFunction Syntax
long mostSetSpyCtrl(long channel, long mode);long mostSetSpyAsync(long channel, long mode);- MOST150:
long mostSetSpyEthPkt(long channel, long mode);
Description
Spy mode is activated (mode = 1) or deactivated (mode = 0) for the Control, Asynchronous or Ethernet transmission channel using these functions.Parameters
- channel: Channel of the connected interface
- mode:
0: Spy inactive1: Spy active
Return Values
See error codes.For MOST network interfaces that do not support a Spy mode, the error code kMostWrongHWType is returned.