EC25 Gps error 516

We are testing an EC25-EU modem:
giving the command:
AT+QGPSLOC?

+CME ERROR: 516

You can help me?

ATI
Quectel
EC25
Revision: EC25EUXGAR08A13M1G

Thanks

Hi @brnet
The AT+QGPSLOC=0 command needs to be executed after obtaining the positioning information to obtain the positioning information. Otherwise, an error code of 516 will be reported. I tested this problem. If the AT+QGPSLOC=0 command is executed immediately after AT+QGPS=1, an error will be reported. , this may be still in the star search stage. After a while, the positioning information will be obtained normally.
What you need to pay attention to is to ensure that the GPS antenna is connected normally and that the GPS is outdoors. The indoor environment cannot complete satellite search and positioning. In addition, you can open another QCOM tool, connect to the NMEA port, turn on the GPS function, watch the NMEA port normally output positioning information, and then query to find it. Below is the AT process I tested, you can take a look.

[2023-11-14_13:47:08:721]AT+QGPS?

[2023-11-14_13:47:08:721]+QGPS: 0

[2023-11-14_13:47:08:721]OK
[2023-11-14_13:47:21:951]AT+QGPSLOC=0

[2023-11-14_13:47:21:951]+CME ERROR: 505
[2023-11-14_13:47:25:255]AT+QGPSLOC=1

[2023-11-14_13:47:25:255]+CME ERROR: 505
[2023-11-14_13:47:34:419]AT+QGPS=1

[2023-11-14_13:47:34:419]OK
[2023-11-14_13:47:39:739]AT+QGPSLOC=0

[2023-11-14_13:47:39:739]+CME ERROR: 516
[2023-11-14_13:48:04:431]
[2023-11-14_13:48:04:431]+QGPSURC: “xtradataexpire”,0,“1980/01/05,19:00:00”
[2023-11-14_13:48:18:525]AT+QGPSLOC=0

[2023-11-14_13:48:18:525]+CME ERROR: 516
[2023-11-14_13:48:49:391]AT+QGPSCFG=“outport”

[2023-11-14_13:48:49:391]+QGPSCFG: “outport”,usbnmea

[2023-11-14_13:48:49:391]OK
[2023-11-14_13:49:26:338]AT+QGPSLOC=0

[2023-11-14_13:49:26:338]+QGPSLOC: 055013.0,3149.3300N,11706.8687E,3.3,48.6,3,23.35,0.0,0.0,141123,04

[2023-11-14_13:49:26:338]OK
[2023-11-14_13:49:28:157]AT+QGPSLOC=0

[2023-11-14_13:49:28:157]+QGPSLOC: 055015.0,3149.3299N,11706.8683E,3.3,48.6,3,23.35,0.0,0.0,141123,04

[2023-11-14_13:49:28:157]OK
[2023-11-14_13:49:28:902]AT+QGPSLOC=0

[2023-11-14_13:49:28:902]+QGPSLOC: 055016.0,3149.3299N,11706.8683E,3.3,48.7,3,23.35,0.0,0.0,141123,04

[2023-11-14_13:49:28:902]OK
[2023-11-14_13:49:29:686]AT+QGPSLOC=0

[2023-11-14_13:49:29:686]+QGPSLOC: 055016.0,3149.3299N,11706.8683E,3.3,48.7,3,23.35,0.0,0.0,141123,04

[2023-11-14_13:49:29:686]OK
[2023-11-14_13:49:30:433]AT+QGPSLOC=0

[2023-11-14_13:49:30:433]+QGPSLOC: 055017.0,3149.3299N,11706.8678E,3.3,48.8,3,23.35,0.0,0.0,141123,04

[2023-11-14_13:49:30:433]OK