This tutorial describes how to get the capabilities of a data call.
The following code tests if the call supports a data rate of at least 9600 baud.
TBool CClientApp::DataCallCapsL(RMobileCall& aCall) { RMobileCall::TMobileCallDataCapsV1 callCaps; RMobileCall::TMobileCallDataCapsV1Pckg callCapsPckg(callCaps); User::LeaveIfError(aCall.GetMobileDataCallCaps(callCapsPckg)); if (callCaps.iSpeedCaps >= RMobileCall::KCapsSpeed9600) { return ETrue; } else { return EFalse; } }
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.