bluetoothengine/bteng/src/btengsrvkeywatcher.cpp
changeset 65 001a94c71129
parent 28 7e2761e776bd
equal deleted inserted replaced
57:5ebadcda06cb 65:001a94c71129
   527         {
   527         {
   528         iBdaddrKey.Close();
   528         iBdaddrKey.Close();
   529         }
   529         }
   530     CleanupStack::PopAndDestroy( cenRep );
   530     CleanupStack::PopAndDestroy( cenRep );
   531     }
   531     }
       
   532 
       
   533 // ---------------------------------------------------------------------------
       
   534 // Gets the current value of ssp mode key. Return ETrue if BT is in SSP debug mode
       
   535 // ---------------------------------------------------------------------------
       
   536 //
       
   537 TBool CBTEngSrvKeyWatcher::GetSspDebugModeKeyValue()
       
   538     {
       
   539     TInt val;
       
   540     // Getter failure is handled as Debug mode off
       
   541     TInt err = iSspDebugModeKey.Get( val );
       
   542     TRACE_INFO( ( _L( "CBTEngSrvKeyWatcher::GetSspDebugModeKeyValue err %d val %d" ), err, val) )
       
   543     return ( !err && val );
       
   544     }