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:Bluetooth MAC address cannot be retrieved if Bluetooth is not activated (Known Issue)

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
Tested with
Devices(s): Nokia N78, N95, N96
Platform(s): S60 3rd Edition FP1 & FP2
S60 3rd Edition FP2
S60 3rd Edition FP1
Keywords: Bluetooth, MAC Address
Created: User:External 10 (31 Jul 2009)
Last edited: hamishwillee (15 Jun 2012)


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


No known solution.

This page was last modified on 15 June 2012, at 06:50.
76 page views in the last 30 days.