nas: add --set-network-preference
[project/uqmi.git] / commands-nas.h
index 6b5c05d..3ed4e28 100644 (file)
@@ -1,11 +1,16 @@
 #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_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-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" \