×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Apr 2010
    Posts
    26

    Some questions about A-GPS in Symbian

    Hello,

    I am new to Forum Nokia and Symbian development in general, so feel free to correct me if I am doing things wrong...

    Actually, I want to develop an application using my Nokia 6220 classic's A-GPS chipset. I have read some location-related threads and wiki articles and I am quite confused, so I have some questions.

    First, I did not understand properly how the Location API deals with the A-GPS chipset. Are there means to :
    - configure and monitor the data connection before the fix ?
    - switch the chipset ON or OFF to save battery ?

    And I did not understand either what happens if the data connection fails. Does the framework automatically switch to a mere GPS fix ?

    Thanks for your answers,
    Syldinn

  2. #2
    Super Contributor
    Join Date
    Mar 2008
    Posts
    1,481

    Re: Some questions about A-GPS in Symbian

    Quote Originally Posted by Syldinn View Post
    Hello,

    I am new to Forum Nokia and Symbian development in general, so feel free to correct me if I am doing things wrong...

    Actually, I want to develop an application using my Nokia 6220 classic's A-GPS chipset. I have read some location-related threads and wiki articles and I am quite confused, so I have some questions.

    First, I did not understand properly how the Location API deals with the A-GPS chipset. Are there means to :
    - configure and monitor the data connection before the fix ?
    - switch the chipset ON or OFF to save battery ?

    And I did not understand either what happens if the data connection fails. Does the framework automatically switch to a mere GPS fix ?

    Thanks for your answers,
    Syldinn
    Hi,

    A GPS is not a chip. Íf the device does not have GPS then there is no AGPS also.
    See this http://wiki.forum.nokia.com/index.ph...methods_in_S60

  3. #3
    Registered User
    Join Date
    Apr 2010
    Posts
    26

    Re: Some questions about A-GPS in Symbian

    Sorry, I wasn't clear enough. My target device can use both GPS and A-GPS.

    What I wanted to know was if some specific code had to be developed to use A-GPS instead of mere GPS, or if Symbian APIs already provided such methods.

  4. #4
    Super Contributor
    Join Date
    Mar 2008
    Posts
    1,481

    Re: Some questions about A-GPS in Symbian

    You may see this example
    Symbian provide that already. However in you settings you have to enable AGPS option if not enabled.

  5. #5
    Registered User
    Join Date
    Apr 2010
    Posts
    26

    Re: Some questions about A-GPS in Symbian

    OK, thanks a lot for your reply.
    I'll test this example and try to learn from it.

  6. #6
    Super Contributor
    Join Date
    Mar 2008
    Posts
    1,481

    Re: Some questions about A-GPS in Symbian

    In the SDK there is a file LbsCommon.h and in that there is a enum _TTechnologyType that says what is being used at the moment.
    At the beginning A GPS is used and later built in GPS is used.

    Just for your information, here is some code I am using for checking if it is using built in GPS

    Code:
        error = iPosServer.GetNumModules(module);
        if(error != KErrNone)
            {
            iPosServer.Close();
            iGPSAvailable = EFalse;        
            return; 
            }
        
        TPositionModuleInfo info;
        
        for(TUint i = 0; i < module; i++)        
            {
            error = iPosServer.GetModuleInfoByIndex(i,info);
            if(info.TechnologyType()& TPositionModuleInfo::ETechnologyTerminal)
                {
                iGPSAvailable = ETrue;
                break;
                }
            else
                {
                iGPSAvailable = EFalse;    
                }
            }

Similar Threads

  1. some questions about symbian perl...
    By b33713 in forum General Development Questions
    Replies: 1
    Last Post: 2010-01-16, 15:51
  2. Replies: 0
    Last Post: 2009-11-22, 19:03
  3. Questions about symbian fonts
    By biotrail in forum Symbian
    Replies: 2
    Last Post: 2007-10-09, 20:02
  4. Re: Questions or Opinions for the Symbian Tools Team
    By Nokiagoldfreak in forum News and Announcements
    Replies: 0
    Last Post: 2006-11-20, 21:04
  5. Replies: 0
    Last Post: 2004-05-07, 11:45

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •