MBIM_CID_DEVICE_SERVICE_SUBSCRIBE_LIST support

Jose, Shijo Shijo.Jose at hughes.com
Tue Aug 15 01:09:30 UTC 2017


To restart MM, I use -
> sudo killall -TERM ModemManager
> ModemManager
(I don’t have systemctl on openwrt)

Also, can I have MM detect an already connected (plugged-in) USB modem, instead of waiting for a hotplug event?
 
Is there way to send AT commands to the modem via MM?
I tired -
mmcli -m 0 --command="E0"
error: command failed: 'GDBus.Error:org.freedesktop.ModemManager1.Error.Core.Connected: No AT port available to run command'

Thanks,
Shijo


-----Original Message-----
From: Aleksander Morgado [mailto:aleksander at aleksander.es] 
Sent: Thursday, August 10, 2017 1:19 AM
To: Jose, Shijo <Shijo.Jose at hughes.com>
Cc: libmbim-devel at lists.freedesktop.org; Kerrigan, Chris <Chris.Kerrigan at hughes.com>
Subject: Re: MBIM_CID_DEVICE_SERVICE_SUBSCRIBE_LIST support

WARNING: The sender of this email could not be validated and may not match the person in the "From" field.

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.


On 09/08/17 23:28, Jose, Shijo wrote:
>> Is the dbus-daemon running?
> Yes, dbus-daemon is running with the 'system' option. ModemManager process seems to be running too.
>
> However when I restart ModemManager from the shell per the 
> instructions provided in - www.freedesktop.org/wiki/Software/ModemManager/Debugging/, I see the log message "[5337]: <info>  ModemManager is shut down)" but the process seems to be running.
>

You need to disable MM, stop MM, and then manually start it. If you provide the full list of commands you're using I could try to see what the issue is.

>
>> This is implicit in ModemManager. ModemManager registers for the indications automatically. Which indications are you wanting to monitor?
> I am looking to monitor -
>
> Solicited and Unsolicited:
> SIM status (MBIM_CID_SUBSCRIBER_READY_STATUS)
> Connection / PDP context information (MBIM_CID_PROVISIONED_CONTEXTS?) 
> Registration state (MBIM_REGISTRATION_STATE_INFO) IP configuration 
> (MBIM_CID_IP_CONFIGURATION)
>
> Solicited:
> Packet statistics (MBIM_CID_PACKET_STATISTICS)
>
> How do I check if ModemManager is receiving these unsolicited events? I did not find a method to do this in the Modem/Manager objects.

I believe MM will receive and use all of those, yes. You can check that by looking at ModemManager debug logs.


--
Aleksander
https://aleksander.es



More information about the libmbim-devel mailing list