This page was last modified 06:33, 25 September 2007.
Check Bluetooth power on/off in Symbian 2nd edition phones
From Forum Nokia Wiki
To Check Bluetooth Power On or Off
// Using class should derive MSettingInfoObserver. // and declare void HandleNotificationL( // SettingInfo::TSettingID aID, const TDesC &aNewValue); iSettingInfo = CSettingInfo::NewL( this ); TInt btMode = -1; TInt err = iSettingInfo->Get( SettingInfo::EBluetoothPowerMode, btMode ); TBuf<30> errBuf; errBuf.Num(btMode); iEikonEnv->AlertWin(errBuf); // EBluetoothPowerMode : Current bluetooth power mode. // Integer value. Possible values // 0 (unpowered/sleeping) // 1 (powered up and fully functional) //Order notifications when bluetooth power mode is changed err = iSettingInfo.NotifyChanges( SettingInfo::EBluetoothPowerMode ); //Changed states can be get from HandleNotificationL();
Related Links
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Bluetooth | Issue with connection detection in 3rd edn phones | arunnrnair | General Symbian C++ | 2 | 2008-06-10 07:52 |
| 3d graphics on Nokia 6600 | sambo1972 | Mobile Java Media (Graphics & Sounds) | 2 | 2005-08-15 06:30 |
| OBEX file transfer canceling and progress | stenlik | Symbian Networking & Messaging | 4 | 2007-02-07 07:48 |
| Symbian carbide.c++ & Nolkia S60 SDK????? | g.page | Symbian Tools & SDKs | 3 | 2007-04-25 17:47 |
| Do i need some file permissions?? | tushant | Mobile Java General | 1 | 2006-03-12 20:11 |
