🟨 Synchronous serial port descriptor and configuration
SaneCppSerialPort.h is a library implementing cross-platform serial port open/configuration APIs.
| Class | Description |
|---|---|
| SC::SerialDescriptor | Native serial port descriptor with configuration support. |
| SC::SerialSettings | Serial port settings. |
| SC::SerialOpenOptions | Open options for a serial descriptor. |
🟨 MVP
The v1 scope focuses on byte-stream descriptors and core serial settings.
Some relevant blog posts are:
SerialPortTest includes an optional section named windows com0com open/config/readback.
SC_TEST_COM0COM_PORT_A and SC_TEST_COM0COM_PORT_B to enable it.COMx and \\.\COMx.Example command: SC.bat build run SCTest Debug vs2022 -- --test "SerialPortTest" --test-section "windows com0com open/config/readback"
🟩 Usable
🟦 Complete Features:
💡 Unplanned Features:
LOC counts exclude comments. Library counts files physically under Libraries/SerialPort. Single File counts SaneCppSerialPort.h. Standalone counts SaneCppSerialPortStandalone.h and intentionally includes dependency payloads.
| Metric | Header | Source | Sum |
|---|---|---|---|
| Library | 55 | 599 | 654 |
| Single File | 86 | 1428 | 1514 |
| Standalone | 1289 | 3243 | 4532 |