×
Namespaces

Variants
Actions

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

From Nokia Developer 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
Compatibility
Platform(s): S60 3rd Ed FP1
Symbian
S60 3rd Edition FP1
Article
Created: User:Technical writer 2 (13 Jun 2007)
Last edited: hamishwillee (31 May 2013)

Overview

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

Description

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 31 May 2013, at 02:44.
40 page views in the last 30 days.