Hey, For systems where there is usually one single object available, mmcli still needed to provide the exact modem/sim index number or a fixed UID setup by the user as a udev tag.
I've tried to hack up a simpler solution which I hope is even easier to use; see https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/258 It allows the user to use "any" (or even just "a") to refer to the first available modem or SIM object found in the system. It is obviously not fit for systems with more than one modem, but if there is only one, it will always work. E.g.: $ mmcli -m a -------------------------------- General | dbus path: /org/freedesktop/ModemManager1/Modem/0 | device id: 1a48f1180f1fb0166d91f7b139d027136b59ba63 -------------------------------- Hardware | manufacturer: Sierra Wireless Inc. | model: Sierra Wireless EM7345 4G LTE ... Comments welcome! -- Aleksander https://aleksander.es _______________________________________________ ModemManager-devel mailing list ModemManager-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel