I am working for S60 5th edition application development. In my 1 application I have to create a connection with server using GPRS & in seperate build I have to use only WiFi.
GPRS build is working fine but my WiFi build also creates connection using GPRS instead of WiFi although WiFi access point is available in my mobile. I am using below code:
am I doing anything wrong... or anything is missing in my code
iCommDbConnPref.SetBearerSet(ECommDbBearerWLAN );//ECommDbBearerWLAN | ECommDbBearerGPRS
iCommDbConnPref.SetIapId(iapId); //TUint32 iapId = iapConnectionPref.iBearer.iIapId;
iEngineState = EConnMgrConnecting;
iConnection.Start(iCommDbConnPref, iStatus); //Start connection with this TCommDbConnPref connection
Thanks in advance.