Shijo.Jose at hughes.com
Wed Aug 9 21:28:38 UTC 2017
> 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 ": <info> ModemManager is shut down)" but the process seems to be running.
> 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)
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.
From: Aleksander Morgado [mailto:aleksander at aleksander.es]
Sent: Friday, August 04, 2017 4:21 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.
> I am integrating an LTE modem, that supports MBIM, with a linux host (OpenWRT) and need the ability to configure it and monitor modem statistics (which will include unsolicited events) using a user process.
> So would you recommend using Modem Manager?
Yes, or some other custom process that keeps an MBIM session open and is able to receive unsolicited messages. ModemManager works very well in this case, so I'd just suggest that.
I built ModemManager, libqmi and libmbim packages for openwrt a while ago, see:
> ModemManager (version 1.7.0) currently gives this warning and does not
> start when I try to start if from the shell -
> : <warn> Could not acquire the 'org.freedesktop.ModemManager1'
> service name
> : <info> ModemManager is shut down
Is the dbus-daemon running?
> Also, I couldn't find an option in mmcli to send MBIM_CID_DEVICE_SERVICE_SUBSCRIBE_LIST.
This is implicit in ModemManager. ModemManager registers for the indications automatically. Which indications are you wanting to monitor?
More information about the libmbim-devel