Hi Team,
We have created an application which will fetch GPS co-ordinates and continuously publish the location of the device using MQTT publish.
The issue is we are not able to get location details, see below snippet
le_pos_GetFixState();
le_pos_sample_Get2DLocation()
Here, the FixState() api is returning -3 as error. Which means the position is not fixed.
Then we tried using gnss
commands and tried to get position.
gnss get posInfo
is returning Position not fixed
Then tried: gnss fix
is returning TTFF not calculated .
Tried also with at commands: AT!GPSTRACK, AT!GPSSTATUS, AT!GPSSATINFO…
at!gpssatinfo?
Satellites in view: 2 (1980 01 06 6 00:00:00)
SV:255 ELEV: 0 AZI: 0 SNR: 27
SV:255 ELEV: 0 AZI: 0 SNR: 28
We got to know minimum of 3 to 4 SATS are required for getting fixed location.
I am not able to resolve this issue.
Please help me with this?
Thanks,
Pallavi B.
jyijyi
October 18, 2021, 7:38am
2
In MS-based mode in AT!GPSFIX, 4 or more SVs are required to generate a fix.
Can I know what are all the different ways to get device position info other than GNSS???
Regards,
Pallavi.
jyijyi
October 18, 2021, 8:08am
4
I remember I can get positioning data via SUPL in indoor environment
can you suggest some docs that support SUPL for MangoH Green. How can i use SUPL on MangoH Green?
Thanks,
Pallavi.
jyijyi
October 18, 2021, 9:13am
6
do you have a SUPL server?
you need to use AT!GPSSUPLURL to set up
after that you need to use “MS-assisted only” mode in AT!GPSFIX
Hi jyijyi,
we have supl.google.com server or supl.nokia.com server. Can we use those?
jyijyi
October 18, 2021, 10:04am
8
I used google SUPL server before, but later, it cannot be used publicly.
You need to do some testing.
Good luck!
Before using this command “AT!GPSSUPLURL”, do we need to set any other commands.
Thanks and Regards,
Pallavi
jyijyi
October 18, 2021, 10:19am
10
Check “GPSENABLE” in AT!CUSTOM?
Also check “AT!GPSSUPLVER” and AT!GPSTRANSSEC
Hello,
I have used the below AT Commands and got the below responses.
AT!CUSTOM?
!CUSTOM:
ISVOICEN 0x01
GPIOSARENABLE 0x01
GPSENABLE 0x01
WAKEHOSTEN 0x83
NMEAENABLE 0x01
GOBIIMEN 0x01
USBECMRNDISOPTION 0x01
HSICENABLE 0x01
SINGLEAPNSWITCH 0x01
SIMLPM 0x01
BOOTQUIETDISABLE 0x01
FASTBOOTEN 0x01
OK
AT!GPSSUPLURL="supl.google.com:7275 "
OK
at!gpssuplver?
!GPSSUPLVER: 2
OK
at!gpsfix=3,200,10
ERROR
While trying to fix the GPS as MS-assisted mode, we are getting error.
Can you please help out with the reason for the error??
jyijyi
October 18, 2021, 1:22pm
12
I don’t see problem with my module:
at!entercnd="A710"
OK
AT!GPSSUPLURL="supl.google.com:7275"
OK
at!gpssuplver?
!GPSSUPLVER: 2
OK
at!gpsfix=3,200,10
OK
at!gpsend=0
OK
at!gstatus?
!GSTATUS:
Current Time: 126 Temperature: 45
Modem Mitigate Level: 0 ModemProc Mitigate Level: 0
Reset Counter: 1 Mode: ONLINE
System mode: LTE PS state: Attached
IMS reg state: NOT REGISTERED IMS mode: Normal
IMS Srv State: NO SMS,NO VoIP
LTE band: B7 LTE bw: 20 MHz
LTE Rx chan: 2850 LTE Tx chan: 20850
LTE CA state: INACTIVE
EMM state: Registered Normal Service
RRC state: RRC Connected
PCC RxM RSSI: -75 RSRP (dBm): -103
PCC RxD RSSI: -89 RSRP (dBm): -133
Tx Power: 0 TAC: 0003 (3)
RSRQ (dB): -10 Cell ID: 04BB6102 (79388930)
SINR (dB): 2.6
OK
at+cgpaddr=1
+CGPADDR: 1,10.105.153.16
OK
ati3
Manufacturer: Sierra Wireless, Incorporated
Model: WP7609
Revision: SWI9X07Y_02.28.03.05 000000 jenkins 2019/07/08 11:04:16
IMEI: 359782080100399
IMEI SV: 6
FSN: WA803370010610
+GCAP: +CGSM
OK
at!gpsend=0
OK
at!gpsfix=3,200,10
OK
Then what am I missing, any pre-requirements to be enabled? What might be the issue. Please help me?
Thanks
Pall
jyijyi
October 18, 2021, 2:17pm
14
are we using same FW R13.3?
Does it work after typing at!gpsend=0 ?
did your module register network and obtain IP address?
Hi jyijyi,
Please refer below AT commands for my device responses.
at!entercnd="A710"
OK
at!gpssuplurl="supl.google.com:7275"
OK
at!fps
ERROR
ERROR
at!gpsfix=3,200,10
ERROR
at+cgpaddr=1
+CGPADDR: 1,25.34.26.46
OK
ati3
Manufacturer: Sierra Wireless, Incorporated
Model: WP7504
Revision: SWI9X15Y_07.12.09.00 r34123 CARMD-EV-FRMWR1 2017/04/26 23:34:19
MEID: 35620707004710
ESN: 12805302987, 8050EACB
IMEI: 356207070047106
IMEI SV: 45
FSN: P1646200180503
+GCAP: +CGSM
OK
at!gpssend=
ERROR
at!gpsend=0
OK
at!gpsfix=3,200,10
ERROR
jyijyi
October 19, 2021, 7:14am
16
I am currently using WP76 module
Any Idea about the issue with WP7504 module??
jyijyi
October 19, 2021, 1:41pm
18
Does at!gpsfix work on
• 1=Standalone (not supported by a mobile station)
• 2=MS-based only
???
No, even for Standalone and MS-based also I am getting Error.
jyijyi
October 19, 2021, 2:55pm
20
You better take another module for testing