Add command to get IMEI from the device
[project/uqmi.git] / commands-dms.h
1 #define __uqmi_dms_commands \
2 __uqmi_command(dms_get_capabilities, get-capabilities, no, QMI_SERVICE_DMS), \
3 __uqmi_command(dms_get_pin_status, get-pin-status, no, QMI_SERVICE_DMS), \
4 __uqmi_command(dms_verify_pin1, verify-pin1, required, QMI_SERVICE_DMS), \
5 __uqmi_command(dms_verify_pin2, verify-pin2, required, QMI_SERVICE_DMS), \
6 __uqmi_command(dms_set_pin1_protection, set-pin1-protection, required, QMI_SERVICE_DMS), \
7 __uqmi_command(dms_set_pin2_protection, set-pin2-protection, required, QMI_SERVICE_DMS), \
8 __uqmi_command(dms_set_pin, pin, required, CMD_TYPE_OPTION), \
9 __uqmi_command(dms_change_pin1, change-pin1, no, QMI_SERVICE_DMS), \
10 __uqmi_command(dms_change_pin2, change-pin2, no, QMI_SERVICE_DMS), \
11 __uqmi_command(dms_unblock_pin1, unblock-pin1, no, QMI_SERVICE_DMS), \
12 __uqmi_command(dms_unblock_pin2, unblock-pin2, no, QMI_SERVICE_DMS), \
13 __uqmi_command(dms_set_puk, puk, required, CMD_TYPE_OPTION), \
14 __uqmi_command(dms_set_new_pin, new-pin, required, CMD_TYPE_OPTION), \
15 __uqmi_command(dms_get_iccid, get-iccid, no, QMI_SERVICE_DMS), \
16 __uqmi_command(dms_get_imsi, get-imsi, no, QMI_SERVICE_DMS), \
17 __uqmi_command(dms_get_imei, get-imei, no, QMI_SERVICE_DMS), \
18 __uqmi_command(dms_get_msisdn, get-msisdn, no, QMI_SERVICE_DMS), \
19 __uqmi_command(dms_set_operating_mode, set-device-operating-mode, required, QMI_SERVICE_DMS), \
20 __uqmi_command(dms_reset, reset-dms, no, QMI_SERVICE_DMS) \
21
22 #define dms_helptext \
23 " --get-capabilities: List device capabilities\n" \
24 " --get-pin-status: Get PIN verification status\n" \
25 " --verify-pin1 <pin>: Verify PIN1\n" \
26 " --verify-pin2 <pin>: Verify PIN2\n" \
27 " --set-pin1-protection <state>: Set PIN1 protection state (disabled, enabled)\n" \
28 " --pin <pin>: PIN1 needed to change state\n" \
29 " --set-pin2-protection <state>: Set PIN2 protection state (disabled, enabled)\n" \
30 " --pin <pin2>: PIN2 needed to change state\n" \
31 " --change-pin1: Change PIN1\n" \
32 " --pin <old pin>: Current PIN1\n" \
33 " --new-pin <new pin>: New pin\n" \
34 " --change-pin2: Change PIN2\n" \
35 " --pin <old pin>: Current PIN2\n" \
36 " --new-pin <new pin>: New pin\n" \
37 " --unblock-pin1: Unblock PIN1\n" \
38 " --puk <puk>: PUK needed to unblock\n" \
39 " --new-pin <new pin>: New pin\n" \
40 " --unblock-pin2: Unblock PIN2\n" \
41 " --puk <puk>: PUK needed to unblock\n" \
42 " --new-pin <new pin>: New pin\n" \
43 " --get-iccid: Get the ICCID\n" \
44 " --get-imsi: Get International Mobile Subscriber ID\n" \
45 " --get-imei: Get International Mobile Equipment ID\n" \
46 " --get-msisdn: Get the MSISDN (telephone number)\n" \
47 " --reset-dms: Reset the DMS service\n" \
48 " --set-device-operating-mode <m> Set the device operating mode\n" \
49 " (modes: online, low_power, factory_test, offline\n" \
50 " reset, shutting_down, persistent_low_power,\n" \
51 " mode_only_low_power)\n" \
52