X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fuqmi.git;a=blobdiff_plain;f=commands-nas.h;h=4a4dace89bda8f2e9200938c669dbe1952538f90;hp=44c25f3b7052e33661a41022c669c3831dd42502;hb=b8e45d120ce97dd85e0fe13b4114593407da9973;hpb=ed0e0e939dbf9cc53ff13d1c4853cdccbd3c4ba2 diff --git a/commands-nas.h b/commands-nas.h index 44c25f3..4a4dace 100644 --- a/commands-nas.h +++ b/commands-nas.h @@ -1,16 +1,20 @@ #define __uqmi_nas_commands \ - __uqmi_command(nas_set_network_modes, set-network-modes, required, QMI_SERVICE_NAS), \ + __uqmi_command(nas_do_set_system_selection, __set-system-selection, no, QMI_SERVICE_NAS), \ + __uqmi_command(nas_set_network_modes, set-network-modes, required, CMD_TYPE_OPTION), \ __uqmi_command(nas_initiate_network_register, network-register, 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) \ + __uqmi_command(nas_set_network_preference, set-network-preference, required, CMD_TYPE_OPTION), \ + __uqmi_command(nas_set_roaming, set-network-roaming, required, CMD_TYPE_OPTION) \ #define nas_helptext \ " --set-network-modes : Set usable network modes (Syntax: [,,...])\n" \ " Available modes: all, lte, umts, gsm, cdma, td-scdma\n" \ - " --set-network-preference Set preferred network mode to \n" \ + " --set-network-preference : Set preferred network mode to \n" \ " Available modes: auto, gsm, wcdma\n" \ + " --set-network-roaming : Set roaming preference:\n" \ + " Available modes: any, off, only\n" \ " --network-scan: Initiate network scan\n" \ " --network-register: Initiate network register\n" \ " --get-signal-info: Get signal strength info\n" \