SerialPort
DPYSERIALPORTTOOL Linux Programmer's Manual DPYSERIALPORTTOOL DESCRIPTION dpyserialporttool : Tool used for interacting with serial port SYNOPSIS dpyserialporttool [-h/ --help] dpyserialporttool [-tv / --toolversion] dpyserialporttool [-g / --getlist] dpyserialporttool [-spc/--setportconf] <portid> <alias> <protocol> <baudrate> <databits> <stopbits> <parity> <flowcontrol> dpyserialporttool [-s/--send] <portid> <data> dpyserialporttool [-e/ --event] OPTIONS -h / --help : Print help command information. -tv / --toolversion : Print tool version. -g / --getlist : Returns the available list of serial ports. -spc/--setportconf <portid> <alias> <protocol> <baudrate> <databits> <stopbits> <parity> <flowcontrol> : Set configuration of the serial port. -s/--send <portid> <data> : Send message through a serial port. -e/ --event : Subscribe to messages received to serial port. EXAMPLES dpyserialporttool -tv dpyserialporttool -g dpyserialporttool -spc COM1 "TEST" RS232 9600 8 1 NONE NONE dpyserialporttool -s COM1 'new message\n' : inserts a newline into a string. dpyserialporttool -s COM1 "new message\n" : inserts a newline into a string. dpyserialporttool -s COM1 'new message\\n' : scape new line and send as string. Two backslashes needed with single quotes. dpyserialporttool -s COM1 "new message\\\n" : scape new line and send as string. Three backslashes needed with double quotes. dpyserialporttool -e FILES JSON Configuration file : /mntSFS/gmvCNF/serialPortConfiguration.json BUGS SEE ALSO AUTHORS Deepsy Team