mostMsgSet
Valid for: CANoe DEFunction Syntax
long mostMsgSet(mostAmsMessage * msg, long destAdr, char symbolicMessage[], long instId);// form 1long mostMsgSet(mostAmsMessage * msg, char symbolicMessage[], long instId);// form 2long mostMsgSet(mostAmsMessage * msg, char symbolicMessage[]);// form 3
Description
Populating an AMS message using the syntax from the MOST specification and the description in the XML function catalog. PosDescription, TelLen and StreamCases are checked in addition to FunctionBlock, FunctionID and OpType. See also Option .MOST: Symbolic Identification of MessagesParameters
- msg: Message to be populated
- destAdr: Destination address
- symbolicMessage: Description of the message content in the following formats:
FBlock.InstanceId.Function.OpType(Parameterlist)FBlock.InstanceId.Function.OpTypeFBlock.Function.OpType(Parameterlist)FBlock.Function.OpType
- InstId: InstanceID of the function block
Return Values
- 0: OK (Parameter is available)
- <0: See error codes