×

Discussion Board

Results 1 to 4 of 4

Thread: Bearer Type

  1. #1
    Registered User
    Join Date
    Jul 2007
    Posts
    111

    Bearer Type

    Hi,

    I try to find bearert type of RConnection in my app, i find this :

    http://www.developer.nokia.com/Commu...ionMonitor_API

    But it find all existing connection. How to now with of them is my ?
    I think by connectionId, but how to get from my RConnection connectionId ?

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,686

    Re: Bearer Type

    You can get the IAP Id. The funny thing that it is not something that one can find out, but the documentation brings it as a "natural" example: http://library.developer.nokia.com, search for RConnection, open the first hit and locate method GetIntSetting. That is the one you need (just remember the escaping rules, so the descriptor has to be "IAP\\Id").

  3. #3
    Registered User
    Join Date
    Jul 2007
    Posts
    111

    Re: Bearer Type

    Thanks for Your replay, but IAP Id is something different than connectionId ?

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,686

    Re: Bearer Type

    RConnectionMonitor simply enumerates the currently active connections from 1...n, IAP Id-s are identifiers stored in a database.
    For "recognizing" a connection, you can check them in a loop (1...GetConnectionCount), and GetUintAttribute KIAPId. Hopefully there will be a match.

Similar Threads

  1. What is the bearer type set for 3g connection
    By amit.mangal in forum Symbian
    Replies: 4
    Last Post: 2010-02-20, 18:05
  2. Bearer type
    By milind.vk in forum Symbian Networking & Messaging (Closed)
    Replies: 7
    Last Post: 2010-02-18, 10:58
  3. How to find out current bearer type.
    By NevePankaj in forum Symbian
    Replies: 4
    Last Post: 2008-07-18, 08:26
  4. how to get rconnection bearer type?
    By noam segal in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2007-04-20, 14:19
  5. Setting Bearer type
    By BugBuster in forum Symbian
    Replies: 0
    Last Post: 2003-07-04, 12: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
  •  
×