Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User tiagotele's Avatar
    Join Date
    Sep 2008
    Posts
    37
    Hi all! I´m new in Symbian C++ world and I´m looking about tools, sdk´s, and others things for to work whith network. I´m researching about the API connection monitor server and I have some dubts:

    1-)Is it possible to use this API for monitore connections in real time? For example, I make an application whith this api, and I set my application to monitore. After this I use the internet. When I back to my application. My application has monitored all I want ok?

    2-)About the method GetPckgAttribute: I´m looking this method and I want to know if can I use this for get amount of downlink data transferred through any connection in a situation simitar to the question 1?

    3-)There are other SDK´s, API´s, etc., for to work with network different of connection monitor server, access point engine, connection settings and all in S60 plataform services?

    If any person can help me, I will be very grateful!
    Sorry my bad english! Bye!!!

  2. #2
    Nokia Developer Moderator A.A.M.'s Avatar
    Join Date
    Jan 2008
    Location
    Moscow, Russia
    Posts
    3,308
    See this link - Connection Monitor Server API: Using the RConnectionMonitor

    You can monitor any data connection and get the data amounts by using Connection monitoring API, see this example application - RConMon_Example.zip

  3. #3
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    RConnectionMonitor is also documented in its header file (indeed the SDK Help is not that useful in this particular case, though it also contains the rconnmon.h file itself), there you can find available attributes grouped by the related types. Then you can find out that KDownlinkData and KUplinkData are simple TUint attributes, so you should use GetUintAttribute for them for example. GetPckgAttribute is used for other kind of data.

  4. #4
    Registered User tiagotele's Avatar
    Join Date
    Sep 2008
    Posts
    37
    Ok! Thank a lot for help me! I will study the sample code and rewiew the documentation. Other questions about network:

    1-) I know, which it is a simulator, but it´s possible run applications which use these api(connection monitor server)
    in emulator?

    2-) It´s possible I cath the traffic and get de header protocols like a IP?

    See you later! Thank´s a lot!!!

  5. #5
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    1) yes, you can probably use RConnectionMonitor in the emulator too (of course it will not report WLAN networks or signal strengths, but amount of transferred bytes should work)
    2) RConnectionMonitor is not enough for that. The API you need is called IPHook (probably), but it is not part of the public SDK-s.

  6. #6
    Registered User tiagotele's Avatar
    Join Date
    Sep 2008
    Posts
    37
    Ok! IPHook is a famous API. I saw this very much in other topics and twice in the documentation. If it isn´t a public API, how tow use this?

    Thank´s for replies!
    See you latter!!!!

  7. #7
    Nokia Developer Moderator A.A.M.'s Avatar
    Join Date
    Jan 2008
    Location
    Moscow, Russia
    Posts
    3,308
    IPHook is a Symbian Partner only API.

    See this page - http://www.symbian.com/partner/spn.asp

  8. #8
    Registered User tiagotele's Avatar
    Join Date
    Sep 2008
    Posts
    37
    iphook is a partner API unfortunately. Any of you used the api connection monitor server for retrieve the QoS parameters of the mobile network? The operator of mobile network give these informations for users?

Similar Threads

  1. GPRS connection status---urgent, please
    By fanyulong in forum Symbian C++
    Replies: 3
    Last Post: 2008-07-15, 07:54
  2. API to pass the URL in Bluetooth Connection
    By BhargaviSomisetty in forum Symbian C++
    Replies: 1
    Last Post: 2008-01-12, 12:39
  3. connection to serial port
    By marluzch in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2006-11-20, 19:47
  4. Replies: 1
    Last Post: 2003-07-11, 15:10
  5. TCP/IP connection with JavaPhone API
    By nkn_motoko in forum Mobile Java General
    Replies: 1
    Last Post: 2001-11-06, 20:33

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