public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: "Thor Egil Skaug" <paxtonrd@hotmail.com>
To: <bluez-users@lists.sourceforge.net>
Subject: [Bluez-users] SCO question
Date: Fri, 27 Feb 2004 19:32:29 -0800	[thread overview]
Message-ID: <003c01c3fdab$7e4f5870$9349edc7@thores> (raw)

This question is probably not specific to Bluez, but might be.

When opening an SCO connection between two clients using Bluez, there is
a continous
stream of incoming data on both ends, even without issuing any sends on
either side.
The stream ends when the SCO connection is terminated.

I have done some tests, and this happens in both of the following cases:

1. With scotest, by blocking for some time right before the send(...)
call in scotest.c:send_mode.
   By using hcidump, it is clear that both devices receive streams of
data without sending anything.

2. I wrote an application that used hci_sock w/ hci_usb (raw data and
hci_raw bit set) to manually
   setup an acl and then sco connection. Same result.

This was tested on machines running Linux 2.4.25 (usb-uhci), with Belkin
USB (CSR) devices. The SCO connection
in case 2 was setup to use HV2 packets.

I have tested this with different voice settings, but pretty much with
the same results (although the data changes). 
Most of the data is SCO packets of length 0x30 and the data contents are
either garbage or 0x00.

Is this generated by the BT-devices to maintain a ~ 64kb/s synchronous
stream of data, is it generated 
by the Bluez modules, or is there something wrong in the hci_usb driver
isoc. interface rx implementation that makes it 
deliver garbage to the socket?

Thanks,

Thor E. Skaug


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

             reply	other threads:[~2004-02-28  3:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-28  3:32 Thor Egil Skaug [this message]
2004-02-28 13:11 ` [Bluez-users] SCO question Marcel Holtmann
     [not found] <000201c3fe26$6f530530$46a57e40@thores>
2004-02-28 19:16 ` Marcel Holtmann
  -- strict thread matches above, loose matches on Subject: below --
2007-07-10 11:38 Robert Schmidt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='003c01c3fdab$7e4f5870$9349edc7@thores' \
    --to=paxtonrd@hotmail.com \
    --cc=bluez-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox