×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Oct 2008
    Posts
    229

    How can I get the IAP ID from device?

    Hi,
    Everyone!
    How can I get the IAP ID from device?

    I use below code:
    Code:
    RSocketServ socketServ; RConnection connection; User::LeaveIfError(socketServ.Connect()); if( !connection.SubSessionHandle() ) { User::LeaveIfError(connection.Open(socketServ)); } TCommDbConnPref connPref; connPref.SetDialogPreference( ECommDbDialogPrefDoNotPrompt ); connPref.SetDirection( ECommDbConnectionDirectionOutgoing ); connPref.SetIapId( TUint32( 4 ) ); User::LeaveIfError( connection.Start( connPref ) ); connection.Stop(); connection.Close(); socketServ.Close();
    I run it, but got the error code :
    Code:
    KErrNotFound
    I know the error is at :
    Code:
    connPref.SetIapId( TUint32( 4 ) );
    How can I get the IAPId and set it? IAP is Internet Access Providers?
    How can I get the GPRS IAPId ?I want to use RSocket to establish GPRS connection.

    Please give me a hand,very thanks!

  2. #2
    Nokia Developer Champion
    Join Date
    Jul 2007
    Location
    ShenZhen, China
    Posts
    4,346

    Re: How can I get the IAP ID from device?

    ----------------------------
    坚持学习, 坚持编码
    http://www.devdiv.net/
    qxiaoyuan

Similar Threads

  1. The application crashes with a glint when being launched on device.
    By yfw1966 in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 5
    Last Post: 2008-08-18, 08:52
  2. Unable to receive data from Bluetooth Device Via RFComm
    By kctan in forum Bluetooth Technology
    Replies: 0
    Last Post: 2008-06-15, 15:23
  3. What we want is a basic function device.
    By hendrysong in forum General Development Questions
    Replies: 1
    Last Post: 2008-06-06, 04:02
  4. Installing Ethernet Plugin on a second device
    By chenfi in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2005-12-19, 11:40
  5. Bluetooth Security: What exactly is an untrusted device?
    By rahulmcs in forum Bluetooth Technology
    Replies: 1
    Last Post: 2005-12-02, 06:26

Posting Permissions

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