I’m trying to set up serial communication between NAP on OSX and an Arduino device connected through USB.
After adding a SerialPort resource to my app structure, I’m stuck with the following failure message during initialisation:
[error] Failed to open SerialPort: IO Exception (2): No such file or directory, file /Users/coenklosters/Documents/dev/thirdparty/serial/src/impl/unix.cc, line 151.
Any clues? The path in this error message makes me suspect that an absolute path is used instead of a relative path somewhere.
A related question: is there a demo available that uses mod_napserial? This would be of great help.