Not sure if this work in V6 and/or with LM940. But with v7.2rc3, GPS package works with the Telit 960 (e.g. LM960A18 etc). There were problems with ports in previous V7 builds, but I suspect this work:
- Make sure Telit / LTE are working generally. While perhaps you can use GPS without LTE data service, ideally you'd have the LTE interface working for internet/data first.
- Install the GPS package from the extra-package for platform from www.mikrotik.com/download (e.g. copy gps.npk file to router file system root & reboot)
- Some AT commands to enable GPS the first time, first you may need to set the GPS antenna to use (1 = share GPS with Rx diversity antenna, 2 = use dedicate "GPS" antenna, 3 = same but "powered"). Default is "2" for external GPS antenna, but without dedicated GPS antenna "1" may be more likely to work
/interface/lte/at-chat [find] input="AT\$GPSANTPORT=1"
- You need to also power the GPS on and save the setting:
/interface/lte/at-chat [find] input="AT\$GPSP=1"
/interface/lte/at-chat [find] input="AT\$GPSSAV"
- Finally, you need to enable and configure the Mikrotik GPS package. This command will find the port and setup it up.
/system gps set enabled=yes channel=1 init-channel=3 init-string="AT\$GPSNMUN=1,1,1,1,1,1,1" port=[/port/find where channels > 2]
- If it doesn't work after a couple minutes, either enable/disable GPS or reboot. If still didn't work, the init-channel and/or port may not be right in the GPS settings.
In my case, I get the correct lat/long/ele/time:
/system/gps/monitor once
date-and-time: feb/12/2022 20:09:13
latitude: XX.000000
longitude: -1XX.000000
altitude: 8.500000m
speed: 0.000000 km/h
destination-bearing: none
true-bearing: 33.799999 deg. True
magnetic-bearing: 19.000000 deg. Mag
valid: yes
satellites: 8
fix-quality: 1
horizontal-dilution: 1
data-age: 1s