make uqmi_add_error return QMI_CMD_EXIT
[project/uqmi.git] / commands-nas.h
index 6b5c05d..44c25f3 100644 (file)
@@ -1,11 +1,18 @@
 #define __uqmi_nas_commands \
        __uqmi_command(nas_set_network_modes, set-network-modes, required, QMI_SERVICE_NAS), \
        __uqmi_command(nas_initiate_network_register, network-register, no, QMI_SERVICE_NAS), \
-       __uqmi_command(nas_get_signal_info, get-signal-info, no, QMI_SERVICE_NAS) \
+       __uqmi_command(nas_network_scan, network-scan, no, QMI_SERVICE_NAS), \
+       __uqmi_command(nas_get_signal_info, get-signal-info, no, QMI_SERVICE_NAS), \
+       __uqmi_command(nas_get_serving_system, get-serving-system, no, QMI_SERVICE_NAS), \
+       __uqmi_command(nas_set_network_preference, set-network-preference, required, QMI_SERVICE_NAS) \
 
 #define nas_helptext \
-               "  --set-network-modes <modes>:      Set preferred network mode (Syntax: <mode1>[,<mode2>,...])\n" \
+               "  --set-network-modes <modes>:      Set usable network modes (Syntax: <mode1>[,<mode2>,...])\n" \
                "                                    Available modes: all, lte, umts, gsm, cdma, td-scdma\n" \
+               "  --set-network-preference <mode>   Set preferred network mode to <mode>\n" \
+               "                                    Available modes: auto, gsm, wcdma\n" \
+               "  --network-scan:                   Initiate network scan\n" \
                "  --network-register:               Initiate network register\n" \
-               "  --get-signal-info:                Get signal strength info\n"
+               "  --get-signal-info:                Get signal strength info\n" \
+               "  --get-serving-system:             Get serving system info\n" \