aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libqmi-glib/qmi-enums-dms.h12
-rw-r--r--src/qmicli/qmicli-dms.c2
2 files changed, 2 insertions, 12 deletions
diff --git a/src/libqmi-glib/qmi-enums-dms.h b/src/libqmi-glib/qmi-enums-dms.h
index 61fb287..2597187 100644
--- a/src/libqmi-glib/qmi-enums-dms.h
+++ b/src/libqmi-glib/qmi-enums-dms.h
@@ -359,22 +359,12 @@ typedef enum {
/**
* QmiDmsHpDeviceMode:
- * @QMI_DMS_HP_DEVICE_MODE_QMI: AT+QMI capable mode.
- * @QMI_DMS_HP_DEVICE_MODE_NCM: AT+NCM capable mode.
- * @QMI_DMS_HP_DEVICE_MODE_MBIM: AT+MBIM capable mode.
* @QMI_DMS_HP_DEVICE_MODE_FASTBOOT: Fastboot download mode.
- * @QMI_DMS_HP_DEVICE_MODE_SOFT_RESET: Soft reset.
- * @QMI_DMS_HP_DEVICE_MODE_HARD_RESET: Hard reset.
*
* HP specific device modes.
*/
typedef enum {
- QMI_DMS_HP_DEVICE_MODE_QMI = 2,
- QMI_DMS_HP_DEVICE_MODE_NCM = 3,
- QMI_DMS_HP_DEVICE_MODE_MBIM = 4,
- QMI_DMS_HP_DEVICE_MODE_FASTBOOT = 5,
- QMI_DMS_HP_DEVICE_MODE_SOFT_RESET = 7,
- QMI_DMS_HP_DEVICE_MODE_HARD_RESET = 8,
+ QMI_DMS_HP_DEVICE_MODE_FASTBOOT = 5,
} QmiDmsHpDeviceMode;
#endif /* _LIBQMI_GLIB_QMI_ENUMS_DMS_H_ */
diff --git a/src/qmicli/qmicli-dms.c b/src/qmicli/qmicli-dms.c
index 2def425..32fe38a 100644
--- a/src/qmicli/qmicli-dms.c
+++ b/src/qmicli/qmicli-dms.c
@@ -288,7 +288,7 @@ static GOptionEntry entries[] = {
},
{ "dms-hp-change-device-mode", 0, 0, G_OPTION_ARG_STRING, &hp_change_device_mode_str,
"Change device mode (HP specific)",
- "[qmi|ncm|mbim|fastboot|soft-reset|hard-reset]"
+ "[fastboot]"
},
{ "dms-swi-get-current-firmware", 0, 0, G_OPTION_ARG_NONE, &swi_get_current_firmware_flag,
"Get Current Firmware (Sierra Wireless specific)",