Forwarding my reply to the list...

From: Laing David (Nokia-MS/Brisbane)
Sent: Thursday, 26 August 2010 11:04 AM
To: 'ext Hannu Säles'
Subject: RE: [Qt-mobility-feedback] location and direction bug ??

Sorry about the delay in the response.

There are a couple of reasons that the direction attribute may not be being 
set.  The most common reason would occur when both satellite and network based 
position data is coming in - the network data will appear long before the 
satellite data and won't have a direction associated with it.  The other reason 
could be that you didn't have a good satellite fix - there are several 
attributes which are either not set or are pretty inaccurate before 3 or more 
satellites are contributing to the fix (depending on conditions this can take 
some time).

If the direction is not being reported when you have the phone set to only use 
GPS / AGPS, you're testing it out of doors and away from buildings, and you're 
waiting at least 5-10 minutes for the first fix then please file a bug and 
we'll look into it.

Cheers,

Dave

From: [email protected] 
[mailto:[email protected]] On Behalf Of ext Hannu Säles
Sent: Sunday, 22 August 2010 8:39 PM
To: [email protected]
Subject: [Qt-mobility-feedback] location and direction bug ??

Hei

Mobility location does not give direction in symbian :
In the code:


    if (info.hasAttribute(QGeoPositionInfo::Direction)  ){

        g_ULdata->NMEAData->COG.v=info.attribute(QGeoPositionInfo::Direction);

    }


Course over ground (COG) is never set.

Position and SOG are OK.

This works in native Symbian class

( void CTLSatInfo::PositionInfoUpdatedL( TPositionInfoBase & aPosInfo,
    const TDesC & aModulename) )


Bug ?? I tried to find the reason at

CQGeoPositionInfoSourceS60::TPositionInfo2QGeoPositionInfo




but not succedded.

I am using QT SDk and mobility 1.0.2 .

Hannu


Hannu Säles Oy
Ruomelantie 12 C, FI-02210 Espoo, Finland
http://www.hannusales.fi
<http://www.hannusales.fi/>tel: +358-400-725374
_______________________________________________
Qt-mobility-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback

Reply via email to