You Are Here:

Community: Wiki

This page was last modified on 3 November 2009, at 07:04.

TSS001483 - Controlling Bluetooth power state in notifier-initiated situations

From Forum Nokia Wiki



ID TSS001483 Creation date November 3, 2009
Platform S60 3rd Edition
S60 3rd Edition, FP1
Devices All (S60 3rd Edition)
Category Symbian C++ Subcategory Bluetooth


Keywords (APIs, classes, methods, functions): CBTMCMSettings

Overview

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.

Solution

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!
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

Related Wiki Articles

No related wiki articles found

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia