Access Global Navigation Satellite System (Gnss) - Lenovo ThinkEdge SE10 User Manual

Table of Contents

Advertisement

$ sudo nmcli c add type gsm ifname <interface> con-name <name> apn <operator_apn>
$ sudo nmcli connection up id <name>
Notes:
• < < i i n n t t e e r r f f a a c c e e > > is the string listed as "primary port:" in the output from sudo mmcli -m <N>.
For above snapshot, it's cdc-wdm2.
• < < n n a a m m e e > > is an arbitrary name you used to identify the connection.
• < < o o p p e e r r a a t t o o r r _ _ a a p p n n > > is the APN name for your cellular data plan. You can find a a p p n n from mmcli -m 0.
g. Enable or disable the wireless WAN service by the following commands based on your needs.
• Enable:
$ nmcli r wwan0 on
• Disable:
$ nmcli r wwan0 off
When you need to change the nano-SIM card, ensure that the current gsm connections in Network Manager
is deleted first. Then, do the following steps.
1. Get all gsm connections of the current nano-SIM card and delete the configured connection.
$ nmcli con
$ sudo nmcli con delet <conn_id>
2. Turn off the computer.
3. Change the nano-SIM card.
4. Turn on the computer.
5. Connect to a new cellular network.

Access Global Navigation Satellite System (GNSS)

If your computer supports wireless WAN card, you can open the ttyUSB0 file to access GNSS by AT
command (The following content uses minicom as an example.). You can turn on, acquire positioning
information, or turn off GNSS based on your needs.
To access GNSS, do the following steps.
1. Run the following command as root.
# minicom -D /dev/ttyUSB0
2. Use the following command to read the current GNSS state.
AT+QGPS?
• The return result of 0 indicates that GNSS is off.
AT+QGPS=0
• The return result of 1 indicates that GNSS is on.
AT+QGPS=1
3. Use the following command to turn on GNSS.
AT+QGPS=1
4. Use the following command to acquire location information.
.
Chapter 3
Use your computer
31

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents