Commit Graph
12 Commits
Author SHA1 Message Date
Aleksander Morgado f4ec32e633 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
2015-02-11 19:58:12 +01:00
Aleksander Morgado f3f499fcec test: remove testers of the old interface
Old python tests using the old ModemManager interface are removed, as mmcli
provides already a much nicer way to test the DBus interface.

Also, mm-test.py and the PPPD plugin get removed, which were also using the old
interface, and which were not very useful for testing newer non-PPP based
modems.

https://bugzilla.gnome.org/show_bug.cgi?id=702061
2013-06-18 16:30:26 +02:00
Dan Williams 31d98a43c8 test: add utility to force a modem disconnect 2012-08-31 09:24:01 +02:00
Dan Williams 346060efe8 test: add SMS get example/test 2012-01-26 12:35:30 -06:00
Dan Williams b9037d1150 test: add missing examples to Makefile.am 2012-01-26 09:08:18 -06:00
Dan Williams 13d2eee6f1 test: rename SMS send example 2012-01-26 09:07:48 -06:00
Dan Williams 7a7014330c examples: add example of auto-enabling modems 2011-09-30 14:38:11 -05:00
Dan Williams c38da2d2c1 test: add test program to send SIM PIN 2011-03-26 12:28:29 -05:00
Dan Williams fe2145ddc4 test: add modem info helper 2010-07-09 15:24:42 -07:00
Dan Williams 71cbcb834c build: don't require pppd headers to build
If they're not there, just ignore them and don't build the PPP-enabled
bits of the test tool.
2009-12-21 11:18:38 -08:00
Dan Williams a8fc7ecd77 test: add ability to drive ppp for connection tests 2009-12-20 00:17:12 -08:00
Tambet Ingo f0a2dc606c Add an example testing program. 2008-07-31 14:03:37 +03:00