RS232OnSend
Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DEFunction Syntax
Description
Callback handler for completion of send operation to a serial port. Note- Will be called only at the node which issued the send operation.
- The handler will only be called for success. For errors RS232OnError will be called.
Parameters
- port: A number between 1 and 255 identifying a serial port.
- buffer: The buffer given to the send call.
- number: The number of bytes which have been sent.
Return Values
- 0: error
- The error occurs if no send operation will be used.
- 1: success