[android-porting] Re: Timer running in hciattach

2009-05-08 Thread Michael Trimarchi
Hi, BHEEMSEN KULKARNI wrote: Hi, There is piece code in the hciattach poll(p, 1, 500), which is poll for every 500 msec. main() { while (!__io_canceled) { p.revents = 0; err = poll(p, 1, 500); In my code the poll is every 5000 seconds, but maybe is a different

[android-porting] Re: Timer running in hciattach

2009-05-08 Thread BHEEMSEN KULKARNI
HI Michael, Thanks for your reply, Which version of Bluez-utils are you using? This timer is not the System to go to sleep, basically in the system Idle thread start when there is no activity on the system and it should stay in the idle state for some time (in our case it is more than 500 msec)

[android-porting] Re: Timer running in hciattach

2009-05-08 Thread Michael Trimarchi
BHEEMSEN KULKARNI wrote: HI Michael, Thanks for your reply, Which version of Bluez-utils are you using? This timer is not the System to go to sleep, basically in the system Idle thread start when there is no activity on the system and it should stay in the idle state for some time (in