X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fuqmi.git;a=blobdiff_plain;f=commands-dms.h;h=c20d0070adc476c1c076d5f3eb45d33a32a549e4;hp=df0d91b672e05d4760e44587cfd5a6d072412f43;hb=cef8ce433b5a29b49dfe8700fa7b0ddc2bbb9d20;hpb=1c39b551f3b74d342238d7ae1b4921f7c1e41d94 diff --git a/commands-dms.h b/commands-dms.h index df0d91b..c20d007 100644 --- a/commands-dms.h +++ b/commands-dms.h @@ -1,14 +1,33 @@ -#define __uqmi_dms_commands \ +#define __uqmi_dms_commands \ __uqmi_command(dms_get_pin_status, get-pin-status, no, QMI_SERVICE_DMS), \ __uqmi_command(dms_verify_pin1, verify-pin1, required, QMI_SERVICE_DMS), \ __uqmi_command(dms_verify_pin2, verify-pin2, required, QMI_SERVICE_DMS), \ + __uqmi_command(dms_unblock_pin1, unblock-pin1, no, QMI_SERVICE_DMS), \ + __uqmi_command(dms_unblock_pin2, unblock-pin2, no, QMI_SERVICE_DMS), \ + __uqmi_command(dms_set_puk, puk, required, CMD_TYPE_OPTION), \ + __uqmi_command(dms_set_new_pin, new-pin, required, CMD_TYPE_OPTION), \ + __uqmi_command(dms_get_iccid, get-iccid, no, QMI_SERVICE_DMS), \ __uqmi_command(dms_get_imsi, get-imsi, no, QMI_SERVICE_DMS), \ + __uqmi_command(dms_get_msisdn, get-msisdn, no, QMI_SERVICE_DMS), \ + __uqmi_command(dms_set_operating_mode, set-device-operating-mode, required, QMI_SERVICE_DMS), \ __uqmi_command(dms_reset, reset-dms, no, QMI_SERVICE_DMS) \ #define dms_helptext \ " --get-pin-status: Get PIN verification status\n" \ " --verify-pin1 : Verify PIN1\n" \ " --verify-pin2 : Verify PIN2\n" \ + " --unblock-pin1: Unblock PIN1\n" \ + " --puk : PUK needed to unblock\n" \ + " --new-pin : New pin\n" \ + " --unblock-pin2: Unblock PIN2\n" \ + " --puk : PUK needed to unblock\n" \ + " --new-pin : New pin\n" \ + " --get-iccid: Get the ICCID\n" \ " --get-imsi: Get International Mobile Subscriber ID\n" \ + " --get-msisdn: Get the MSISDN (telephone number)\n" \ " --reset-dms: Reset the DMS service\n" \ + " --set-device-operating-mode Set the device operating mode\n" \ + " (modes: online, low_power, factory_test, offline\n" \ + " reset, shutting_down, persistent_low_power,\n" \ + " mode_only_low_power)\n" \