Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User heuven's Avatar
    Join Date
    Mar 2003
    Location
    Luttenberg (Netherlands)
    Posts
    577
    Hi,

    On Nokia 6220 Classic if I go to Settings | COnnection | Destinations | Internet - I added one access point. I can read the Connection Name using RCmManager::ECmName and GetStringAttributeL from RCmConnectionMethod.

    However, I also would like to read the "Access Point Name" - 3rd field. Which attribute do have to pass here as a parameter to GetStringAttributeL?

    BR,

    Rene
    Rene Heuven
    Inmote - Creative Smartphone Solutions
    Web: www.inmote.com
    E-mail: rene@inmote.com

  2. #2
    Registered User heuven's Avatar
    Join Date
    Mar 2003
    Location
    Luttenberg (Netherlands)
    Posts
    577
    Hi,

    I solved the problem partially - I can get the access point name using:

    HBufC* name = connectionMethod.GetStringAttributeL( CMManager::EPacketDataAPName );

    but EPacketDataAPName is only a valid attribute if the connectionMethod has a GPRS bearer type (I presume). Getting the bearer type is done using:

    TInt bearerType = connectionMethod.GetIntAttributeL( CMManager::ECmBearerType );

    Now only question is: what are the possible return types for bearerType?

    BR,

    Rene
    Rene Heuven
    Inmote - Creative Smartphone Solutions
    Web: www.inmote.com
    E-mail: rene@inmote.com

  3. #3
    Registered User heuven's Avatar
    Join Date
    Mar 2003
    Location
    Luttenberg (Netherlands)
    Posts
    577
    Hi,

    I accomplished to get my solution working on 6220 Classic (FP2). The bearer type (technology) which is returned is KUidPacketDataBearerType.

    Now I would like to have the same functionality running on N73 (MR). However, the CM Manager API has been introduced in FP2. Which APIs to use to access the access point name in MR phones?

    On the phone (N73) you select Tools | Settings | Connection | Access Points. Select one of them. You get a screen with "Connection name", "Data bearer" and "Access point name".

    BR,

    Rene
    Rene Heuven
    Inmote - Creative Smartphone Solutions
    Web: www.inmote.com
    E-mail: rene@inmote.com

  4. #4
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    You can get the IAP Id from RConnection::GetIntSetting+"IAP\\Id", then find out the name based on the id, using CApUtils, or CommDb/CommsDat directly.

Similar Threads

  1. Access point selection panics
    By tote_b5 in forum Python
    Replies: 31
    Last Post: 2009-01-25, 22:09
  2. Access Point Engine API in S603rd FP2
    By minstn in forum Symbian C++
    Replies: 2
    Last Post: 2008-09-17, 08:11
  3. HttpConnection keeps asking for access point
    By Larry101 in forum Mobile Java General
    Replies: 4
    Last Post: 2008-07-15, 13:13
  4. Replies: 0
    Last Post: 2008-01-29, 12:53
  5. Bluetooth Access Point
    By trussolillo in forum Bluetooth Technology
    Replies: 2
    Last Post: 2004-12-16, 11:07

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved