CommDB issues are back again! I am working on Automatic IAP Connections using RGenericAgent & RConnection.
When I retrieve the IAP Ids from the CommDB using the OUTGOING_GPRS table; the attempt works perfectly. If the IAP settings are completely deleted and then requested again; then the pop-up starts appearing again on a call to RGenericAgent::StartOutgoing() or RConnection::Start().
I shifted to the Connection Preferences table to retrieve the IAP after that. The IAP Id returned by that worked under all circumstances (i.e.:- No popup of dialog). But that only returns the Default IAP. I need the entire list of available GPRS IAPs for my application.
It seems that the COMMDB_ID returned by the OUTGOING_GPRS table is not the right one which has to be passed to the Agent. I have also tried suing the WAP_ACCESS_POINT table but to no avail!
The definition of a CommDB Id seems to be quite vague. I was under the assumption that the COMMDB_ID (which is in a lot of tables) is the IAP Id too which can be used for making automatic connections.
Could someone PLEASE give me some idea as to which table will give me usuable IAP Ids (in relation to RGenericAgent & RConnection).