Open topic with navigation CAPL Functions » MOST » mostSetSpyCtrl, mostSetSpyAsync, mostSetSpyEthPktDocumentation Index
Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
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.