I found this post that might help. MC7455 GPS not functioning - #5 by zainol69
Code:
$port=new-object system.io.ports.serialport com4,9600,None,8,One
$port.Open()
$port.WriteLine(“ATI1” + “r") start-sleep -m 50 $port.ReadExisting() start-sleep -m 50 $port.WriteLine("AT!GPSLOC" + "
r”)
start-sleep -m 50
$port.ReadExisting()
start-sleep -m 50
$port.WriteLine(“AT!GPSFIX” + “r") start-sleep -m 50 $port.ReadExisting() start-sleep -m 50 $port.WriteLine("at!gpstrack=?" + "
r”)
start-sleep -m 50
$port.ReadExisting()
start-sleep -m 50
$port.WriteLine(“at!gpstrack=1,255,1000,30,1” + “r") start-sleep -m 50 $port.ReadExisting() start-sleep -m 50 $port.WriteLine("at!custom?" + "
r”)
start-sleep -m 50
$port.ReadExisting()
$port.WriteLine(“at!entercnd="A710
"” + “r") start-sleep -m 50 $port.WriteLine("AT!CUSTOM=
“GPSENABLE",1" + "
r”)
start-sleep -m 50
$port.WriteLine(“AT!CUSTOM="GPSLPM
”,0” + “r") start-sleep -m 50 $port.WriteLine("AT!RESET" + "
r”)
start-sleep -m 50
$port.WriteLine(“at!gpsstatus?” + “r") start-sleep -m 50 $port.ReadExisting() start-sleep -m 50 $port.WriteLine("AT!GPSLOC" + "
r”)
start-sleep -m 50
$port.ReadExisting()
start-sleep -m 50
$port.WriteLine(“AT!GPSFIX” + “`r”)
start-sleep -m 50
$port.ReadExisting()
$port.Close()
Output:
ATI1
Manufacturer: Sierra Wireless, Incorporated
Model: EM7455B
Revision: SWI9X30C_02.20.03.22 r6827 CARMD-EV-FRMWR2 2016/10/11 16:03:14
MEID: xxx
IMEI: xxx
IMEI SV: 6
FSN: LF823629820310
+GCAP: +CGSM
OK
AT!GPSLOC
ERROR
AT!GPSFIX
ERROR
at!gpstrack=?
!GPSTRACK: ,,,,
: 1-Standalone, 2-MS-Based, 3-MS-Assisted
: 1-255 seconds
: 1-4294967280 meters
: 1-1000,1000=continuous
: 1-65535 seconds
OK
at!gpstrack=1,255,1000,30,1
ERROR
at!custom?
!CUSTOM:
GPSENABLE 0x01
GPIOSARENABLE 0x01
GPSSEL 0x01
IPV6ENABLE 0x01
SIMLPM 0x01
USBSERIALENABLE 0x01
OK
at!entercnd=“A710”
OK
AT!CUSTOM=“GPSENABLE”,1
OK
AT!CUSTOM=“GPSLPM”,0
OK
AT!RESET
OK
at!gpsstatus?
Current time: 1980 01 06 6 00:00:55
1980 01 06 6 00:00:55 Last Fix Status = NONE
1980 01 06 6 00:00:01 Fix Session Status = ACTIVE
No TTFF available
OK
AT!GPSLOC
ERROR
AT!GPSFIX
ERROR