ModemManager using QMI doesnt always work in the first attemp.

Aleksander Morgado aleksander at aleksander.es
Tue Jan 19 13:00:33 PST 2016


On Tue, Jan 19, 2016 at 9:55 PM, c.lobrano at gmail.com
<c.lobrano at gmail.com> wrote:
>
>> 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

The key point, though, is that the modem is being managed in QMI mode,
not via AT commands. I wonder if the "QMI DMS operating system"
request/responses aren't enough or something.

-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list