How Router Works
HomeShop
  • 👋Welcome to {How To}
  • Mobile Modem
    • Switch SIM Card
    • Mobile Watchdog
    • Mobile Protocol
    • APN Setting
    • Mode & Band Locking
    • Modem Diagnosis
      • Change TTL Value
      • Detach Reattach
      • Fix PLMN Error
  • Networking
    • Firewall
      • Port Forward
    • WiFi Hotspot
      • WiFi Relay
      • Guest WiFi
      • Parent Control
    • Traffic Control
      • IP and DNS
      • SQM QoS
      • Load Balancing
      • Intranet Routes
  • Remote Access
    • Traversal Cloud
    • Ezen Cloud
    • Dynamic DNS
  • Development
    • SSH Terminal
      • VI Editor
      • Crontab Syntax
    • Command Sets
      • MMCLI Commands
        • SMS Message
        • Location 3GPP GPS
      • AT Commands
        • AT+QAGPIO
        • AT+QTEMP
        • AT+COPS
        • AT+QENG
        • AT+QCAINFO
    • Bootloader
    • Custom-Build Firmware
Powered by GitBook
On this page
  • 3GPP Location
  • GPS Location
  1. Development
  2. Command Sets
  3. MMCLI Commands

Location 3GPP GPS

Most of our mobile modems support 3GPP and GPS locations. Some modems use mobile antennae to connect to GPS satellites. Before enabling the GPS location function, please check the modem and ensure its GNSS antenna port has a proper antenna connection.

Use the command below to check the location status and obtain the location information.

mmcli -m [modem-index] --location-status
mmcli -m [modem-index] --location-get

Firstly, run the --location-status command to check which location function is enabled. Enable or disable 3GPP or GPS location types as below, then execute --location-get to read the location information received by the mobile modem.


3GPP Location

The 3GPP (3rd Generation Partnership Project) location is obtained from the mobile network, specifically the cell towers. It is also known as network-based positioning or Cell ID positioning. 3GPP location is helpful when GPS is unavailable or has poor coverage, such as in urban canyons or indoor environments.

Use the command below to enable/disable the 3GPP location. Some SIM cards' data plans do not support the 3GPP location function.

mmcli -m [modem-index] --enable-3gpp
mmcli -m [modem-index] --disable-3gpp

GPS Location

GPS (Global Positioning System) location allows precise location information to be obtained from GPS satellites orbiting the Earth. GPS receivers in mobile devices can calculate their position by receiving and processing signals from multiple GPS satellites.

The mmcli command set allows the enabling/disabling of multiple types of GPS location information, including MSA, MSB, NMEA, and RAW.

mmcli -m [modem-index] --enable-agps-msa
mmcli -m [modem-index] --enable-agps-msb
mmcli -m [modem-index] --enable-gps-nmea
mmcli -m [modem-index] --enable-gps-nmea
mmcli -m [modem-index] --enable-gps-raw

Replace "enable" with "disable" to turn off the related GPS location type.

Last updated 1 year ago