|
Re: L2CAP: One failing connection hurts others?: msg#00049linux.bluez.devel
Hi Marcel! Marcel Holtmann schrieb: Well, yes, I remember there was a device hci0, but it didn't work. I haven't tried any harder. Now (Kernel 2.6.5) it works just by pluggin it in as ist should. Nice, now I have 4 dongles but I need to assemble another pc from the parts lying around here... I fond something much easier and better: "hciconfig hci0 pageto <slots>". When I use connect() in blocking mode and set the pageto to a small value, the connection attempt failure is reported in acceptable time. Since hcitool can do it programmatically, I can surely do it, too (by simply looking it up). I noticed that I have to increase the pageto up to 10000 or higher for the first paging. I suppose because the clock offset needs to be synchronized and afterwards it work even with a pageto of only 1 slot (but 500 slots = 312,5 ms is ok for me). Regards Stefan ------------------------------------------------------- This SF.Net email is sponsored by: thawte's Crypto Challenge Vl Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam Camcorder. More prizes in the weekly Lunch Hour Challenge. Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: L2CAP: One failing connection hurts others?: 00049, Marcel Holtmann |
|---|---|
| Next by Date: | Re: L2CAP: One failing connection hurts others?: 00049, Stefan Mischke |
| Previous by Thread: | Re: L2CAP: One failing connection hurts others?i: 00049, Marcel Holtmann |
| Next by Thread: | Switching class II to class III?: 00049, Stefan Mischke |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |