Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User madhavnarain's Avatar
    Join Date
    Oct 2011
    Posts
    53
    Hello ,

    I am trying to get the data calls on the device .I am using the logengine apis to get the same.Below is the code snippet.

    iLogFilter = CLogFilter::NewL();
    iLogFilter->SetEventType(KLogDataEventTypeUid );
    bool dd = iLogView->SetFilterL(*iLogFilter, waiter->iStatus);

    Here dd is false.

    The phone has few WLAN and Packet data in the Log App.

    Note: I am able to get the list of SMS and Calls using the above code by changing the EventType.

    Any help is appreciated.
    -thanks

  2. #2
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    What entries you get with an empty filter?

  3. #3
    Nokia Developer Champion pavarang's Avatar
    Join Date
    Jan 2005
    Location
    Italy
    Posts
    576
    Quote Originally Posted by wizard_hu_ View Post
    What entries you get with an empty filter?
    I don't think is empty:
    iLogFilter->SetEventType(KLogDataEventTypeUid );

    the problem is the value of KLogDataEventTypeUid, maybe it's not the right one to identify packet data/wifi logs...

    regards
    pg

  4. #4
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    Quote Originally Posted by pavarang View Post
    I don't think is empty:
    iLogFilter->SetEventType(KLogDataEventTypeUid );
    Me neither. That is why I have asked what would happen without using a SetEventType line. Perhaps "default" would have been a better word than "empty".

  5. #5
    Registered User madhavnarain's Avatar
    Join Date
    Oct 2011
    Posts
    53
    So I need not call SetEventType with KLogDataEventTypeUid and test the use case.?
    -thanks

  6. #6
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    It is just a test which could help understanding what events are listed (as far as I understand you will get all of them if the filter is just left as it is created).
    Also, if you get the desired events with this approach, you can check their associated type UID.

  7. #7
    Registered User madhavnarain's Avatar
    Join Date
    Oct 2011
    Posts
    53
    I tested this (no filter) with no much success.

    I found a filterId KLogPacketDataEventTypeUid, with this I am able to get the log event of packet data.

    Trying to get a filter Id for WLAN also.

    -thanks for the repsonse.

  8. #8
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    A thing I do not understand: do you really see individual entries for packet data and WLAN events in the Logs app?

    Can it happen that you are looking for http://www.developer.nokia.com/Commu...g_Counters_API ?

Similar Threads

  1. HTTP POST is not giving EGotResponseBodyData event
    By parthasaradhi6 in forum Symbian C++
    Replies: 4
    Last Post: 2009-11-23, 15:05
  2. KLogDurationData ??? KLogDataEventTypeUid ???
    By bravvve in forum Symbian C++
    Replies: 1
    Last Post: 2009-09-13, 00:09
  3. How to capture mobile ringing event or call connected event
    By nitin.84india in forum Mobile Java General
    Replies: 4
    Last Post: 2009-09-03, 06:19
  4. Retrieve recent event giving problem...
    By santu.paul@gmail.com in forum Symbian C++
    Replies: 7
    Last Post: 2008-09-19, 15:26
  5. Replies: 3
    Last Post: 2008-08-11, 13:13

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