JiHwan,
Tim Kourt has submitted patch 3903, which fixes the problem you reported.  It 
was a bug in caipserver.c, which allowed continual looping, draining the 
battery.  Tim is one of our Android experts, so he was able to verify that it 
fixes the problem.
I apologize for inserting that bug in the code.  Thank you for finding and 
reporting it.
It seems unlikely that the patch will be applied to 1.0.0, but I will leave 
that to higher authorities.
John Light
Intel OTC OIC Development

From: JiHwan Seo [mailto:[email protected]]
Sent: Wednesday, October 14, 2015 10:11 PM
To: Light, John J; Macieira, Thiago; iotivity-dev at lists.iotivity.org; ???
Subject: Re: RE: [dev] how does IP adapter work?


Hi Thiago & John,



we tested it through simpleserver/simpleclient and ca sample

base on Android device such as Nexus6, samsung mobile phone(S6, Note5).



actually if platform is critical, you should have confirmed battery consumption 
in advance.

and profile by yourself before modifications.

will you reply the same response to personal developer who try to use it?



if network monitor you modified has relation with Android platform,

i think it is better to use Android API through JNI like BT.



JiHwan.



------- Original Message -------

Sender : Light, John J<john.j.light at intel.com<mailto:john.j.light at 
intel.com>>

Date : 2015-10-15 00:04 (GMT+09:00)

Title : RE: [dev] how does IP adapter work?


I wrote the current version of the IPv6 adapter.  As I left it, the Linux 
version of the adapter had no idle activity.  The Tizen and Android versions 
had additional work associated with the network monitor because they are less 
capable (no netlink) than current Linux.

Knowing the platform is critical, as Thiago suggests.

John Light
Intel OTC OIC Development


-----Original Message-----
From: iotivity-dev-bounces at lists.iotivity.org<mailto:iotivity-dev-bounces at 
lists.iotivity.org> [mailto:[email protected]] On Behalf 
Of Thiago Macieira
Sent: Wednesday, October 14, 2015 7:25 AM
To: iotivity-dev at lists.iotivity.org<mailto:iotivity-dev at 
lists.iotivity.org>; jihwan.seo at samsung.com<mailto:jihwan.seo at samsung.com>
Subject: Re: [dev] how does IP adapter work?

On Wednesday 14 October 2015 06:08:54 ??? wrote:
> Hi All
>
> I found out some battery consumption issue, when IP Transport is working.
> and also I received this question from personal developer a few day ago.
> accroding to my simple test, 6 ~ 7% battery was consumed for 10 minite
> while IP Transport is working in mobile  even if there is no transmit data.
> (when other transport type is enabled, battery consumption looks fine,
> it is about only IP adapter type) i don't know why, but i just know
> that the major part of IP Transport was modified recently with IPv6.
> Is there anyone who know why the reason to spend battery a lot?

Is this Tizen, Android or regular Linux? Can you profile the application and 
find out what is consuming CPU time? Your description sounds like a poll timer 
is active, but it isn't evident to me where in the network monitor that would 
be.

--
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

_______________________________________________
iotivity-dev mailing list
iotivity-dev at lists.iotivity.org<mailto:iotivity-dev at lists.iotivity.org>
https://lists.iotivity.org/mailman/listinfo/iotivity-dev





[cid:MKNRCZHWKC3T at namo.co.kr]

[http://ext.samsung.net/mailcheck/SeenTimeChecker?do=cb027b4aba19c2dca7b2306ee1b941acb146a8445d34f1bf36f05a1382d6df8af75777b2fb0cfff2e5a8ad1bf91b34ed4bea3c1765014a1208cece8541bc14eacf878f9a26ce15a0]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20151016/9bf942e4/attachment.html>

Reply via email to