diff options
Diffstat (limited to 'cli')
-rw-r--r-- | cli/mmcli-output.c | 3 | ||||
-rw-r--r-- | cli/mmcli-output.h | 3 | ||||
-rw-r--r-- | cli/mmcli-sim.c | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/cli/mmcli-output.c b/cli/mmcli-output.c index 712018b6..23af2741 100644 --- a/cli/mmcli-output.c +++ b/cli/mmcli-output.c @@ -296,6 +296,9 @@ static FieldInfo field_infos[] = { [MMC_F_SIM_PROPERTIES_OPERATOR_NAME] = { "sim.properties.operator-name", "operator name", MMC_S_SIM_PROPERTIES, }, [MMC_F_SIM_PROPERTIES_EMERGENCY_NUMBERS] = { "sim.properties.emergency-numbers", "emergency numbers", MMC_S_SIM_PROPERTIES, }, [MMC_F_SIM_PROPERTIES_PREFERRED_NETWORKS] = { "sim.properties.preferred-networks", "preferred networks", MMC_S_SIM_PROPERTIES, }, + [MMC_F_SIM_PROPERTIES_SIM_TYPE] = { "sim.properties.sim-type", "type", MMC_S_SIM_PROPERTIES, }, + [MMC_F_SIM_PROPERTIES_ESIM_STATUS] = { "sim.properties.esim-status", "esim status", MMC_S_SIM_PROPERTIES, }, + [MMC_F_SIM_PROPERTIES_REMOVABILITY] = { "sim.properties.removability", "removability", MMC_S_SIM_PROPERTIES, }, [MMC_F_SAR_STATE] = { "modem.sar.state", "enabled", MMC_S_MODEM_SAR, }, [MMC_F_SAR_POWER_LEVEL] = { "modem.sar.power-level", "power level", MMC_S_MODEM_SAR, }, [MMC_F_MODEM_LIST_DBUS_PATH] = { "modem-list", "modems", MMC_S_UNKNOWN, }, diff --git a/cli/mmcli-output.h b/cli/mmcli-output.h index cc34d536..1fcddab7 100644 --- a/cli/mmcli-output.h +++ b/cli/mmcli-output.h @@ -314,6 +314,9 @@ typedef enum { MMC_F_SIM_PROPERTIES_OPERATOR_NAME, MMC_F_SIM_PROPERTIES_EMERGENCY_NUMBERS, MMC_F_SIM_PROPERTIES_PREFERRED_NETWORKS, + MMC_F_SIM_PROPERTIES_SIM_TYPE, + MMC_F_SIM_PROPERTIES_ESIM_STATUS, + MMC_F_SIM_PROPERTIES_REMOVABILITY, MMC_F_SAR_STATE, MMC_F_SAR_POWER_LEVEL, /* Lists */ diff --git a/cli/mmcli-sim.c b/cli/mmcli-sim.c index 3056783b..3a384ed1 100644 --- a/cli/mmcli-sim.c +++ b/cli/mmcli-sim.c @@ -177,6 +177,9 @@ print_sim_info (MMSim *sim) preferred_nets_list = mm_sim_get_preferred_networks (sim); mmcli_output_preferred_networks (preferred_nets_list); g_list_free_full (preferred_nets_list, (GDestroyNotify) mm_sim_preferred_network_free); + mmcli_output_string (MMC_F_SIM_PROPERTIES_SIM_TYPE, mm_sim_type_get_string (mm_sim_get_sim_type (sim))); + mmcli_output_string (MMC_F_SIM_PROPERTIES_ESIM_STATUS, mm_sim_esim_status_get_string (mm_sim_get_esim_status (sim))); + mmcli_output_string (MMC_F_SIM_PROPERTIES_REMOVABILITY, mm_sim_removability_get_string (mm_sim_get_removability (sim))); mmcli_output_dump (); } |