Phone Modes Tutorial

This section describes how to retrieve the phone modes supported by multimode phone sub-session. The modes are the different air-interfaces in the mobile networks.

The function should return the modes supported by the device.

Phone mode example

The following code checks if the phone supports both GSM and CDMA (IS-95).The code assumes iMobilePhone is an RMobilePhone object.

TUint32 modes;
User::LeaveIfError(iMobilePhone.GetMultimodeCaps(modes));
if ( (modes & RMobilePhone::KCapsGsmSupported) && 
    (modes & RMobilePhone::KCapsCdma95Supported) )
    {

    ...

    }