void CPbapAuthNotifierConsole::GetPasswordL() { iPassword.Zero(); iConsole->ClearScreen(); iConsole->Printf(_L("Please enter password for device:\nAddress: ")); TBTDevAddr a = iDevice->BDAddr(); iConsole->Printf(_L("0x%02x%02x%02x%02x%02x%02x"), a[0], a[1], a[2], a[3], a[4], a[5]); if (iDevice->IsValidDeviceName()) { iConsole->Printf(_L("\nName: ")); TBuf<KMaxBluetoothNameLen> dispBuf; // BT allows device names upto 248 characters dispBuf.Copy(iDevice->DeviceName()); iConsole->Printf(dispBuf); } iConsole->Printf(_L("\nRealm: ")); iConsole->Printf(iRealm); if (iRealmTruncated) { iConsole->Printf(_L(">>")); } iConsole->Printf(_L("\nand press [return] to accept or [esc] to cancel\n")); IssueRequestL(); }
// // CTrkDebugStateListener::RunL // This method gets called whenever there is a change in the debugging status. // void CTrkDebugStateListener::RunL() { User::LeaveIfError( iStatus.Int() ); if (iTrkServerEventCallback) iTrkServerEventCallback->DebugStateChanged(iDebugging); IssueRequestL(); }
// --------------------------------------------------------------------------- // Requests for COLP mode. // --------------------------------------------------------------------------- // EXPORT_C void CPsetCli::GetColpModeL() { /***************************************************** * Series 60 Customer / ETel * Series 60 ETel API *****************************************************/ IssueRequestL( RMobilePhone::EIdServiceConnectedPresentation ); }
// --------------------------------------------------------------------------- // Requests for COLP mode. // --------------------------------------------------------------------------- // EXPORT_C void CPsetCli::GetClirModeL() { /***************************************************** * Series 60 Customer / ETel * Series 60 ETel API *****************************************************/ IssueRequestL( RMobilePhone::EIdServiceCallerRestriction ); }
// --------------------------------------------------------------------------- // Make request to get CNAP status // --------------------------------------------------------------------------- // EXPORT_C void CPsetCli::GetCnapL() { if ( FeatureManager::FeatureSupported( KFeatureIdPhoneCnap ) ) { /***************************************************** * Series 60 Customer / ETel * Series 60 ETel API *****************************************************/ IssueRequestL( RMobilePhone::EIdServiceCallerName ); } }
void CPbapAuthNotifierConsole::RunL() { #ifdef __PBAP_TEXT_NOTIFIERS_AUTO__ iParent->PasswordInputComplete(KAutoPassword(), KErrNone); #else // __PBAP_TEXT_NOTIFIERS_AUTO__ TKeyCode key = iConsole->KeyCode(); if (key == EKeyEnter) { iParent->PasswordInputComplete(iPassword, KErrNone); } else if (key == EKeyEscape) { iParent->PasswordInputComplete(iPassword, KErrCancel); } else { if (iPassword.Length() < KPbapAuthPasswordLength) { TBuf<1> b; b.Append(key); iPassword.Append(b); iConsole->Printf(b); IssueRequestL(); } else { iConsole->Printf(_L("\nToo many characters...\nPress any key to continue\n")); TRequestStatus stat; iConsole->Read(stat); User::WaitForRequest(stat); GetPasswordL(); } } #endif // __PBAP_TEXT_NOTIFIERS_AUTO__ }
// // CTrkDebugStateListener::ListenL // Starts listening for usb connection status notifications.. // void CTrkDebugStateListener::ListenL() { IssueRequestL(); }
void CTRadioUtilityConsole::RunL() { TInt key = iConsole->KeyCode(); switch (key) { case '1': iParent->Play(); IssueRequestL(); break; case '2': iParent->PlayerState(); IssueRequestL(); break; case '3': iParent->ClosePlayer(); IssueRequestL(); break; case '4': iParent->StopPlayer(); IssueRequestL(); break; case '5': iParent->Mute(); IssueRequestL(); break; case '6': iParent->IsMute(); IssueRequestL(); break; case '7': iParent->SetVolume(); IssueRequestL(); break; case '8': iParent->GetVolume(); IssueRequestL(); break; case '9': iParent->SetVolumeRamp(); IssueRequestL(); break; case '0': iParent->GetMaxVolume(); IssueRequestL(); break; case 'a': iParent->RequestTunerControl(); IssueRequestL(); break; case 'd': iParent->SetFrequency(); IssueRequestL(); break; case 'g': iParent->Play(); IssueRequestL(); break; case 'j': iParent->SetVolume(); IssueRequestL(); break; case 'm': iParent->StopPlayer(); IssueRequestL(); break; case 'p': iParent->IsMute(); IssueRequestL(); break; case 't': iParent->GetVolume(); IssueRequestL(); break; case 'z': IssueRequestL(); break; case 'x': iParent->StopTesting(); break; default: IssueRequestL(); break; } }