Skip to main content
Open topic with navigation CAPL Functions » RS232 CAPL Functions

RS232 CAPL Functions

Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DE

RS232 API

  • RS232Close: Closes a serial port. More info
  • RS232Open: Opens serial port. More info
  • RS232Configure: Configures serial port (everything besides handshake). More info
  • RS232SetHandshake: Configures handshake parameters. More info
  • RS232Send: Sends block of data asynchronously on serial port. More info
  • RS232Receive: Sets receiver buffer for serial port. More info
  • RS232SetSignalLine: Sets signal line on serial port. More info

RS232 API Callback Handlers

  • RS232OnSend: Handler will be called after completion of request issued with RS232Send. More info
  • RS232OnReceive: Handler will be called regularly if data has been received at port. Starts with RS232Receive. More info
  • RS232OnError: Handler will be called if an error has occurred. More info

General Usage

First, open a port, then transmit and receive data, then close it. Example:
Deprecated INI FileRS232 API: Overview