+CGPSINFO: ,,,,,,,, / Hard time getting GPS DATA

Discussion about software developed by Freematics, including Freematics Builder and Freematics Emulator GUI
Post Reply
Fictifs
Posts: 3
Joined: Mon Jul 18, 2022 3:43 am

+CGPSINFO: ,,,,,,,, / Hard time getting GPS DATA

Post by Fictifs »

Hello everyone,
Hello stanley if you're still by this forum

I'm from France and I've got a Freematics ONE+ Model B with a SIMCOM_SIM7600E-H cellular module.
I've got an IOT SIMCARD (thingsmobile.com) with roaming data across Europe.
I'm using the latest firmware_v5 with your Arduino Builder.

The config is really basic, UDP to a server with (for quick testing) Freematics Hub Personal Edition running on it. I receive standards OBD pids, I will try to request more in the near future. Im juste stuck with GPS for now.

Here the image of the confuig : https://prnt.sc/_I0I64qWyn2N

The returned code is the next one : (FreematicsPlus.cpp -> VERBOSE_XBEE 1)

Code: Select all

Manufacturer: SIMCOM INCORPORATED
Model: SIMCOM_SIM7600E-H
Revision: SIM7600M22_V1.1
IMEI: 860147051186524
+GCAP: +CGSM

OK
==================
CELL:SIM7600E-H
=== SENT@47556 ===
AT+CPIN?

==================
=== RECV@47655 ===

+CPIN: READY

OK
==================
IMEI:860147051186524
[CELL] Searching...
=== SENT@47655 ===
AT+CPSI?

==================
=== RECV@47716 ===

+CPSI: LTE,Online,208-01,0x00C2,10864391,252,EUTRAN-BAND1,524,4,4,-111,-1019,-714,16

OK
==================
=== SENT@47826 ===
AT+CREG?

==================
=== RECV@47926 ===

+CREG: 0,5

OK
==================
=== SENT@48026 ===
AT+CGREG?

==================
=== RECV@48126 ===

+CGREG: 0,5

OK
==================
=== SENT@48126 ===
AT+CSOCKSETPN=1

==================
=== RECV@48226 ===

OK
==================
=== SENT@48226 ===
AT+CIPMODE=0

==================
=== RECV@48326 ===

ERROR
==================
=== SENT@48326 ===
AT+NETOPEN

==================
=== RECV@48426 ===

+IP ERROR: Network is already opened

ERROR
==================
=== SENT@48426 ===
AT+COPS?

==================
=== RECV@48536 ===

+COPS: 0,0,"Orange F Things Mobile",7

OK
==================
Operator:Orange F Things Mobile
=== SENT@48536 ===
AT+CVAUXV=61

==================
=== RECV@48646 ===

ERROR
==================
=== SENT@48646 ===
AT+CVAUXS=1

==================
=== RECV@48746 ===

OK
==================
=== SENT@48746 ===
AT+CGPS=1,1

==================
=== RECV@48846 ===

OK
==================
=== SENT@48846 ===
AT+CGPSINFO=1

==================
=== RECV@48946 ===

OK
==================
CELL GNSS:OK
=== SENT@48946 ===
AT+IPADDR

==================
=== RECV@49046 ===

+IPADDR: 10.5.244.162

OK
==================
[CELL] IP:10.5.244.162
=== SENT@49046 ===
AT+CIPCLOSE=0

==================
=== RECV@49156 ===

+CIPCLOSE: 0,0

OK
==================
LOGIN(HIDDENSERVERADDRESS:8081)...
=== SENT@49157 ===
AT+CDNSGIP="HiddenServerAddress"

==================
=== RECV@49266 ===

+CDNSGIP: 1,"HiddenServerAddress","HiddenServerAddress"

OK
==================
=== SENT@49267 ===
AT+CIPOPEN=0,"UDP","HiddenServerAddress",8081,8000

==================
=== RECV@49376 ===

+CIPOPEN: 0,0

OK
==================
=== RECV@49441 ===

>
OK
==================
=== RECV@49554 ===

+CIPSEND: 0,37,37
==================
=== RECV@49631 ===

RECV FROM:HiddenServerAddress:8081
+IPD20
1#EV=1,RX=38,TX=5*25==================
[CELL] In service
=== SENT@49632 ===
AT+CSQ

==================
=== RECV@49741 ===

+CSQ: 19,99

OK
==================
RSSI:-75dBm
[BUF] 4 samples | 38 bytes | 1/32
A0HNZE3E#0:49925,81:-75,24:319,20:0;0;0,82:44*8F
[CELL] 48 bytes being sent
=== RECV@50009 ===

+CGPSINFO: ,,,,,,,,
>
OK

+CIPSEND: 0,48,48
==================
[NET] 00:00.3 | Packet #1 | Out: 0 KB | In: 20 bytes
=== RECV@50094 ===

RECV FROM:HiddenServerAddress:8081
+IPD20
1#EV=3,RX=39,TX=6*29==================
[UDP] 1#EV=3,RX=39,TX=6*29
[UDP] FEED ID:1
As you can see in the code I get not +CGPSINFO.
I tried to modify some AT Commands on the library "FreematicsNetwork.cpp" but didnt manage to make it work. I letted it run during 2 hours outside but nothing changed.

Have a great day,
Thank for the help,
stanley
Site Admin
Posts: 1039
Joined: Sat Mar 01, 2014 3:15 am

Re: +CGPSINFO: ,,,,,,,, / Hard time getting GPS DATA

Post by stanley »

GPS data is not from SIM7600 cellular module. Instead they are from the standalone u-blox M8.
Post Reply