Open topic with navigation CAPL Functions » VT System » OnSerialReceiveDocumentation Index
Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
OnSerialReceive
Valid for: CANoe DE • CANoe:lite DE NoteThis callback function must be implemented in the CAPL program by the user to get notifications when data has been received on a serial port of a VT7001 module. The callback can be installed using the CAPL function SerialSetOnReceiveHandler.
Method Syntax
Description
The function is called when data has been received from the assigned VT7001 serial port.Parameters
-
buffer
Receive buffer for the assigned VT7001 serial port (set with SerialReceive). The buffer is only valid within the callback. -
number
Number of Bytes that have been received.