×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Jun 2006
    Posts
    49

    Create WLAN Access Point

    Dear All,

    From the Nokia Tech Library, there is a document about creating a WLAN access point.

    "Creating, deleting, editing, and listing WLAN access points TSS000418"

    =================
    The code is like this:
    #include <commdb.h> // link against commdb.lib
    #include <apselect.h> // link against apengine.lib
    #include <aplistitem.h>
    #include <apdatahandler.h>
    #include <apaccesspointitem.h>
    #include <aputils.h>

    CApAccessPointItem *wlan = CApAccessPointItem::NewLC();
    wlan->SetNamesL(_L("NewAP"));
    wlan->SetBearerTypeL(EApBearerTypeWLAN);
    wlan->WriteTextL(EApWlanNetworkName, _L("WlanAP"));
    // Store it into the CommsDb
    CCommsDatabase *commDb = CCommsDatabase::NewL();
    CleanupStack::PushL(db);
    CApDataHandler *handler = CApDataHandler::NewLC(*commDb);
    TUint32 newApId = handler->CreateFromDataL(*wlan);
    CleanupStack::PopAndDestroy(3); // handler, commDb, wlan
    =================
    But when I try to compile it, there is an error occurred saying that ...
    "Undefined identifier RMobileCall"

    Do anyone have idea on this? and How can I make use of the RMobileCall?

    I am using Carbide C++ to develop S60 3rd application.

    Thanks.
    Hammond

  2. #2
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: Create WLAN Access Point

    Quote Originally Posted by hmleung
    Dear All,

    From the Nokia Tech Library, there is a document about creating a WLAN access point.

    "Creating, deleting, editing, and listing WLAN access points TSS000418"

    =================
    The code is like this:
    #include <commdb.h> // link against commdb.lib
    #include <apselect.h> // link against apengine.lib
    #include <aplistitem.h>
    #include <apdatahandler.h>
    #include <apaccesspointitem.h>
    #include <aputils.h>

    CApAccessPointItem *wlan = CApAccessPointItem::NewLC();
    wlan->SetNamesL(_L("NewAP"));
    wlan->SetBearerTypeL(EApBearerTypeWLAN);
    wlan->WriteTextL(EApWlanNetworkName, _L("WlanAP"));
    // Store it into the CommsDb
    CCommsDatabase *commDb = CCommsDatabase::NewL();
    CleanupStack::PushL(commDb); // was db
    CApDataHandler *handler = CApDataHandler::NewLC(*commDb);
    TUint32 newApId = handler->CreateFromDataL(*wlan);
    CleanupStack::PopAndDestroy(3); // handler, commDb, wlan
    =================
    But when I try to compile it, there is an error occurred saying that ...
    "Undefined identifier RMobileCall"

    Do anyone have idea on this? and How can I make use of the RMobileCall?

    I am using Carbide C++ to develop S60 3rd application.

    Thanks.
    Hammond
    The code compiles OK (see correction in red above) with the S60 3rd SDK MR. You must be using the S60 3rd SDK in which, if I remember right, one of the Access Point Engine API headers uses data types that should have been defined in etelmm.h.

  3. #3
    Registered User
    Join Date
    Jun 2006
    Posts
    49

    Re: Create WLAN Access Point

    ltomuta,

    Thanks for your information.
    Yes I am using S60 3rd Edition.
    So I need to change to S60 3rd edition MR, right?

    Let me try.

    Thanks a lot.
    Hammond

  4. #4
    Registered User
    Join Date
    Jun 2006
    Posts
    49

    Re: Create WLAN Access Point

    Itomuta,

    I have installed the MR and set it as default SDK.
    But when I compile the application, the same error occurs.

    It seems that the IDE still uses the old SDK for compilation.

    I am using Carbide.C++. How can I set the project setting so that when I make it, it will use the MR to build the application?

    Thanks.
    Hammond

  5. #5
    Registered User
    Join Date
    Jun 2007
    Posts
    1

    Re: Create WLAN Access Point

    Hello Anyone can u tell me
    Symbian WLAN(or WiFi) network
    programming tutorial? Any website
    tells clearly about this or any one
    have the details?

    Plz mail me the detail to
    mgaffarg@gmail.com

    Thankx and BR,
    G. MOHAMMED GAFFAR

  6. #6
    Regular Contributor
    Join Date
    Mar 2006
    Location
    Bangalore
    Posts
    148

    Re: Create WLAN Access Point

    Hi ,

    You need to check out a book called Communications Programming in Symbian OS by Micheal J Lipping. And programming for WLan is nothing but just choosing the Access point as WLan it makes no difference.

    Regards,
    Pavan

Similar Threads

  1. Changing J2ME access point on 7270
    By aidygallagher in forum Mobile Java General
    Replies: 2
    Last Post: 2006-10-23, 18:52
  2. how to create WLAN access point ?
    By tomasz.florczak in forum Symbian
    Replies: 1
    Last Post: 2006-09-27, 07:33
  3. The S60 v3.0 N80 'Select access point:' list only displays "Search for WLAN"
    By Gingah in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2006-07-14, 05:05
  4. How create IAP(Internet Access Point)?
    By hanzhida in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2006-06-12, 10:09
  5. Cannot create new Access point....
    By krebsy in forum Bluetooth Technology
    Replies: 1
    Last Post: 2003-05-02, 11:34

Posting Permissions

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