HS COM is a serial communication library implemented in C language. HS COM runs on Windows and Interfaces to Win32 serial communication API. HS COM allows applications communicate with any device presented in the OS as a COM port. The physical interface may in be RS232, USB, IRDA, Bluetooth, etc. HS COM supports working concurrently with 100 COM ports (COM1 to COM100) The use of HS COM C Source Library is Royalty Free.
HS COM supports the following features when working with COM ports::
* Asynchronous non-blocking operation
* Sending Data (either as buffers or individual bytes)
* Receiving data, supporting either receive buffer callback or polled interface
* Controlling serial port lines RTS, DTR
* Full range of COM port baud rates: 110 to 256000
* Setting number of data bits, stop bits and parity
* Hardware (RTS/CTS) , software XON/XOFF or NONE flow control
Internally, HS COM implements receive and transmit buffer queues, serial communication receive and transmit Threads and uses asynchronous overlapped IO. This makes it easy for applications to add serial communication support by using HS COM C Source Library
HS COM C Source Library is supplied with full C source code and documentation
HS COM is intented to be used from C/C++ applications.
The terms of HS COM source code license provide for the royalty free use, derivative works, use within and outside your Company and re-distribution as part of your products.
API Summary
* HsComInit
* HsComCleanUp
* HsComOpenPort
* HsComClosePort
* HsComWriteBuffer
* HsComWriteByte
* HsComFlushTx
* HsComReadByte
* HsComExtendedFunc