fancqmi is a wrapper library for the libqmi-glib modem control library, which can be found under http://www.freedesktop.org/wiki/Software/libqmi/
SVN: svn+ssh://fancylibs@svn.clazzes.org/fancylibs/trunk/fancyqmi
repositories:
This package is standalone program to watch a modem
apt-get install fancyqmi-tool |
If you only need the library, install the following packages:
apt-get install libfancyqmi1 libfancyqmi1-dev |
All packages have a counterpart containing debug symbols for gdb:
fancyqmi-tool-dbg libfancyqmi1-dbg |
The fancyqmi-tool client lets you wath the signal and system info using the following commands:
fancyqmi-tool watch /dev/cdc-wdm0 fancyqmi-tool -ffancyqmi watch /dev/cdc-wdm0 fancyqmi-tool -ffancyqmi watch --poll /dev/cdc-wdm0 |
These examples watch the modem until the process is interrupted by a signal (Ctrl-C or kill).
The -ffancyqmi
option increases the log level, --poll
activates polling instead of listening to unsolicited callback from libqmi-glib.
If client IDs are not released using QmiDmsClient::release()
resp. QmiNasClient::release()
and the like, the error "ClientIdsExhausted
" can occur and even survive cold reboots.
As documented in the ac. mailinglist under the subject SYNC indiciations, performing an arbitrary qmicli
command with --device-open-sync can solve this:
qmicli -d /dev/cdc-wdm0 --wds-get-packet-service-status --device-open-sync |