Linux bluetooth development
 help / color / mirror / Atom feed
* [Bluez-users] l2cap connection timeout
@ 2006-11-26  9:22 Uichin (Eugene) Lee
  2006-11-26 10:28 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: Uichin (Eugene) Lee @ 2006-11-26  9:22 UTC (permalink / raw)
  To: bluez-users

Dear All,

I just realized from the spec that BT has C-Plane (for device control
service, i.e., HCI functions) and U-Plane (transport control and data
services, etc.). I thought I could use HCI functions not only for
device discovery, but also for connection and data transfer instead of
using L2CAP. But according to this, although we can create a
connection through hci_create_connection(), this connection can't be
used for data transfer, thus useless. (is it true?)

When we call L2CAP connection, it does in fact just create a L2CAP
connection request message and send it via hci_send_acl() to the lower
layer (i.e., LMP??). BlueZ kernel simply manages this L2CAP connection
information as far as I understand correctly.

When I try to connect to a remote device after inquiry step, how can I
choose a RIGHT timeout value to the remote device? I tried various
values from 1s to 5s: sometimes, it works well with 2s, but sometimes
it doesn't. Spec. talks about SR mode, R0 (<1.28s), R1(<1.28s),
R2(<2.56s) for page scan and thus accordingly, page for asynchronous
link should be N_page>1, >128, >256 respectively. Will it be pretty
much the same as the inquiry procedure, or should it be faster than
that since we've already got the clock offset from inquiry?

Thank you.

-- 
Uichin (Eugene) Lee
Ph.D. Student UCLA CS Dept.

-------------------------------------------------------------------------
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
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-11-26 10:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-26  9:22 [Bluez-users] l2cap connection timeout Uichin (Eugene) Lee
2006-11-26 10:28 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox