Problem setting the flush timeout
To whomever may be able to help:
I have been pulling my hair for quite some time at theset-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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Marcel Holtmann
maintainerHi Jim,
Quoted 10 lines
I have been pulling my hair for quite some time at the
set-flush-timeout.ccode segment I was referred to use to set the flush timeout for a bluetooth device. The call tohci_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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel