mmcli JSON output possible values

Ralf Glaser glaser at
Tue Dec 7 10:28:06 UTC 2021


we intend to use the JSON output of mmcli in one of our projects, e.g. we'd like to poll the current state of the modem. Our current problem is that we don't know which values could possibly be returned ("registered", "searching", etc.). Is there any further description of the JSON return values or could anybody point me to the code section where the response is actually constructed? I've searched the code for keywords "registered", "searching" but this didn't yield any useful results...

Thanks and best regards,

Dipl. Ing. Ralf Glaser


IoTmaxx GmbH

Bultstrasse 5a

30159 Hannover

Tel.: +49 511 936874-29

Fax.: +49 511 936874-33

Sitz der Gesellschaft: Hannover, Amtsgericht Hannover HRB 220223, USt-IdNr.: DE326326282

Geschäftsführer: Christian Lelonek

Diese E-Mail kann vertrauliche und/oder rechtlich geschützte Informationen enthalten.

Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail.

Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail oder von Informationen daraus ist nicht gestattet.

This e-mail may contain confidential and/or privileged information.

If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail.

Any unauthorised copying, disclosure or distribution of the information contained in the e-mail is strictly forbidden.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the ModemManager-devel mailing list