linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bluez-devel] decoding RFCOMM on hcidump -X -V
@ 2006-02-26 22:44 Jeff Wilson
  2006-02-26 23:52 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: Jeff Wilson @ 2006-02-26 22:44 UTC (permalink / raw)
  To: bluez-devel

Hi Marcel, hi list,

Does Bluetooth's RFCOMM protocol have ACKs and a sliding window, like
TCP?  Is it possible for a sending application to block on send when
sending a large payload to a slow reading application?

I'm trying to debug a program I wrote using
socket(PF_BLUETOOTH,SOCK_STREAM,BTPROTO_RFCOMM). Where can I learn
more about decoding the output of `hcidump -X -V` especially as it
applies to traffic crossing this RFCOMM socket?  I am particularly
interested in what to look for when chasing flow control and TCP-like
reliability.

Thanks for your time,

       Jeff


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
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] decoding RFCOMM on hcidump -X -V
  2006-02-26 22:44 [Bluez-devel] decoding RFCOMM on hcidump -X -V Jeff Wilson
@ 2006-02-26 23:52 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2006-02-26 23:52 UTC (permalink / raw)
  To: bluez-devel

Hi Jeff,

> Does Bluetooth's RFCOMM protocol have ACKs and a sliding window, like
> TCP?  Is it possible for a sending application to block on send when
> sending a large payload to a slow reading application?

the RFCOMM is using flow control only. There is no sliding window and
thus no real ACK mechanism.

> I'm trying to debug a program I wrote using
> socket(PF_BLUETOOTH,SOCK_STREAM,BTPROTO_RFCOMM). Where can I learn
> more about decoding the output of `hcidump -X -V` especially as it
> applies to traffic crossing this RFCOMM socket?  I am particularly
> interested in what to look for when chasing flow control and TCP-like
> reliability.

Since RFCOMM also has an MTU, you will see the packets going over the
air and the granted credits from each side.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
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:[~2006-02-26 23:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-26 22:44 [Bluez-devel] decoding RFCOMM on hcidump -X -V Jeff Wilson
2006-02-26 23:52 ` 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).