From: Imran Siddique <imran_stdu@yahoo.com>
To: bluez-users@lists.sourceforge.net
Subject: [Bluez-users] poll() problem ...
Date: Sun, 28 Jan 2007 12:28:31 -0800 (PST) [thread overview]
Message-ID: <545015.6254.qm@web37701.mail.mud.yahoo.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 714 bytes --]
HI,
I am making a assignment 'file transfer using Bluetooth on hci layer'. I take code from hci.c. The problem is sometime my program works perfectly and transfer file successful. But most of the time it failed.
Sender sends the Handshake packet and on Receiving side it receives. Receiver sends HACK to Sender but didn't receive anything. Means
n = poll(&p, 1, timeout)
n goes to 0. and the error is ETIMEDOUT.
But the same program works fine sometime.
I am getting sick from this problem.
I also try with different and same timeout values. but it doesn't effect in anyway.
Please help me.
Regards,
---------------------------------
TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.
[-- Attachment #1.2: Type: text/html, Size: 829 bytes --]
[-- Attachment #2: Type: text/plain, Size: 347 bytes --]
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
[-- Attachment #3: Type: text/plain, Size: 164 bytes --]
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
next reply other threads:[~2007-01-28 20:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-28 20:28 Imran Siddique [this message]
2007-01-28 21:47 ` [Bluez-users] poll() problem Marcel Holtmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=545015.6254.qm@web37701.mail.mud.yahoo.com \
--to=imran_stdu@yahoo.com \
--cc=bluez-users@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.