×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Nov 2008
    Posts
    19

    How can i get default access point selected for connection ?

    Hi All,

    I have to get the iapId of default access point set for network connection. I dont want to create popup for selecting access point in my application,
    I want to fetch access point for network connection through my application. For the same i am using following approach:

    CCommsDbConnectionPrefTableView* commsDbTableView = NULL;//For making view on a gprs table in the database
    CCommsDbConnectionPrefTableView::TCommDbIapConnectionPref pref;
    //open socket server and start the connection
    User::LeaveIfError(iSocketServ.Connect());
    TRAP( err,iConnection.Open(iSocketServ) );
    TRAP(err,iSession.OpenL());

    commsDbTableView = commDB->OpenConnectionPrefTableInRankOrderLC(ECommDbConnectionDirectionUnknown);
    TRAP(err, commsDbTableView->ReadConnectionPreferenceL(pref));

    connectionId = pref.iBearer.iIapId;
    CleanupStack::PopAndDestroy(commsDbTableView);//Pushed at time of creation.

    But I am always getting same connectionId irrespective of whichever I had selected as default access point for connection(For setting default access point for connection I am using path: web->options->Settings->Access point->User defined-> now select any access point). Please provide any pointers regarding this problem.

    Thanks in advance.

  2. #2
    Registered User
    Join Date
    Nov 2008
    Posts
    19

    Re: How can i get default access point selected for connection ?

    Hi All,

    Is there any way for creating connection to web/network with appropriate(default) access point and without user prompt ?

Similar Threads

  1. default access point goes out-of-memory
    By nufun in forum Python
    Replies: 12
    Last Post: 2009-03-21, 17:03
  2. Some questions about selection of access point
    By charles_happysunny in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2009-03-21, 00:41
  3. Access Point Connection Problem on N96... Help!
    By asenechalM5T in forum Symbian Networking & Messaging (Closed)
    Replies: 4
    Last Post: 2008-11-17, 15:00
  4. Usign default access point?
    By leban in forum Python
    Replies: 1
    Last Post: 2006-11-28, 06:35
  5. default access point (GPRS)
    By juliaf in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2005-02-03, 08:00

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •