Skip to content

Library for listing and checking availability of serial port on linux. Includes also example command line utility

License

Notifications You must be signed in to change notification settings

hjkoskel/listserialports

Repository files navigation

Listserialports

When working with hardware devices with usb-serial interface, it is sometimes quite frustrating when usb ports enumerate into hard to remember names. Or it is possible to start more than one program that access same serial ports and cause "funny" effects.

So I made this library for listing and checking serial device availability on program start.

Check lsserials as example/standalone command line tool.

notice

This works only on linux

This library is only part of my other project.

Later, there will be some features found from setserial utility (if my project requires) https://github.com/brgl/busybox/blob/master/miscutils/setserial.c like checking real uart status

About

Library for listing and checking availability of serial port on linux. Includes also example command line utility

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages