×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 17
  1. #1
    Registered User
    Join Date
    Aug 2008
    Posts
    2

    Getting Compass Data on 6210

    We are attempting to get the compass bearing from the 6210 Navigator.

    We have attempted using the Location Acquistion API passing an
    HPositionGenericInfo to the NotifyPositionUpdate.
    After requesting EPositionFieldTrueCourse or
    EPositionFieldMagneticCourse we get a false returned from IsFieldAvailable
    from the object after the NotifyPositionUpdate.
    If we use EPositionFieldHeading this returns a value but it doesn't
    return the compass information it appears to be calculated
    by tracking positions over time.

    We have also attempted to use the Sensor Framework API in accordance
    with the Forum Nokia post

    http://discussion.forum.nokia.com/fo...09&postcount=4

    which indicate the magnetometer is part of the sensor framework.

    However the RRSensorApi.lib doesn't appear to be present on the device
    as when we debug the application on the device it
    reports that it is unable to start the application as a required library
    is unavailable. However if we comment out the Sensor
    Frameworks stuff the application works perfectly.

    Can anybody provide an answer as to how to programmatically access the
    compass, or if this is going to be available via the
    Sensor Framework, when the necessary library will be included in a
    firmware update?

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    Re: Getting Compass Data on 6210

    the internal HW-compas, indeed is only accessile through sersor framework, but with FP2 the framework was updated, and currently the API is non-public.

  3. #3
    Super Contributor
    Join Date
    Jul 2007
    Location
    Magnitogorsk, Russia
    Posts
    536

    Re: Getting Compass Data on 6210

    Hi gregory_amer,

    try this example:
    http://wiki.forum.nokia.com/index.php/GPS_Compass

  4. #4
    Registered User
    Join Date
    Apr 2004
    Location
    Auckland, New Zealand
    Posts
    7

    Re: Getting Compass Data on 6210

    Quote Originally Posted by symbianyucca View Post
    the internal HW-compas, indeed is only accessile through sersor framework, but with FP2 the framework was updated, and currently the API is non-public.
    Do you have any idea when this API will be available to developers?

  5. #5
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    Re: Getting Compass Data on 6210

    I don't have the schdule, so can not say anything really.

  6. #6
    Registered User
    Join Date
    Feb 2005
    Location
    Belgium (Europe)
    Posts
    1,352

    Re: Getting Compass Data on 6210

    Quote Originally Posted by westie View Post
    Do you have any idea when this API will be available to developers?
    Good news

    Sensor FrameWork from 5th edition has been backported and it's now available for many FP2 devices and E66 (FP1).
    I've tested with 6210 Navigator and I see data for the magnetometer sensor !

    RRSensorApi is really Sensor API not the new Sensor Framework These two API are incompatible ...

    BR
    Cyke64
    pys60 1.4.5 and 2.0.0, pygame, PyS60 CE on E90 and 5800 !

    Find my pys60 extension modules on cyke64.googlepages.com

  7. #7
    Registered User
    Join Date
    Aug 2008
    Location
    Moscow, ID, USA
    Posts
    2

    Re: Getting Compass Data on 6210

    I am new to developing software for S60 devices. Could you post your source and SIS file that you loaded into the Nokia 6210 Navigator?

    I am primarily an embedded developer and I am interested in using the Nokia 6210 Navigator and its compass data for part of my masters research. I don't know much about S60 development. Any help you can offer would be greatly appreciated.

  8. #8
    Registered User
    Join Date
    Feb 2005
    Location
    Belgium (Europe)
    Posts
    1,352

    Re: Getting Compass Data on 6210

    Quote Originally Posted by deruwe View Post
    I am new to developing software for S60 devices. Could you post your source and SIS file that you loaded into the Nokia 6210 Navigator?

    I am primarily an embedded developer and I am interested in using the Nokia 6210 Navigator and its compass data for part of my masters research. I don't know much about S60 development. Any help you can offer would be greatly appreciated.
    Hello deruwe
    Welcome to Forum Nokia

    On the FN wiki you can find this Sensor Example 50 zip file.
    Unzip it you have now source files and a sis file in sis subfolder.

    I hope that this can help you a little

    BR
    Cyke64
    pys60 1.4.5 and 2.0.0, pygame, PyS60 CE on E90 and 5800 !

    Find my pys60 extension modules on cyke64.googlepages.com

  9. #9
    Registered User
    Join Date
    Nov 2008
    Posts
    2

    Re: Getting Compass Data on 6210

    Hi There,

    I'm trying to get the sensor framework to work on my N96.
    I'm using Carbide and SDK 3 FP2, which it supposedly was backported to (?)

    the SDK doesnt contain any header files indicating the sensor framework is present.

    the source in the example zip (SensorExample_50.zip) therefore doesn't build.

    Anybody know how i can get this to work?

    Greetings
    Yvo

  10. #10
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    Re: Getting Compass Data on 6210

    there is no sensor framework included in the public 3rd ed SDKs, thus you need to build it with 5th edition SDK.

  11. #11
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    89

    Re: Getting Compass Data on 6210

    hi,
    i think i missing something here, example from cyke64 is working just fine on Nokia 6210, but it is not possible to compile it for S603rd FP2 SDK!! There are also several mentioning on Wiki and this Forum about "backported" version of Sensor API for S603rd FP2, but i'm not able to find it anywhere!! Any ideas?

  12. #12
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: Getting Compass Data on 6210

    Since the API did not exist when the SDK for S60 3rd Edition FP2 was created then of course the API is not in the SDK.

    An dedicated SDK plug-in will be published some time in January, until then use the S60 5th Edition SDK to build sensor related stuff.
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  13. #13
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    89

    Re: Getting Compass Data on 6210

    ok, thanks Lucian! i also did a few test with S605th SDK and it works well for me, thanks GOD i have not used any specific Fp1/Fp2 API which are deprecated or not supported in S605th!

  14. #14
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: Getting Compass Data on 6210

    Yes, you have to be carefull the other way aroud to, and don't use any new S60 5th Edition specific features either. And test, test a lot
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  15. #15
    Registered User
    Join Date
    Feb 2005
    Location
    Belgium (Europe)
    Posts
    1,352

    Re: Getting Compass Data on 6210

    Quote Originally Posted by ltomuta View Post
    Since the API did not exist when the SDK for S60 3rd Edition FP2 was created then of course the API is not in the SDK.

    An dedicated SDK plug-in will be published some time in January, until then use the S60 5th Edition SDK to build sensor related stuff.
    Hello Lucian

    Thanks for the SDK plugin released in the 8 January 2009 (you have noted it ?)

    Download it HERE

    But how to use sensor framework with PyS60

    BR
    Cyke64
    pys60 1.4.5 and 2.0.0, pygame, PyS60 CE on E90 and 5800 !

    Find my pys60 extension modules on cyke64.googlepages.com

Similar Threads

  1. copy data from 6210 to 6230
    By Dimedrol in forum General Development Questions
    Replies: 1
    Last Post: 2004-06-23, 16:57
  2. 6210 infrared data connection problems
    By cm34hsww in forum General Development Questions
    Replies: 0
    Last Post: 2004-05-13, 00:36
  3. What is the real problem to receive data calls with Nokia TDMA cel modems?
    By jackal_jr in forum PC Suite API and PC Connectivity SDK
    Replies: 1
    Last Post: 2002-12-09, 09:02
  4. What is the real problem to receive data calls with Nokia TDMA cell modem?
    By jackal_jr in forum PC Suite API and PC Connectivity SDK
    Replies: 0
    Last Post: 2002-12-04, 16:05
  5. How to encode 8 bit massage with out data header
    By Nokia_Archive in forum General Messaging
    Replies: 1
    Last Post: 2002-05-18, 03:51

Posting Permissions

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