Discussion Board

Results 1 to 4 of 4

Thread: Bearer Type

  1. #1
    Registered User lubom's Avatar
    Join Date
    Jul 2007
    Posts
    111
    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 wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    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 lubom's Avatar
    Join Date
    Jul 2007
    Posts
    111
    Thanks for Your replay, but IAP Id is something different than connectionId ?

  4. #4
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    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 C++
    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 C++
    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 C++
    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
  •  
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