implement the start network command
[project/uqmi.git] / commands-wds.h
index 2374f85..b6198c2 100644 (file)
@@ -1,10 +1,12 @@
 #define __uqmi_wds_commands \
-       __uqmi_command(wds_set_auth, set-auth, required, QMI_SERVICE_WDS), \
-       __uqmi_command(wds_set_username, set-username, required, QMI_SERVICE_WDS), \
-       __uqmi_command(wds_set_password, set-password, required, QMI_SERVICE_WDS)
+       __uqmi_command(wds_start_network, start-network, required, QMI_SERVICE_WDS), \
+       __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)
 
 #define wds_helptext \
-               "  --set-auth pap|chap|both|none:    Set network authentication type\n" \
-               "  --set-username:                   Set network username\n" \
-               "  --set-password:                   Set network password\n" \
+               "  --start-network <apn>:            Start network connection (use with options below)\n" \
+               "    --auth-type pap|chap|both|none: Use network authentication type\n" \
+               "    --username <name>:              Use network username\n" \
+               "    --password <password>:          Use network password\n" \