I'm coding an application which opens a TCP/IP connection when an SMS arrives to phone. Server address, port and access point for connection are defined in settings menu and can be changed by user.
TCP/IP connection and everything works well but when I start the connection at startup of the application I always get a access point selection dialog. I'm using RGenericAgent::StartOutgoing() to start the connection. I'd like to automatically (with no prompt) use access point specified in the settings by user.
I have a list of access points (CApListItemList) an I would like to open connection using particular access point (CApListItem) from the list.
How can I do this?
RE: setting access point for tcp/ip connection on 7650
you need to modify comm db of 7650 device
1. Get cdbv2.dat from c:\system\data folder of the device.
2. Place this cdbv2.dat file under c:\sysmtem\data folder of your installed 7650 sdk on PC.
3. goto 6.1\shared\tools folder and run setupcomm.bat file.
4. you will see the editior window for cdbv2.dat.
press 1) Outgoing connection prefs
and then modify
DialogPref: <do not prompt > press enter to save it
and select your IAP
come out of editior..
5. place cdbv2.dat back into the device
now run your app, access point window will not popup
i hope it helps..
But it will prevent it permanently
error C2664: 'void __thiscall RGenericAgent::StartOutgoing(class CStoreableOverrideSettings &,class TRequestStatus &)' : cannot convert parameter 1 from 'class CCommDbOverrideSettings' to 'class CSt
A reference that is not to 'const' cannot be bound to a non-lvalue