Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.

Archived:Retrieving WLAN MAC address in S60 3rd Edition FP1 with WLAN Info API

From Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

Article Metadata
Platform(s): S60 3rd Ed FP1
S60 3rd Edition FP1
Created: User:Technical writer 2 (13 Jun 2007)
Last edited: hamishwillee (30 May 2013)


Retrieving WLAN MAC address in S60 3rd Edition, FP1 with WLAN Info API.


WLAN Info API, part of the Extensions plug-in package for S60 3rd Ed, FP1 SDK, contains Publish & Subscribe keys with a MAC address for the WLAN interface. The wlaninternalpskeys.h header file contains the required P&S category and key information:

    const TUid KPSUidWlan = { 0x101f8ec5 };
const TUint KPSWlanMacAddress = 0x00000001;
const RProperty::TType KPSWlanMacAddressType = RProperty::EByteArray;

However, the MAC address retrieval works only when WLAN is turned on. To find out the MAC address even with WLAN turned off, see Retrieving WLAN MAC address (applies to all S60 3rd Edition devices).

See also Extensions plug-in package for S60 3rd Edition SDK for Symbian OS, for C++, supporting Feature Pack 1

This page was last modified on 30 May 2013, at 23:44.
21 page views in the last 30 days.