SetIapId () problem ?
| Mon, 2006-03-13 13:54 | |
|
Hi all!
I'm using TCommDbConnPref to override the connection settings but I've found a problem. I've got 4 access point configured in my phone. I use: User::LeaveIfError(iConnection.Open(iSocketServ)); connectPref.SetDialogPreference(ECommDbDialogPrefDoNotPrompt); connectPref.SetDirection(ECommDbConnectionDirectionOutgoing); connectPref.SetBearerSet(ECommDbBearerGPRS); connectPref.SetIapId(ap_id); This works perfect, but.. always the connection is made with the wrong AP!, if I select AP_ID = 3, the connection is made with the connecon ID = 4 it is very strange. I checked this with 2 diferents phones and is always the same. I tried with SetIapId(3) and nothing, the connection used was the iapid 4 If I use SetIapId(4) the connection used is which has id=5 The phone Ap Ids are: 2,3,4,5 I debuged all this during two days and I couldn`t find the problem. Someone could check it? This is a bug? Am i doing somthing wrong? Thank you very much mopa |
|






Forum posts: 11
when u say ap_id=4 u actually indicate 5th item of an array. so conexion to 5 ap_id is setup.