diff --git a/cli/mmcli-modem.c b/cli/mmcli-modem.c index 981421b6..154414b9 100644 --- a/cli/mmcli-modem.c +++ b/cli/mmcli-modem.c @@ -323,10 +323,12 @@ print_modem_info (void) g_print (" -------------------------\n" " System | device: '%s'\n" " | drivers: '%s'\n" - " | plugin: '%s'\n", + " | plugin: '%s'\n" + " | primary port: '%s'\n", VALIDATE_UNKNOWN (mm_modem_get_device (ctx->modem)), VALIDATE_UNKNOWN (drivers_string), - VALIDATE_UNKNOWN (mm_modem_get_plugin (ctx->modem))); + VALIDATE_UNKNOWN (mm_modem_get_plugin (ctx->modem)), + VALIDATE_UNKNOWN (mm_modem_get_primary_port (ctx->modem))); /* Numbers related stuff */ g_print (" -------------------------\n" diff --git a/docs/reference/libmm-glib/libmm-glib-sections.txt b/docs/reference/libmm-glib/libmm-glib-sections.txt index 181d6604..f37e7a3d 100644 --- a/docs/reference/libmm-glib/libmm-glib-sections.txt +++ b/docs/reference/libmm-glib/libmm-glib-sections.txt @@ -89,6 +89,8 @@ mm_modem_get_drivers mm_modem_dup_drivers mm_modem_get_plugin mm_modem_dup_plugin +mm_modem_get_primary_port +mm_modem_dup_primary_port mm_modem_get_device mm_modem_dup_device mm_modem_get_equipment_identifier @@ -1389,6 +1391,8 @@ mm_gdbus_modem_get_own_numbers mm_gdbus_modem_dup_own_numbers mm_gdbus_modem_get_plugin mm_gdbus_modem_dup_plugin +mm_gdbus_modem_get_primary_port +mm_gdbus_modem_dup_primary_port mm_gdbus_modem_get_preferred_mode mm_gdbus_modem_get_revision mm_gdbus_modem_dup_revision @@ -1447,6 +1451,7 @@ mm_gdbus_modem_set_model mm_gdbus_modem_set_modem_capabilities mm_gdbus_modem_set_own_numbers mm_gdbus_modem_set_plugin +mm_gdbus_modem_set_primary_port mm_gdbus_modem_set_preferred_mode mm_gdbus_modem_set_revision mm_gdbus_modem_set_signal_quality diff --git a/introspection/org.freedesktop.ModemManager1.Modem.xml b/introspection/org.freedesktop.ModemManager1.Modem.xml index 06c4116b..9a1a5126 100644 --- a/introspection/org.freedesktop.ModemManager1.Modem.xml +++ b/introspection/org.freedesktop.ModemManager1.Modem.xml @@ -296,6 +296,13 @@ --> + + +