Hi Evan,

What you are trying to do is currently not enabled in the Symbian code. It does 
not consider undefined access points at all. I agree that this is an 
inconsistency between Desktop and Symbian which was probably overlooked at the 
time of the implementation.


I should probably point out that the BearerAPI is not necessarily a WLAN 
scanner API at this stage. It is one of many feature considered for future 
extension work. 

http://bugreports.qt.nokia.com/browse/QTBUG-14701

provides an overview of the pending items with regards to Bearer in general. 
More general access to configuration options such as the MAC address etc are on 
the roadmap too.

--
Alex



>-----Original Message-----
>From: [email protected] [mailto:qt-mobility-
>[email protected]] On Behalf Of Welbourne Evan (Nokia-
>NRC/PaloAlto)
>Sent: Saturday, 11 December 2010 5:34
>To: [email protected]
>Subject: [Qt-mobility-feedback] Undefined QNetworkConfiguration problem
>on Symbian
>
>Hi,
>
>
>
>  I need to write some code that does WLAN scanning in support of high-
>performance positioning algorithm.  Specifically, the code needs to:
>
>
>
>1)      Be able to detect newly discovered WLANs for which the user has
>not actually created a configuration yet (i.e., "Undefined"
>QNetworkConfiguration)
>
>
>
>2)      Obtain the MAC addresses of all such newly discovered WLANs
>
>
>
>I know this can be done in Symbian C++ but I want to do it in Qt using
>the Mobility APIs if at all possible.  However, while it seems like the
>process should be straightforward, and while I can write Qt code that
>successfully finds Undefined QNetworkConfigurations on my laptop, this
>same code runs but never finds any Undefined QNetworkConfigurations on my
>N97 - QNetworkConfigurations in other states (e.g., Defined, Discovered)
>are found without a problem.
>
>
>
>I'm essentially just retrieving
>allConfigurations(QNetworkConfiguration::Undefined) from
>QNetworkConfigurationManager - on Symbian I always get an empty list as
>the result.  This same problem was documented with example code and
>discussed (but not resolved!) on Nokia forum about a month ago:
>
>http://discussion.forum.nokia.com/forum/showthread.php?212529-
>QNetworkConfiguration-StateFlag-Get-availabe-networks-that-i-didn-t-add.
>
>
>
>-          Here the forum expert speculates that it may be a "Symbian
>peculiarity".  Is this really a problem specific to Symbian?  If so, when
>will it be fixed?  I hope I'm not overlooking something obvious...
>
>
>
>-          Also, I can't see any way to obtain the MAC address of a WLAN
>that I'm not connected to but it seems like there should be a way to do
>this.  Does anyone know how?
>
>
>
>Thank you!
>
>Evan
>
>

_______________________________________________
Qt-mobility-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-mobility-feedback

Reply via email to