Xinyuan-LilyGO / T-A7608X

MIT License
21 stars 5 forks source link

GPS is not working properly #16

Closed GabrielZre closed 1 year ago

GabrielZre commented 1 year ago

TinyGSM_Net_GNSS

I am trying to retrieve my positon. I have connected gps antenna and sim antenna with card inserted. I am able to get gnss location to station which i am connected in.

But in case GPS location (TINY_GSM_TEST_GPS) I am getting this message:

OK
getGPS 2218439
AT+CGNSSINFO

+CGNSSINFO: ,,,,,,,,

What is wrong? How to get current location? I was trying with module powered on for almost for one day.

UPDATE: After placing GPS behind the window, it succesfully gets the location after approximately two minutes, but it differs from my actual position ~70 km, I repeated this process several times - each time it pointed to nearly the same location - 70 km away from me...

OK
getGPS 354927
AT+CGNSSINFO

+CGNSSINFO: 3,03,01,<example_lat>,N,<example_lon>,E,260623,210653.99,28.5,0.810,,4.0,3.8,1.0,04

OK
AT+CGNSSINFO

+CGNSSINFO: 3,03,01<example_lat>,N,<example_lon>,E,260623,210657.00,28.5,1.257,,4.0,3.8,1.0,04
****************GNSS********************
lat:<example_lat> N
lon:<example_lon> 
AT+CGPS=0

OK
AT+CPOF

ERROR
[361060] Poweroff.