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);
        if (err < 0 && errno == EINTR)
            continue;
        if (err)
            break;
    }
what is this piece of this does exactly,because of polling off every 500
msec causes the System not going to Sleep state.

Can I increase timer value?

Regards
Bheemsen K

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to