Namespaces
Variants
Actions

Archived:Bluetooth MAC address cannot be retrieved if Bluetooth is not activated (Known Issue)

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}}.

MultiMediaTile.png
Article Metadata

Tested with
Devices(s): Nokia N78, N95, N96

Compatibility
Platform(s): S60 3rd Edition FP1 & FP2

Article
Keywords: Bluetooth, MAC Address
Created: User:External 10 (31 Jul 2009)
Last edited: hamishwillee (15 Jun 2012)

Description

The Bluetooth MAC Address can be retrieved using the Publish and Subscribe(PS) keys KUidSystemCategory and KPropertyKeyBluetoothGetLocalDeviceAddress. However, when the device is rebooted, the initial value of the PS key is set to zero and any attempt to read the Bluetooth MAC address using this key will return the value as 00:00:00:00.

Thus, after the phone reboot, the Bluetooth MAC address can be retrieved only after Bluetooth has been powered on at least once.

How to reproduce

Reboot the phone. Without starting Bluetooth, try to retrieve the Bluetooth MAC address using the code snippet from the following Wiki page: How to get local Bluetooth Device Address

Solution

No known solution.

This page was last modified on 15 June 2012, at 09:50.
199 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