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
Qt-mobility-feedback@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback

Reply via email to