libsigrok is a shared C library which provides basic hardware access drivers for logic analyzers, oscilloscopes, MSOs, multimeters, dataloggers, and more. It also provides input/output file format support.
libmodbus is a library to send and receive data with a device that respects the Modbus protocol. This library is written in C and supports RTU (serial) and TCP (Ethernet) communications.