The GW101 gateway supports GPS positioning and has a built-in GPS module. The GPS module model is ATGM336H-5N71, supporting GPS, BeiDou, and GLONASS positioning. The antenna connector is an SMA antenna jack (external thread, inner hole), located on the side of the gateway, with the silkscreen label "GPS".
The serial device connected to the GPS module is /dev/ttymxc7.
Start the GPSD service
systemctl start gpsd
Run the cgps command to view GPS information
cgps
The screenshot is as follows

gpsd provides a JSON data method for accessing GPS devices, making it convenient for multiple applications to obtain GPS data simultaneously. The gpsd JSON data description is as follows https://gpsd.gitlab.io/gpsd/gpsd_json.html
Run the gpsd-app.py3 program to obtain GPS positioning data from GPSD
root@gw101d512e4:~# ./gpsd-app.py3
==================================================
GPS Data Monitor - Press Ctrl+C to exit
==================================================
Connected to gpsd at 127.0.0.1:2947
=== GPSD Version 3.17 ===
Protocol: 3.12
=== Satellites: 23 visible ===
PRN 5: SNR=40 dB USED
PRN 11: SNR=0 dB
PRN 15: SNR=18 dB USED
PRN 18: SNR=31 dB USED
PRN 20: SNR=0 dB
=== GPS Position ===
Time: 2026-09-13T00:09:23.000Z
Latitude: 34.244694
Longitude: 108.850499
Altitude: 458.3 m
Speed: 0.0 m/s
Track: 341.41 deg
Mode: 3 (1=no fix, 2=2D, 3=3D)