aboutsummaryrefslogtreecommitdiff
path: root/test/lsudev.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2015-02-11 18:24:50 +0100
committerAleksander Morgado <aleksander@aleksander.es>2015-02-11 19:58:12 +0100
commitf4ec32e6335b20c22db5b964ec5e667bbb8f8c39 (patch)
treef808e82cb8a9cf602437307e487fa92d88bd43dd /test/lsudev.c
parent7133d72f698c551d01cbc8f35102dc4d61148e20 (diff)
test: new 'mmtty' utility
The new tester allows to play with the AT-capable TTY using the same code as ModemManager itself. $ sudo ./test/mmtty -d /dev/ttyHS0 --verbose opening serial port '/dev/ttyHS0'... (ttyHS0) opening serial port... (ttyHS0): port attributes not fully set (ttyHS0) device open count is 1 (open) flashing serial port '/dev/ttyHS0'... ready > AT+GCAP (ttyHS0): --> 'AT+GCAP<LF><CR>' (ttyHS0): <-- '<CR><LF>+GCAP: +CGSM,+DS,+ES<CR><LF><CR><LF>OK<CR><LF>' +GCAP: +CGSM,+DS,+ES > AT+GMI (ttyHS0): --> 'AT+GMI<LF><CR>' (ttyHS0): <-- '<CR><LF>Option N.V.<CR><LF><CR><LF>OK<CR><LF>' Option N.V. > ^C cancelling the main loop... (ttyHS0) device open count is 0 (close) (ttyHS0) closing serial port... (ttyHS0) serial port closed (ttyHS0) forced to close port
Diffstat (limited to 'test/lsudev.c')
0 files changed, 0 insertions, 0 deletions