From: "João Santos" <jsantos_pt@hotmail.com>
To: bluez-users@lists.sourceforge.net
Subject: [Bluez-users] sdptool setattr
Date: Wed, 28 Jan 2004 18:07:41 +0000 [thread overview]
Message-ID: <Sea2-F42DCZx4FR0rmT00041536@hotmail.com> (raw)
Hi all,
Anyone can tell me how i add a attribute in my sdp record with a boolean
value.
i'm trying to add the 0x0302 attr_id(Remote audio volume control) with the
attr_value set as boolean True.
I have done:
[root@olivia libs]# sdptool setattr 0x804f778 0x0302 True
Adding attrib 0x302 string "True" to record 0x804F778
[root@olivia libs]# sdptool get --tree 0x804f778
Attribute Identifier : 0x0 - ServiceRecordHandle
Integer : 0x804f778
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) : 0xc
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
Text : "Headset"
Attribute Identifier : 0x302 - Remote audio volume control
Text : "True"
but as you can see the attr_value is set in the test format.
Thanks in advance,
João Santos
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
next reply other threads:[~2004-01-28 18:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-28 18:07 João Santos [this message]
2004-01-28 18:17 ` [Bluez-users] sdptool setattr Marcel Holtmann
-- strict thread matches above, loose matches on Subject: below --
2004-02-03 19:02 João Santos
2004-02-03 23:46 ` 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=Sea2-F42DCZx4FR0rmT00041536@hotmail.com \
--to=jsantos_pt@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