there is html file in sample folder.
you have to give AT+NMEA=1 and than AT+CGPS=2
then it will begin to collect data. after this read the documentation about NMEA protocol. But than you have to convert NMEA longtitute and lattitude to flat coordinates to see your true location for google maps for example
I set nmea and other stuff but as reply i get GPS FIX NOT ACHIEVED.
There is another problem…
I have uploaded and tested the gcc_queryApp_256KB.dwl on my terget and it’s working, but when i try to compile the project i get:
undefined reference to `erRegisterCallbacks’ [Conflicting names] [/cygdrive/d/test/QueryApp/gcc/out/cgpscore.c]
undefined reference to `erGetGpsState’ [Conflicting names] [/cygdrive/d/test/QueryApp/gcc/out/queryapp.c]
undefined reference to `erGpsOff’ [Conflicting names] [/cygdrive/d/test/QueryApp/gcc/out/queryapp.c]
:
:
I have no clue why i get this errors becuse i have set all header and c files into coresponding INCLUDE directory’s. C:/openat/os/4.10.10/adl/itf on some others…
Hi!
I compile sample QurryApp without problems…
i think you are doing something wrong. Are you professional in OpenAT?
Have a look in your code when and on what event “GPS FIX NOT ACHIEVED” is recieved.
No am not professional in openAt but till now i have started and used 4 projects on the way that am using queryApp, but only queryApp is making problems.
OpenAT - 4.2
Firmware: 662
Steps:
open openAt wizard
i set the project name and destination
i have tested in both ways: choosing sample project and existing Project
the helloWorld project is created and compiled without problems
the pingGps project is created and compiled without problems
the queryApp is cosing errors:
undefined reference to erRegisterCallbacks' [b]cgpscore.c[/b] undefined reference toerEnablePositionOutagePropagation’ cgpscore.c
undefined reference to erSetTcoData' cgpscore.c undefined reference toerSetMxMode’ cgpscore.c
undefined reference to erPvtIsFix' cgpscore.c undefined reference toerGetPvt’ cgpscore.c
undefined reference to erGetTime' cgpscore.c undefined reference toerGetFixSet’ cgpscore.c
undefined reference to erGetPvt' cgpscore.c undefined reference toerGetTime’ cgpscore.c
undefined reference to erGetTime' cgpscore.c undefined reference toerGetPvt’ cgpscore.c
undefined reference to erGetFixSet' cgpscore.c undefined reference toerPvtIsFix’ cgpscore.c
undefined reference to erGetTime' cgpscore.c undefined reference toerGetPvt’ cgpscore.c
undefined reference to erGetTime' cgpscore.c undefined reference toerGetSvStatus’ cgpscore.c
undefined reference to erGetGpsState' cgpscore.c undefined reference toerGpsCoreTask’ cgpscore.c
undefined reference to erSetNvData' [b]serialcomm.c[/b] undefined reference toerGpsStart’ serialcomm.c
undefined reference to `erGpsStart’ serialcomm.c
I get “appcommon.h” and “adl_global.h” underlined as warning and all undefined references are pointing to eRide_1_1.h file but this file is included into project ?!?
I did move the project to other place but i have tested from the original place too. Now i have made reinstall of whole openAT and there is just one sample file in the plugins/C-GPS directory ( there is no queryApp in OS/4.20.04/adl/samples). So i have choosed this example in the wizard.
I get the same errors.
Are there maybe som problems with plugin settings ?
If i choose ( under project wizard )
c:/openAT/plugins/ and if i go to add, i can see two plugins:
GTI and WIP.
Did you have to set CGPS plug in and where did you put your files from itf plugins directory ?
I have set the library after the project was started ( in eclipse ) but there are no changes…
The solution for my problem:
I saved all my last projects on cd and i deleted everything regarding openAT including projects.
I clean up all registry and tmp/log files
Cleanead up all files saved in the c and my documents.
In fact, i have deleted everything regarding openAT.
After openAt reinstall the queryApp is working.
Questions about queryApp:
if i set ( in this line ):
at+nmea=0
at+config=0
at+cgps=1
i get bunch of signs in terminal and trace is throving CME:error:3.
How to set the queryApp so i can test the SMS sended from terminal ?
Becouse for now, i can not send any at command, cuz the terminal is throwing “trash data” all the time and i have to make
manual restart if i want to break this process ( i waited cca 5 minutes ).