×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Regular Contributor
    Join Date
    Mar 2008
    Location
    Bangalore, India
    Posts
    204

    Quantity of Data used for a Session.

    Hi,

    How can i get the quantity of data packets transferred in S60 3rd Ed., I uses both GPRS/3G & Wifi to connect my application to internet. I have to know how much data's has been transferred at any time user wishes. Pls let know your comments..

    Thanks,
    Srivatsan D

  2. #2
    Regular Contributor
    Join Date
    Mar 2008
    Location
    Bangalore, India
    Posts
    204

    Re: Quantity of Data used for a Session.

    Any comments pls...

    Thanks,
    Srivatsan D

  3. #3
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,684

    Re: Quantity of Data used for a Session.

    RConnectionMonitor can report such things. And "Data Connection Log Counters API" in the plugin packs (http://wiki.forum.nokia.com/index.php/SDK_API_Plug-in) also sounds as something you may want to check.

  4. #4
    Regular Contributor
    Join Date
    Mar 2008
    Location
    Bangalore, India
    Posts
    204

    Re: Quantity of Data used for a Session.

    Thanks wizard_hu_ for the valuable information. Let me check it. To be honest i was expecting your answer as i see always their will be a reply from you for all my posts.

    Thanks,
    Srivatsan D

  5. #5
    Regular Contributor
    Join Date
    Mar 2008
    Location
    Bangalore, India
    Posts
    204

    Re: Quantity of Data used for a Session.

    Thanks wizard_hu_ it works...

    I have used central repository (CRepository) and queried required by using Data Connection Log Counters API.

    This how i did which may useful for others also,
    Code:
    CRepository* iRepository = CRepository::NewL(KCRUidDCLLogs);
    
    GPRSSentCounter:
    TBuf<50> bytes;
    User::LeaveIfError(iRepository->Get(KLogsGPRSSentCounter, bytes));
    
    GPRSReceivedCounter:
    TBuf<50> bytes;
    User::LeaveIfError(iRepository->Get(KLogsGPRSReceivedCounter, bytes));
    
    WLANSentCounter:
    TBuf<50> bytes;
    User::LeaveIfError(iRepository->Get(KLogsWLANSentCounter, bytes));
    
    WLANReceivedCounter:
    TBuf<50> bytes;
    User::LeaveIfError(iRepository->Get(KLogsWLANReceivedCounter, bytes));
    Thanks a lot for the valuable information..

    Srivatsan D

Similar Threads

  1. Replies: 9
    Last Post: 2010-06-10, 12:39
  2. Replies: 4
    Last Post: 2006-08-30, 10:15
  3. Replies: 2
    Last Post: 2006-08-11, 20:51
  4. Replies: 0
    Last Post: 2002-12-04, 15:46
  5. Unicode Song Title In NSM Ringtone
    By mcai7db3 in forum Smart Messaging
    Replies: 3
    Last Post: 2002-08-28, 06:58

Posting Permissions

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