In July 2014 I released an updated version of Shawn Pierce’s gen_serial, which, when shopping around for a library allowing serial port access from Erlang, was clearly the only serious contender.

However, I needed this interface to work on both Linux and Windows. Shawn’s 0.1, while providing an excellent framework and a great Windows backend implementation, lacked a POSIX backend. So I set out to add one. Thankfully the code layout was quite easy to understand and with some relevant C programming experience on Linux, I could quickly complete the task.

Shawn kindly gave me his blessing of me taking over his project. So here it is: a generic serial port interface for Erlang, working on both Linux and Windows.

Please find the source online. The API documentation is also available online.

Enjoy!