How can I create modem object when in "failed" state?

Ido Dotan idod at ottopia.tech
Sun Nov 17 09:32:07 UTC 2019


Hi,

I want to create a modem object (org.freedesktop.ModemManager1.Modem), but
when it has no sim, an exception
"[org.freedesktop.ModemManager1.Error.Core.WrongState] modem in failed
state" is thrown.
The thing is, I want to reset the modem, and for this I do need to have the
modem object.

How can I create a modem object although it's in "failed" state? Or, on the
other hand, how can I reset a modem which hasn't been created yet, without
using any shell command?

Thanks a lot

-- 

*Ido Dotan, software developer*



*CONFIDENTIALITY NOTICE The information contained in this email message
(including any attachments) is confidential and proprietary, is not
intended for public access or use, and may be subject to privacy laws,
export control laws, and other legal restrictions and privileges. Such
information is intended only for the addressee(s) named above. You are
hereby notified that any dissemination, distribution, printing, retaining,
copying or use of this email (including its attachments) by unintended
recipient(s) is strictly prohibited and may be unlawful. If you are not an
addressee named above, or believe that you have received this email in
error, kindly notify the sender immediately (by replying to this email) and
permanently delete it (and its attachments) from your system.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20191117/c8ec5b8b/attachment.html>


More information about the ModemManager-devel mailing list