Sercom is a complete package for software developers, and helps with serial communication via COM ports in Win98/NT/2000/XP. The package includes a DLL (Dynamic Link Library) and associated files as documentation.

The DLL can't be downloaded anymore! Instead of the DLL use the sercom C++ class. It has the same functionality as the old DLL, but the communication is more effective without threads.


Information
The DLL has functions for sending and receiving data from serial COM ports with optional speed. Both syncronous and overlapped operations can be used at the same time.

- Can use several com ports, COM1, COM2 etc.
- Syncronous and asyncronous operations.
- Every port has it's own settings for bitrate, parity, bits per byte, stop bits & timeouts.
- Full functional in Win98/NT/2000/XP.
- Example of using the DLL in C++.

Functions in version 2.1.1 of Sercom DLL:
- sercomCreateObject (create sercom object)
- sercomDeleteObject (delete sercom object)
- sercomInit (initiate the serial port)
- sercomRead (read from port syncronously)
- sercomWrite (write to port syncronously)
- sercomReadOverlapped (read from port asyncronously)
- sercomWriteOverlapped (write to port asyncronously)
- sercomCancelRead (cancel a pending read operation)
- sercomCancelWrite (cancel a pending write operation)
- sercomStatus (get status of last operation)
- sercomClearReadBuffer (clear read buffer)
- sercomClearWriteBuffer (clear write buffer)
- sercomBytesRead (get number of read bytes in last read operation)
- sercomBytesWritten (get number of written bytes in last write operation)
- sercomSetCtrlSignal (set control signal)
- sercomReadStatSignal (read status signal)

Click here to look at functions in detail.


History

2005.06.26
: From now on the sercom C++ class will be used instead of the DLL.

v2.1.1 - 2005.04.12
: Set control signals and read status signals. No need for cancelling when a timeout has occured.

v2.0.0 - 2004.01.13
: A big step from v1.2.1. The DLL is totally rewritten and all functions are new. Syncronous and asyncronous operations, win32 timeouts, events and much more.

v1.2.1 - 2001.08.25
: Function for clearing the ring buffer.

v1.2.0 - 2001.08.13 : Use several com ports simultaneously, better way to initiate, new functions.

v1.1.0 - 2001.07.18 : The DLL is totally changed, many new functions. This homepage is founded.

v1.0.0 - 2000.xx.xx : The DLL was borned, to use with a programmer for microcontrollers.