Tag Info

Hot answers tagged

1

You can use a programming language to open a socket and roll-your-own library, using the modbus spec. Otherwise you can use an existing library, I have no experience with any of them, but this looked promising: http://libmodbus.org/documentation/


1

I wouldn't go through cups: CUPS is very problematic about RAW devices. It's much easier to do it like so: #!/bin/bash cu -E `` /dev/ttyAMA0 < $1 (I can't remember for sure if you are requiring back-ticks (``) or single-quotes (''). cu calls up the modem. [-E ``] sets the escape sequence to null. < redirects $1 to the modem over the serial line. ...



Only top voted, non community-wiki answers of a minimum length are eligible