* [Bluez-devel] Problem setting the flush timeout
@ 2005-11-21 5:47 Jim Wyllie
2005-11-22 11:09 ` Marcel Holtmann
0 siblings, 1 reply; 2+ messages in thread
From: Jim Wyllie @ 2005-11-21 5:47 UTC (permalink / raw)
To: bluez-devel
To whomever may be able to help:
I have been pulling my hair for quite some time at the
set-flush-timeout.c code segment I was referred to use to set the flush
timeout for a bluetooth device. The call to hci_get_route( bdaddr_t* )
is failing, even though I directly cut-and-pasted the code. I verified
that the address I'm passing does exist on the system. It's setting
errno to 19 and claiming that the device doesn't exist even though I'm
100% positive that it does (hcitool dev shows it's 00:11:95:4F:FD:22,
and cr -> bdaddr_t.b[5] through cr -> bdaddr_t.b[0] are the same values,
copied in using str2ba). The device does definitely exist on the
system. Any other idea why this might be happening?
Thanks for your help,
Jim
Rather than flood your list, the code segment can be found at:
http://people.csail.mit.edu/albert/bluez-intro/x556.html#bzi-l2cap-unreliable
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Bluez-devel] Problem setting the flush timeout
2005-11-21 5:47 [Bluez-devel] Problem setting the flush timeout Jim Wyllie
@ 2005-11-22 11:09 ` Marcel Holtmann
0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2005-11-22 11:09 UTC (permalink / raw)
To: bluez-devel
Hi Jim,
> I have been pulling my hair for quite some time at the
> set-flush-timeout.c code segment I was referred to use to set the flush
> timeout for a bluetooth device. The call to hci_get_route( bdaddr_t* )
> is failing, even though I directly cut-and-pasted the code. I verified
> that the address I'm passing does exist on the system. It's setting
> errno to 19 and claiming that the device doesn't exist even though I'm
> 100% positive that it does (hcitool dev shows it's 00:11:95:4F:FD:22,
> and cr -> bdaddr_t.b[5] through cr -> bdaddr_t.b[0] are the same values,
> copied in using str2ba). The device does definitely exist on the
> system. Any other idea why this might be happening?
if you wanna use hci_get_route() then use the code inside hcitool.c for
any reference, because its usage is known to work.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-11-22 11:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-21 5:47 [Bluez-devel] Problem setting the flush timeout Jim Wyllie
2005-11-22 11:09 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).