COMM-DRV/Lib: Getting Started

The following sections detail how to use COMM-DRV/Lib.

  1. Open the serial port.Initialize the port (OpenComPort() or InitializePort()).
  2. Set the port’s line characteristics like baud rate, parity, etc.(SetPortCharacteristics()).
  3. Send and receive data(GetPacket(), PutPacket(), GetByte(), PutByte())
  4. Close the serial port(CloseComPort() or UnInitializePort()).

The above sequence is followed by any language or tool using COMM-DRV/Lib.