Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
blerk
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 8
Join Date: Dec 2004
Location: Amsterdam
Default Using the AT Debug Log to obtain GPS commands

Hi,

To be able to enable the GPS on Hermes, a couple of things still need to be researched. One of those is what kind of AT commands are being sent to the Radio ROM to properly initialize the GPS (at@startgps etc.).

On the Hermes, the AT commands (and the resulting NMEA output) can be observed using the HTC AtDbgLog feature. I'm not sure whether the Trinity has the AtDbgLog feature as well, but if it has, somebody with a Trinity should be able to capture the actual at@startgps and related commands.

I would be very grateful if somebody with a Trinity could test the following:

1. Add the following registry keys
\HKLM\Software\HTC\ATDebugLog\Enable=1 for logging
\HKLM\Software\HTC\ATDebugLog\LogMode=1 for logging into file

2. Soft reset (wait a minute or so first to be sure the changes are persisted)

3. Use the GPS with navigation software for a few minutes

and post the results from the \Temp\AtDbg0.txt logfile? (Note: the logfile should first be copied to the device before you can copy it to Windows)

It can be disabled by removing the registry keys again and soft resetting
HTC Tytn (WWE): HERM200, ROM 3.22.200.4 (LVSW2), SPL 1.10-Oli, Trinity Radio 1.38.00.11
 
blerk
Old
#2  
Junior Member - OP
Thanks Meter 0
Posts: 8
Join Date: Dec 2004
Location: Amsterdam
Bump... can anybody with a Trinity please do a quick check on this? It would really help both Trinity and Hermes users in figuring out the way the Trinity ROM is controlling the GPS!

Cheers
HTC Tytn (WWE): HERM200, ROM 3.22.200.4 (LVSW2), SPL 1.10-Oli, Trinity Radio 1.38.00.11
 
Des
Old
#3  
Senior Member
Thanks Meter 2
Posts: 128
Join Date: Jun 2004
there are only two gps commands - at@startgps and at@stopgps. Os do not do any special initialization of gps. Could not provide you with logs 'cause for some reasons i prefer not to publish my gps coords but you can beleve me - nothing interesting there: at@startgps / at@stopgps do exactly what they sound for.
MOV R0, #1
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...