I think the first thing to do is see if GPS is enabled;
at!custom?
!CUSTOM:
PUKPRMPT 0x01
MEPCODE 0x01
ISVOICEN 0x02
PRLREGION 0x01
PCSCDISABLE 0x03
GPSENABLE 0x01
OK
I have tried the oneXtra commands and I can get the assistance data that’s not a problem its getting the unit to use it that I can’t work out.
I have found some info out by looking at the settings for the GPSPOSMODE.
When I queried it stated that it had the bitmask of 0x01 which is standalone only.
I have now updated the bitmask to 0x79 which should give the following modes;
Bit 0: Standalone
Bit 3: CP MS-based (2G)
Bit 4: CP MS-assisted (2G)
Bit 5: CP UE-based (3G)
Bit 6: CP UE-assisted (3G)
I then performed a !RESET and tried the assisted fix command again;
simple_com /dev/ttyUSB3 AT!GPSFIX=3,180,50
AT!GPSFIX=3,180,50
OK
At least it accepted it this time. So the mask is what was causing the error 23 to be generated.
I have made sure that I have the correct SUPL server entered as well for tmobile;
I have also found that you cannot download the XTRA info when you are trying to do a fix. It fails with error 7. You have to be in a dormant state to download.
simple_com /dev/ttyUSB3 AT!GPSXTRAINITDNLD
AT!GPSXTRAINITDNLD
Xtra command sent successfully
OK
simple_com /dev/ttyUSB3 At!gpsxtrastatus?
At!gpsxtrastatus?
Xtra Time status = Unknown
Xtra Data status = Valid
Validity Start = 2013 11 06 2 21:00:00
Validity End = 2013 11 13 2 21:00:00
OK
But still can’t get a mode 3 to work with the fix, it fails immediately;
simple_com /dev/ttyUSB3 AT!GPSFIX=3,180,50
AT!GPSFIX=3,180,50
OK
simple_com /dev/ttyUSB3 AT!GPSSTATUS?
AT!GPSSTATUS?
Current time: 1980 01 06 6 00:14:43
1980 01 06 6 00:14:42 Last Fix Status = FAIL, FAILCODE = 15
1980 01 06 6 00:14:42 Fix Session Status = FAIL, FAILCODE = 15
No TTFF available
OK
Mode 2 at least tries and then reverts to standalone;
simple_com /dev/ttyUSB3 AT!GPSFIX=2,180,50
AT!GPSFIX=2,180,50
OK
simple_com /dev/ttyUSB3 AT!GPSSTATUS?
AT!GPSSTATUS?
Current time: 1980 01 06 6 00:14:56
1980 01 06 6 00:14:42 Last Fix Status = FAIL, FAILCODE = 15
1980 01 06 6 00:14:54 Fix Session Status = ACTIVE
No TTFF available
OK
For your info the software version I am using is;
AT+GMR
T3_5_2_1AP R517 CNSZXD00000128 2012/02/07 13:03:25
OK
Kind Regards
Marc