// the find
ABasharEter/CSerialPort
A small and easy to use C library for serial port communication targeted for windows platform.
A thin Windows API wrapper for serial port communication in C, written in 2017 and untouched since. Two files: a header and an implementation. It targets Windows only and handles open/close/send/receive with synchronous blocking calls.
The API surface is as small as it gets — four functions, no struct hierarchies to learn. MIT license with two files you just drop into a project. Includes a loopback unit test that actually shows you how to use it. Good starting point if you need to read what the Windows serial port functions do without wading through MSDN.
Abandoned since December 2017 with 44 stars and no recent activity — not a maintained library, a snapshot. No async or overlapped I/O: everything blocks, which will freeze your UI thread or require you to spin a dedicated thread yourself. No timeout configuration exposed. Function names like ReciveData (typo in the public API) suggest this wasn't production-hardened. For anything beyond a weekend prototype, you'd outgrow it immediately.