Namespaces
Variants
Actions

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

Jump to: navigation, search
Archived.png
Archived: 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

Article
Created: User:Technical writer 2 (13 Jun 2007)
Last edited: lpvalente (15 Dec 2012)

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 15 December 2012, at 00:15.
411 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved