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 over the next few weeks. Thanks for all your past and future contributions.

Archived:Controlling Bluetooth power state in notifier-initiated situations

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): All (S60 3rd Edition)
Platform(s): S60 3rd Edition
S60 3rd Edition, FP1
S60 3rd Edition FP1
S60 3rd Edition (initial release)
Keywords: CBTMCMSettings
Created: User:Kbwiki (03 Nov 2009)
Last edited: hamishwillee (15 Jun 2012)



This article describes how a 3rd party application can temporarily disable Bluetooth connections.

Detailed Description

When the user activates Bluetooth from an S60 Bluetooth application, a central repository key for Bluetooth power state is updated.

To pre-empt Bluetooth connections, an application could monitor the key and set it back to the off state. However, this approach is not enough if Bluetooth is initially off and then started via a notifier; a typical use case is selecting Send via Bluetooth from the Options menu. In this case, although we do get a notification about the central repository key changes, the information is not propagated to the Bluetooth stack.


In addition to monitoring/setting the value of the central repository key, the CBTMCMSettings class is needed to control the power state of the Bluetooth module directly.

Note.pngNote: :This API (CBTMCMSettings) is not part of the public SDK. It can be found in the SDK API Plug-in.

See also

How to set Bluetooth power state

This page was last modified on 15 June 2012, at 00:47.
38 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.