implement --get-data-status
[project/uqmi.git] / commands-wds.h
index 2374f85..c205057 100644 (file)
@@ -1,10 +1,15 @@
 #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), \
+       __uqmi_command(wds_get_packet_service_status, get-data-status, no, 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" \
+               "  --get-data-status:                Get current data access status\n" \