public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: Chen Bin <binch@mobilesoft.com.cn>
Cc: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] how to recognize whether the connected device is a headset
Date: Fri, 22 Oct 2004 12:32:54 +0200	[thread overview]
Message-ID: <1098441174.4704.18.camel@pegasus> (raw)
In-Reply-To: <1098407881.898.5.camel@debian>

Hi Chen,

> Below is the infomation I got when I am connecting to a headset and
> using 'sdptool browse 00:0D:18:02:4F:C0' to find out the service
> provided by the headset:
> 
> binch@debian:/new/bt/mBluetooth$ sdptool browse 00:0D:18:02:4F:C0
> Browsing 00:0D:18:02:4F:C0 ...
> binch@debian:/new/bt/mBluetooth$ hcitool con
> Connections:
> 
> BTW: I actually have connected to the headset because when I press some
> key in the headset I can get some reaction on hcidump, I don't know
> whether hcitool con can't see the connection.

according to your dump, you are already disconnected at that time and
you really shouldn't play with "hcitool cc ...", because this creation
of a connection is not really recognized by the kernel. Use the L2CAP or
RFCOMM sockets instead.

In general a headset don't reacts on requests for the public browse
group and so you must search for a specific service.

	sdptool search --bdaddr <bdaddr> {hs|hf}

> The headset is DKH-03.

>>From what company and what does "hcitool info ..." say about this
headset?

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2004-10-22 10:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-21  9:50 [Bluez-users] how to recognize whether the connected device is a headset Chen Bin
2004-10-21 11:00 ` Fred Schaettgen
2004-10-21 17:41 ` Marcel Holtmann
2004-10-22  1:18   ` Chen Bin
2004-10-22 10:32     ` Marcel Holtmann [this message]
2004-10-22  1:27   ` Chen Bin
2004-10-22 10:45     ` Marcel Holtmann
2004-10-22  1:31   ` Chen Bin

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=1098441174.4704.18.camel@pegasus \
    --to=marcel@holtmann.org \
    --cc=binch@mobilesoft.com.cn \
    --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