Skip to content

Latest commit

 

History

History
87 lines (79 loc) · 2.62 KB

get-commands.md

File metadata and controls

87 lines (79 loc) · 2.62 KB

ZTE Router GET Commands

Connection Status

  • modem_main_state ...
  • ppp_dial_fail_times Failed attempts to dial?
  • ppp_status Main connection status, [ppp_conected, ppp_disconnected]
  • pppoe_status ...
  • realtime_rx_bytes Rx bytes since connection?
  • realtime_rx_thrpt Rx bytes per second?
  • realtime_time Seconds since connection?
  • realtime_tx_bytes Tx bytes since connection?
  • realtime_tx_thrpt Tx bytes per seconds
  • simcard_roam Simcard status: [Home, unkow]

Network

  • network_provider Network provider (e.g. MTN-UG)
  • network_type LTE_A, LTE, EDGE, GPRS, Limited Service
  • signalbar Signel strength, 0 - 5
  • RD string that seems needed for network operations
  • spn_b1_flag ...
  • spn_b2_flag ...
  • spn_name_data Hex encoded name of Service Provider (e.g. MTN-UGANA)

Data Usage

  • data_volume_limit_size Set data volume limit, e.g. 100_1024 for 100GiB
  • monthly_rx_bytes Recorded received bytes
  • monthly_time Time sinds start of recording (seconds)
  • monthly_tx_bytes Recorded transmitted bytes

WiFi

  • wifi_access_sta_num Number of WiFi clients connected
  • wifi_ap_mode ...
  • wifi_chip1_ssid1_access_sta_num ...
  • wifi_chip1_ssid1_ssid ...
  • wifi_chip1_ssid2_access_sta_num ...
  • wifi_chip2_ssid1_access_sta_num ...
  • wifi_chip2_ssid1_ssid ...
  • wifi_chip2_ssid2_access_sta_num ...
  • wifi_enable ...
  • wifi_onoff_state ...

Local Network

  • hostNameList array of hosts connected via WiFi (mac, hostname)
  • station_list array of hosts connected via WiFi (mac, hostname, ip)
  • lan_station_list array of hosts connected via LAN (mac, hostname, ip)

Battery and Power

  • battery_charging 2 = AC but not charging, 1 = charging from AC, 0 = not charging
  • battery_pers Battery charge status (icon?) 4-0
  • battery_value no value seen
  • battery_vol_percent Battery charge percentage, 0-100

Unsorted

  • EX_SSID1 ...
  • EX_wifi_profile ...
  • RadioOff ...
  • check_web_conflict ...
  • current_upgrade_state ...
  • data_volume_alert_percent ...
  • data_volume_limit_switch ...
  • data_volume_limit_unit ...
  • date_month ...
  • dhcp_wan_status ...
  • dhcp_wan_status ...
  • dial_mode ...
  • is_mandatory ...
  • lan_ipaddr ...
  • loginfo ...
  • m_ssid_enable ...
  • new_version_state ...
  • opms_wan_auto_mode ...
  • opms_wan_auto_mode ...
  • opms_wan_mode ...
  • pin_status ...
  • ppp_dial_conn_fail_counter ...
  • privacy_read_flag ...
  • roam_setting_option ...
  • sms_received_flag ...
  • sms_unread_num ...
  • ssid ...
  • sta_ip_status ...
  • static_wan_status ...
  • station_mac ...
  • sts_received_flag ...
  • upg_roam_switch ...
  • wan_lte_ca ...