ModemManager using QMI doesnt always work in the first attemp.
c.lobrano at gmail.com
c.lobrano at gmail.com
Tue Jan 19 12:55:50 PST 2016
Hi José, Aleksander,
my two cents here
> I have also noticed that ModemManager uses not documented AT+CFUN
modes:
>
> root at ccimx6sbc:~# mmcli -m 0 --set-power-state-off
> ModemManager[791]: <info> Modem powered off... may no longer be
accessible
> successfully set new power state in the modem
> root at ccimx6sbc:~# microcom /dev/ttyUSB2
>
> OK
> at+cfun?
> +CFUN: 7
>
> OK
> root at ccimx6sbc:~# mmcli -m 0 --set-power-state-low
> successfully set new power state in the modem
> root at ccimx6sbc:~# microcom /dev/ttyUSB2
> at+cfun?
> +CFUN: 6
>
> OK
>
> The only documented modes are 0, 1, 4 ,5 (see
>
http://www.coniugo.de/tl_files/dateien/downloads/at/AT%20Commands%20LE910.pdf,
> page 106).
Here you can find a more recent document that defines also state 7
http://www.telit.com/products/cellular/4g/
e.g. If your modem is a LE910 (namely non V2):
Parameters:
<fun> - is the power saving function mode
0 - minimum functionality, NON-CYCLIC SLEEP mode
1 - mobile full functionality with power saving disabled (factory
default)
2 - disable TX (Not support)
4 - disable both TX and RX
5 - mobile full functionality with power saving enabled
Special modes , you can see them through the read command but you can't
set those
mode :
7 – Offline mode
8 – FTM
Carlo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/modemmanager-devel/attachments/20160119/d4f0617a/attachment.html>
More information about the ModemManager-devel
mailing list