Last active
July 31, 2024 17:17
-
-
Save mmv-ru/7146dbdfbcc3b1961314 to your computer and use it in GitHub Desktop.
Sierra Wireless MC7710 GPS and Mikrotik
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sierra Wireless MC7710 Ports | |
It depends on enumeration scheme. For DIP mode with (default) USB composition #3 selected, /dev/ttyUSBn ports are expected to be mapped as follows: | |
n=0 - HIP (CnS); | |
n=1 - QCDM (diag); | |
n=2 - NMEA; | |
n=3 - AT command; | |
n=4 - modem. | |
Please note that there isn't necessarily a 1-1 relationship between the MCxxxx serial interface numbers and the Linux /dev/ttyUSBn devices. The latter number space is shared between all USB serial devices in the system, and there is no guarantee that the AT port always will be /dev/ttyUSB2 (or whatever). | |
Sierra Wireless use static USB interface numbers to indicate different serial functions. The correct way to map these to static device names is using udev to create symlinks based on USB device and interface number matching. | |
AT+CFUN=0,0 | |
AT+CFUN=1,1 | |
AT!RESET | |
ATE1 | |
ATV1 | |
AT+CMEE=1 | |
AT!ENTERCND="A710" | |
AT!ENTERCND? | |
AT+GMR | |
AT!GPSPOSMODE? | |
AT!GPSPOSMODE=7f | |
AT!GPSPROTOSEL? | |
AT!CUSTOM? | |
AT!CUSTOM="GPSENABLE",4 | |
OK | |
AT!CUSTOM="GPSENABLE",1 | |
0 = Use dedicated GPS antenna (Default) | |
• 1 = Use shared GPS/Rx diversity antenna | |
• 2 = Use dedicated GPS antenna, with bias voltage disabled | |
AT!CUSTOM="GPSSEL",0 | |
AT!CUSTOM="GPSSEL",1 | |
AT!CUSTOM="GPSSEL",2 | |
ERROR | |
AT!GPSFIX=<fixType>, <maxTime>, <maxDist> | |
AT!GPSFIX=1,255,4294967280 | |
AT!GPSTRACK = <fixType>, <maxTime>, <maxDist>, <fixCount>, <fixRate> | |
AT!GPSTRACK=1, 255, 4294967280, 100, 1 | |
AT!GPSTRACK=1, 255, 4294967280, 1000, 1 | |
AT!GPSAUTOSTART=<enable>[, <fixtype>, <maxtime>, <maxdist>, <fixrate>] | |
AT!GPSAUTOSTART? | |
AT!GPSAUTOSTART=0, 1, 180, 50, 1 | |
AT!GPSAUTOSTART=1, 1, 255, 1000, 1 | |
AT!GPSSTATUS? | |
AT!GPSXTRASTATUS? | |
AT!GPSNMEACONFIG? | |
AT!GPSSATINFO? | |
AT!GPSLOC? | |
AT!GSTATUS? | |
AT!CUSTOM="GPSREFLOC",0 | |
AT!CUSTOM="GPSLPM",0 | |
# not neded | |
echo 1 > /sys/module/sierra/parameters/nmea | |
# NMEA port activity control | |
stty raw -F /dev/ttyUSB2 | |
# Start NMEA | |
echo \$GPS_START >/dev/ttyUSB2 | |
# stop NMEA | |
echo \$GPS_STOP >/dev/ttyUSB2 | |
# send from terminal dont help | |
$GPS_START | |
6.15 nmea not start | |
$ Restore | |
AT!GPSAUTOSTART=0, 1, 180, 50, 1 | |
AT!CUSTOM="GPSSEL",0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment