703b9f7d2708d7818fcc01e173fdee82f93f7a9b
[project/uqmi.git] / commands-dms.h
1 #define __uqmi_dms_commands                                                                                             \
2         __uqmi_command(dms_get_pin_status, get-pin-status, no, QMI_SERVICE_DMS), \
3         __uqmi_command(dms_verify_pin1, verify-pin1, required, QMI_SERVICE_DMS), \
4         __uqmi_command(dms_verify_pin2, verify-pin2, required, QMI_SERVICE_DMS), \
5         __uqmi_command(dms_unblock_pin1, unblock-pin1, no, QMI_SERVICE_DMS), \
6         __uqmi_command(dms_unblock_pin2, unblock-pin2, no, QMI_SERVICE_DMS), \
7         __uqmi_command(dms_set_puk, puk, required, CMD_TYPE_OPTION), \
8         __uqmi_command(dms_set_new_pin, new-pin, required, CMD_TYPE_OPTION), \
9         __uqmi_command(dms_get_iccid, get-iccid, no, QMI_SERVICE_DMS), \
10         __uqmi_command(dms_get_imsi, get-imsi, no, QMI_SERVICE_DMS), \
11         __uqmi_command(dms_get_msisdn, get-msisdn, no, QMI_SERVICE_DMS), \
12         __uqmi_command(dms_set_operating_mode, set-device-operating-mode, required, QMI_SERVICE_DMS), \
13         __uqmi_command(dms_reset, reset-dms, no, QMI_SERVICE_DMS) \
14
15 #define dms_helptext \
16                 "  --get-pin-status:                 Get PIN verification status\n" \
17                 "  --verify-pin1 <pin>:              Verify PIN1\n" \
18                 "  --verify-pin2 <pin>:              Verify PIN2\n" \
19                 "  --unblock-pin1:                   Unblock PIN1\n" \
20                 "    --puk <puk>:                    PUK needed to unblock\n" \
21                 "    --new-pin <new pin>:            New pin\n" \
22                 "  --unblock-pin2:                   Unblock PIN2\n" \
23                 "    --puk <puk>:                    PUK needed to unblock\n" \
24                 "    --new-pin <new pin>:            New pin\n" \
25                 "  --get-iccid:                      Get the ICCID\n" \
26                 "  --get-imsi:                       Get International Mobile Subscriber ID\n" \
27                 "  --get-msisdn:                     Get the MSISDN (telephone number)\n" \
28                 "  --reset-dms:                      Reset the DMS service\n" \
29                 "  --set-device-operating-mode <m>   Set the device operating mode\n" \
30                 "                                    (modes: online, low_power, factory_test, offline\n" \
31                 "                                     reset, shutting_down, persistent_low_power,\n" \
32                 "                                     mode_only_low_power)\n" \
33