×
Namespaces

Variants
Actions

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

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
Tested with
Devices(s): Nokia N78, N95, N96
Compatibility
Platform(s): S60 3rd Edition FP1 & FP2
S60 3rd Edition FP2
S60 3rd Edition FP1
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.
117 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×