From: Ka Kin Cheung <michaelhku2002@yahoo.com.hk>
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] adding sdp service record attributes
Date: Wed, 16 Mar 2005 09:21:42 +0800 (CST) [thread overview]
Message-ID: <20050316012142.60063.qmail@web60906.mail.yahoo.com> (raw)
In-Reply-To: 6667
[-- Attachment #1: Type: text/plain, Size: 2918 bytes --]
Hi Marcel!
Sorry for that. Maybe I rephrase the question like this.
Now, I'm still struggling about how to add sdp service profiles in my Linux PC. And the most important thing is to let my computer to act as headset so that T610 can connect to it. I know that to add the service, using add_headset function is the way. But I find that only using this function is not enough, and I also find that there is a command called "setattr" that sets or adds the attributes to SDP record. Then I wish to know that if the setattr command, or set_attrib function in sdptool.c is necessary. If so, in the setattr command, there are two parameters that I've to enter, attrib_id and attrib_value. I wish to know what are the corresponding values of these two parameters from the following after I've typed "sdptool get --tree <recordhandle>"?
Attribute Identifier : 0x0 - ServiceRecordHandle
Integer : 0x10002
Attribute Identifier : 0x1 - ServiceClassIDList
Data Sequence
UUID16 : 0x1108 - Headset
UUID16 : 0x1203 - GenericAudio
Attribute Identifier : 0x4 - ProtocolDescriptorList
Data Sequence
Data Sequence
UUID16 : 0x0100 - L2CAP
Data Sequence
UUID16 : 0x0003 - RFCOMM
Channel/Port (Integer) : 0x5
Attribute Identifier : 0x5 - BrowseGroupList
Data Sequence
UUID16 : 0x1002 - PublicBrowseGroup (SDP)
Attribute Identifier : 0x9 - BluetoothProfileDescriptorList
Data Sequence
Data Sequence
UUID16 : 0x1108 - Headset
Version (Integer) : 0x100
Attribute Identifier : 0x100
Lastly, I wish to konw that if I can let my PC to act as headset for T610, after I've added the profile in it, is there any program needed to install in T610 so that it can connect to the PC?
Hope that this can be clearer to you. Thank you very much.
Michael
Marcel Holtmann <marcel@holtmann.org> wrote:
Hi Michael,
> I'm trying to add sdp service profile using sdptool, and I found
> one that is to add attribute to a SDP record. I wish to know that is
> that true? If so, I wish to know what the values should be put
> according to this command "sdptool get record_handle attrib_id
> attrib_value"? Here is the result when I typed "sdptool get --tree
> record_handle". I wish to know that what corresponds attrib_id and
> attrib_value?
I have no idea what you really wanna know. Try to rephrase your
question.
Regards
Marcel
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
---------------------------------
Yahoo! 工具列 - 內置防止彈出視窗工能!
[-- Attachment #2: Type: text/html, Size: 3649 bytes --]
next reply other threads:[~2005-03-16 1:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-16 1:21 Ka Kin Cheung [this message]
2005-03-16 9:37 ` [Bluez-users] adding sdp service record attributes Marcel Holtmann
-- strict thread matches above, loose matches on Subject: below --
2005-03-18 10:44 Ka Kin Cheung
2005-03-16 13:57 Ka Kin Cheung
2005-03-16 14:08 ` Marcel Holtmann
2005-03-15 15:22 Ka Kin Cheung
2005-03-15 16:09 ` Marcel Holtmann
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=20050316012142.60063.qmail@web60906.mail.yahoo.com \
--to=michaelhku2002@yahoo.com.hk \
--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