mostSetRetryParameter, mostGetRetryParameter
Valid for: CANoe DEFunction Syntax
long mostSetRetryParameter(long channel, long id, long value);long mostGetRetryParameter(long channel, long id);
Description
The functions provide access to the transceiver chip parameters for message transmission. The number of low-level transmission attempts and delay between attempts can be set and retrieved.Parameters
- channel: Channel of the connected interface.
-
id: Parameter identification (see table below).
-
ID 0: Transmission attempts on the control channel.
- VN26x0 (MOST25): 1..255
- VN2640 (MOST150): 1..16
- OptoLyzer G2 3150o (MOST150): 1..16
-
ID 1: Time between send retries on the control channel.
- VN26x0 (MOST25): 3..255
- VN2640 (MOST150): 3..31
- OptoLyzer G2 3150o (MOST150): 3..15
-
ID 2: Transmission attempts on the asynchronous channel.
- VN2640 (MOST150): 1..16
- OptoLyzer G2 3150o (MOST150): 1..16
-
ID 3: Time between send retries on the asynchronous channel.
- VN2640 (MOST150): 0..255
- OptoLyzer G2 3150o (MOST150): 0..255
-
ID 0: Transmission attempts on the control channel.
- value: Value to be set.
Return Values
- mostSetRetryParameter: See error codes.
- mostGetRetryParameter:
>=0: Retry parameter value.<0: See error codes.