SCC_GetPreparedEXIMessage
CAPL Functions » Smart Charging » SCC Modeling Libraries (Simulation Setup) » Test Functions » Shared Functions » SCC_GetPreparedEXIMessage Valid for: CANoe DE • CANoe4SW DENote
- Use this function to access the EXI encoder to create reference messages, or to create V2G messages with a custom TCP header. The latter can then be sent using the features of the Option Ethernet.
- It is possible to call SendPreparedMessage() subsequently without preparing the message anew.
Function Syntax
Description
Finalizes a message without sending. The message data is returned to an output buffer instead. Usually this data consists of the V2G header and the EXI encoded V2G payload.Parameters
- Data: Queries the message (to the given byte buffer). Make sure to use a buffer that is large enough (some messages may take up to 10 kB).
- DataLength: Gets the length of the copied data (via reference).
- ConfigSection: ID of the config section where the certificates can be found.