The following sections detail how to use COMM-DRV/Lib.
- Open the serial port.Initialize the port (OpenComPort() or InitializePort()).
- Set the port’s line characteristics like baud rate, parity, etc.(SetPortCharacteristics()).
- Send and receive data(GetPacket(), PutPacket(), GetByte(), PutByte())
- Close the serial port(CloseComPort() or UnInitializePort()).
The above sequence is followed by any language or tool using COMM-DRV/Lib.