wds: make APN optional
[project/uqmi.git] / commands-wds.h
index c603f79..3076bae 100644 (file)
@@ -20,7 +20,8 @@
  */
 
 #define __uqmi_wds_commands \
-       __uqmi_command(wds_start_network, start-network, required, QMI_SERVICE_WDS), \
+       __uqmi_command(wds_start_network, start-network, no, QMI_SERVICE_WDS), \
+       __uqmi_command(wds_set_apn, apn, required, CMD_TYPE_OPTION), \
        __uqmi_command(wds_set_auth, auth-type, required, CMD_TYPE_OPTION), \
        __uqmi_command(wds_set_username, username, required, CMD_TYPE_OPTION), \
        __uqmi_command(wds_set_password, password, required, CMD_TYPE_OPTION), \
@@ -35,7 +36,8 @@
 
 
 #define wds_helptext \
-               "  --start-network <apn>:            Start network connection (use with options below)\n" \
+               "  --start-network:                  Start network connection (use with options below)\n" \
+               "    --apn <apn>:                    Use APN\n" \
                "    --auth-type pap|chap|both|none: Use network authentication type\n" \
                "    --username <name>:              Use network username\n" \
                "    --password <password>:          Use network password\n" \