×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    May 2007
    Location
    India
    Posts
    197

    Unhappy creating a new access point

    Hi,

    I want to create a new access point programatically.

    I have searched forum enough before posting but really did not find any help!

    in face i want to create a new access point with WPA2 security and EAP-TKIP and EAP-PEAP authentication mode.

    I tried to look into available apis but found that commsdb is the one that people tried. (still did not find any successfull scenario).
    I have read that it has been replaced by commsdat api but i am not able to find any settings there.

    can anyone tell me whether it is possible to create a wifi access point programatically which is have WPA2 EAP-TKIP or EAP-PEAP authentication mode?

    In fact i did not find any documenatation through which i can say that it is not possible even. so i am quite confused.

    Thanks a lot,
    Digish

  2. #2
    Registered User
    Join Date
    May 2007
    Location
    India
    Posts
    197

    Re: creating a new access point

    Is there no one who is having information in this field?

    ??

  3. #3
    Registered User
    Join Date
    Dec 2008
    Posts
    113

    Post Re: creating a new access point

    Hi Digish,

    Sometime earlier I're working on same kind of task......
    ..You can create WLAN access point with some symbian allowed settings only.

    In below code...you can do following settings......

    Have look below line....by use of you can set security settings type only not more security settings or authentication....rest thing you can do by manually not problematically.....

    wlan->WriteUint(EApWlanSecurityMode,8); //
    wlan->WriteUint(EApWlanSettingsId,2);
    .........
    CApAccessPointItem *wlan = CApAccessPointItem::NewLC();
    wlan->SetNamesL(_L("Test"));
    wlan->SetBearerTypeL(EApBearerTypeWLAN);
    wlan->WriteTextL(EApWlanNetworkName, _L("Test"));
    wlan->WriteUint(EApWlanSecurityMode,8); //8 for
    wlan->WriteUint(EApWlanSettingsId,2);
    // Store it into CommDb
    CCommsDatabase *db = CCommsDatabase::NewL();
    CleanupStack::PushL(db);
    CApDataHandler *handler = CApDataHandler::NewLC(*db);
    TUint32 apId = handler->CreateFromDataL(*wlan);

    CApUtils *aputil = CApUtils::NewLC(*db);
    TUint32 wapuid = wlan->WapUid();
    TInt Iap = aputil->IapIdFromWapIdL(wapuid);

    // Remove the comments below to run the AP settings dialog,
    // in case the AP needs to have WEP setting etc. entered

    CApSettingsHandler *settings =
    CApSettingsHandler::NewLC(
    EFalse,
    EApSettingsSelListIsListPane,
    EApSettingsSelMenuSelectOnly, 0, 0, 0);

    settings->RunSettingsL(apId, apId);

    CleanupStack::PopAndDestroy(4); // (5) if CApSettingsHandler is used
    Regards
    MKS

  4. #4
    Registered User
    Join Date
    May 2007
    Location
    India
    Posts
    197

    Re: creating a new access point

    Thanks mks,

    but my requirement is to automate those settings.

    In fact for an organization, we want to automatically allow users to connect without providing actual security settings.

    So i can not let user to do things manually.

    Are there any apis available though partenrship? any idea?

    Thanks,
    Digish

  5. #5
    Registered User
    Join Date
    Dec 2008
    Posts
    113

    Re: creating a new access point

    Hi Digish,

    Yes, I understood your concern point....As per my understanding, I did not found more than that Security and authentication settings API....

    For more security settings, private API will be required....not possible by public API...





    Quote Originally Posted by Digish View Post
    but my requirement is to automate those settings.

    In fact for an organization, we want to automatically allow users to connect without providing actual security settings.

    So i can not let user to do things manually.

    Are there any apis available though partenrship? any idea?

    Thanks,
    Digish
    Regards
    MKS

  6. #6
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,699

    Re: creating a new access point

    You may want to search for wpa in the Wiki, and check that local provisioning stuff.

  7. #7
    Registered User
    Join Date
    May 2007
    Location
    India
    Posts
    197

    Re: creating a new access point

    thanks mks and wizard_hu_ for your response.

    i tried to search wpa,wpa2,eap,eap-tkip,eap mschap, etc. but really did not find any helpful post.

    anyways, can you lead me how to know whether this is possible through partership and buying private api or not?

    I mean how to confirm whether there is any private api for this purpose or not?

    Thanks,
    Digish

  8. #8
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,699

    Re: creating a new access point

    I do not know, if I search for wpa in the Wiki (click Wiki, and use the Search function on the left side), it provides only 4-5 results. The last one shows some xml with WPA setting, and suggests that there is a Local Client Provisioning API or what, for S60 3rd FP2 and S60 5th - I have not checked that API, but it exists somewhere or at least it has existed, in the Tools section, perhaps in the Wiki, you can check.

Similar Threads

  1. Creating Access Point with OMA help
    By dr_rost in forum Symbian
    Replies: 2
    Last Post: 2009-04-23, 10:11
  2. Connect to WAP Access Point
    By psousa in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2008-10-28, 11:56
  3. Replies: 5
    Last Post: 2007-08-02, 13:22
  4. Why is client code to CSocketEngine hanging at Access Point dialogue?
    By nawkboy in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2003-03-11, 11:16
  5. Replies: 0
    Last Post: 2003-02-24, 04: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
  •  
×