1 /* 2 * uqmi -- tiny QMI support implementation 3 * 4 * Copyright (C) 2014-2015 Felix Fietkau <nbd@openwrt.org> 5 * 6 * This library is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Lesser General Public 8 * License as published by the Free Software Foundation; either 9 * version 2 of the License, or (at your option) any later version. 10 * 11 * This library is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * Lesser General Public License for more details. 15 * 16 * You should have received a copy of the GNU Lesser General Public 17 * License along with this library; if not, write to the 18 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 19 * Boston, MA 02110-1301 USA. 20 */ 21 22 #define __uqmi_nas_commands \ 23 __uqmi_command(nas_do_set_system_selection, __set-system-selection, no, QMI_SERVICE_NAS), \ 24 __uqmi_command(nas_set_network_modes, set-network-modes, required, CMD_TYPE_OPTION), \ 25 __uqmi_command(nas_initiate_network_register, network-register, no, QMI_SERVICE_NAS), \ 26 __uqmi_command(nas_set_plmn, set-plmn, no, QMI_SERVICE_NAS), \ 27 __uqmi_command(nas_get_plmn, get-plmn, no, QMI_SERVICE_NAS), \ 28 __uqmi_command(nas_set_mcc, mcc, required, CMD_TYPE_OPTION), \ 29 __uqmi_command(nas_set_mnc, mnc, required, CMD_TYPE_OPTION), \ 30 __uqmi_command(nas_network_scan, network-scan, no, QMI_SERVICE_NAS), \ 31 __uqmi_command(nas_get_signal_info, get-signal-info, no, QMI_SERVICE_NAS), \ 32 __uqmi_command(nas_get_serving_system, get-serving-system, no, QMI_SERVICE_NAS), \ 33 __uqmi_command(nas_set_network_preference, set-network-preference, required, CMD_TYPE_OPTION), \ 34 __uqmi_command(nas_set_roaming, set-network-roaming, required, CMD_TYPE_OPTION), \ 35 __uqmi_command(nas_get_system_info, get-system-info, no, QMI_SERVICE_NAS), \ 36 __uqmi_command(nas_get_lte_cphy_ca_info, get-lte-cphy-ca-info, no, QMI_SERVICE_NAS), \ 37 __uqmi_command(nas_get_cell_location_info, get-cell-location-info, no, QMI_SERVICE_NAS), \ 38 __uqmi_command(nas_get_tx_rx_info, get-tx-rx-info, required, QMI_SERVICE_NAS) \ 39 40 #define nas_helptext \ 41 " --set-network-modes <modes>: Set usable network modes (Syntax: <mode1>[,<mode2>,...])\n" \ 42 " Available modes: all, lte, umts, gsm, cdma, td-scdma, 5gnr\n" \ 43 " --set-network-preference <mode>: Set preferred network mode to <mode>\n" \ 44 " Available modes: auto, gsm, wcdma\n" \ 45 " --set-network-roaming <mode>: Set roaming preference:\n" \ 46 " Available modes: any, off, only\n" \ 47 " --network-scan: Initiate network scan\n" \ 48 " --network-register: Initiate network register\n" \ 49 " --set-plmn: Register at specified network\n" \ 50 " --mcc <mcc>: Mobile Country Code (0 - auto)\n" \ 51 " --mnc <mnc>: Mobile Network Code\n" \ 52 " --get-plmn: Get preferred network selection info\n" \ 53 " --get-signal-info: Get signal strength info\n" \ 54 " --get-serving-system: Get serving system info\n" \ 55 " --get-system-info: Get system info\n" \ 56 " --get-lte-cphy-ca-info: Get LTE Cphy CA Info\n" \ 57 " --get-cell-location-info: Get Cell Location Info\n" \ 58 " --get-tx-rx-info <radio>: Get TX/RX Info (gsm, umts, lte, 5gnr)\n" \ 59 60
This page was automatically generated by LXR 0.3.1. • OpenWrt