×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Apr 2008
    Posts
    105

    Create access point in INTERNET

    Hi,

    I use the following code to create my access point, I am able to create the access point but it ends up in "uncategorized". I want to create the access point in the Internet category. How do I do it?

    Code:
    static TInt SetNewIAP(TDesC8& aIAPName)
    {
        CApAccessPointItem *wlan = CApAccessPointItem::NewLC();
        wlan->SetNamesL(_L("point1"));
        wlan->SetBearerTypeL(EApBearerTypeWLAN);
        wlan->WriteTextL(EApWlanIPNameServer1, _L("127.0.0.1"));
        wlan->WriteTextL(EApWlanIPNameServer2, _L("127.0.0.1"));
    
        // Store it into the CommsDb
         TCommDbOpeningMethod aMethod;
        CCommsDatabase *commDb = CCommsDatabase::NewL();
        CleanupStack::PushL(commDb);
        CApDataHandler *handler = CApDataHandler::NewLC(*commDb);
        TUint32 newApId = handler->CreateFromDataL(*wlan);
        CleanupStack::PopAndDestroy(3); // handler, commDb, wlan
    
        return newApId;
    }

  2. #2
    Super Contributor
    Join Date
    Nov 2004
    Posts
    1,009

    Re: Create access point in INTERNET

    Regards,
    Shafali

  3. #3
    Registered User
    Join Date
    Jan 2005
    Location
    Italy
    Posts
    639

    Re: Create access point in INTERNET

    Hello,
    maybe this link will be useful too:
    http://discussion.forum.nokia.com/fo...point-issue%29

    regards,
    pg

Similar Threads

  1. CTelnetSession Internet Access Point
    By paijwar in forum Symbian
    Replies: 0
    Last Post: 2009-07-03, 10:47
  2. How create IAP(Internet Access Point)?
    By hanzhida in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2006-06-12, 10:09
  3. Internet access point
    By giz155 in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2006-05-15, 13:03

Posting Permissions

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