public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] Sdptool: how to add a UUID value to the service class ID list
@ 2007-04-12 22:40 Scott, Anthony
  2007-04-12 22:50 ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: Scott, Anthony @ 2007-04-12 22:40 UTC (permalink / raw)
  To: bluez-users

I am trying to figure out how to change/add a UUID to the service class
ID list.  My research pointed me to using the Linux application
"sdptool".  The command I am using is:  "sdptool -i hci0 setattr 0x10001
0x0001 UUID_Address" but to no avail.  

Q1:  Is "0x0001" the right handle for a service class ID list?
Q2:  What is the format for the "UUID_Address" listed above, is it-
     1.  {7C45BBBC-55C0-11D9-A188-0050BAEB61CD}
     2.  7C45BBBC-55C0-11D9-A188-0050BAEB61CD
     3.  7C45BBBC55C011D9A1880050BAEB61CD
Q3:  Any other suggestions about how I can accomplish changing the value
of the service class ID list? (I am trying to add a UUID)
Q4:  Is there a better tool/command to use than "sdptool"?

Warm regards,
Anthony

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bluez-users] Sdptool: how to add a UUID value to the service class ID list
  2007-04-12 22:40 [Bluez-users] Sdptool: how to add a UUID value to the service class ID list Scott, Anthony
@ 2007-04-12 22:50 ` Marcel Holtmann
  2007-04-13  3:40   ` [Bluez-users] Sdptool: how to add a UUID value to theservice " Scott, Anthony
  0 siblings, 1 reply; 4+ messages in thread
From: Marcel Holtmann @ 2007-04-12 22:50 UTC (permalink / raw)
  To: BlueZ users

Hi Anthony,

> I am trying to figure out how to change/add a UUID to the service class
> ID list.  My research pointed me to using the Linux application
> "sdptool".  The command I am using is:  "sdptool -i hci0 setattr 0x10001
> 0x0001 UUID_Address" but to no avail.  
> 
> Q1:  Is "0x0001" the right handle for a service class ID list?
> Q2:  What is the format for the "UUID_Address" listed above, is it-
>      1.  {7C45BBBC-55C0-11D9-A188-0050BAEB61CD}
>      2.  7C45BBBC-55C0-11D9-A188-0050BAEB61CD
>      3.  7C45BBBC55C011D9A1880050BAEB61CD
> Q3:  Any other suggestions about how I can accomplish changing the value
> of the service class ID list? (I am trying to add a UUID)
> Q4:  Is there a better tool/command to use than "sdptool"?

actually you should fix the code that adds the wrong SDP service record
instead of messing around with it later on.

Regards

Marcel



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bluez-users] Sdptool: how to add a UUID value to theservice class ID list
  2007-04-12 22:50 ` Marcel Holtmann
@ 2007-04-13  3:40   ` Scott, Anthony
  2007-04-13 13:07     ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: Scott, Anthony @ 2007-04-13  3:40 UTC (permalink / raw)
  To: BlueZ users

Howdy Marcel/all:  To clarify things, I'd like to know how to change/add
a UUID to the service class ID list and I strictly do not want to change
the code.  Can you please help me understand how to change/add a UUID to
the service class ID list.  My research pointed me to using the Linux
application "sdptool".  The command I am using is:  "sdptool -i hci0
setattr 0x10001
0x0001 UUID_Address" but to no avail.  

Q1:  Is "0x0001" the right handle for a service class ID list?
Q2:  What is the format for the "UUID_Address" listed above, is it-
     1.  {7C45BBBC-55C0-11D9-A188-0050BAEB61CD}
     2.  7C45BBBC-55C0-11D9-A188-0050BAEB61CD
     3.  7C45BBBC55C011D9A1880050BAEB61CD
Q3:  Any other suggestions about how I can accomplish changing the value
of the service class ID list? (I am trying to add a UUID)
Q4:  Is there a better tool/command to use than "sdptool"?

Warm regards,
Anthony


-----Original Message-----
From: bluez-users-bounces@lists.sourceforge.net
[mailto:bluez-users-bounces@lists.sourceforge.net] On Behalf Of Marcel
Holtmann
Sent: Thursday, April 12, 2007 6:50 PM
To: BlueZ users
Subject: Re: [Bluez-users] Sdptool: how to add a UUID value to
theservice class ID list

Hi Anthony,

> I am trying to figure out how to change/add a UUID to the service 
> class ID list.  My research pointed me to using the Linux application 
> "sdptool".  The command I am using is:  "sdptool -i hci0 setattr 
> 0x10001
> 0x0001 UUID_Address" but to no avail.  
> 
> Q1:  Is "0x0001" the right handle for a service class ID list?
> Q2:  What is the format for the "UUID_Address" listed above, is it-
>      1.  {7C45BBBC-55C0-11D9-A188-0050BAEB61CD}
>      2.  7C45BBBC-55C0-11D9-A188-0050BAEB61CD
>      3.  7C45BBBC55C011D9A1880050BAEB61CD
> Q3:  Any other suggestions about how I can accomplish changing the 
> value of the service class ID list? (I am trying to add a UUID)
> Q4:  Is there a better tool/command to use than "sdptool"?

actually you should fix the code that adds the wrong SDP service record
instead of messing around with it later on.

Regards

Marcel



------------------------------------------------------------------------
-
Take Surveys. Earn Cash. Influence the Future of IT Join
SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
V
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bluez-users] Sdptool: how to add a UUID value to theservice class ID list
  2007-04-13  3:40   ` [Bluez-users] Sdptool: how to add a UUID value to theservice " Scott, Anthony
@ 2007-04-13 13:07     ` Marcel Holtmann
  0 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2007-04-13 13:07 UTC (permalink / raw)
  To: BlueZ users

Hi Anthony,

> To clarify things, I'd like to know how to change/add
> a UUID to the service class ID list and I strictly do not want to change
> the code.  Can you please help me understand how to change/add a UUID to
> the service class ID list.  My research pointed me to using the Linux
> application "sdptool".  The command I am using is:  "sdptool -i hci0
> setattr 0x10001
> 0x0001 UUID_Address" but to no avail.  
> 
> Q1:  Is "0x0001" the right handle for a service class ID list?

at least bluetooth/sdp.h says so.

> Q2:  What is the format for the "UUID_Address" listed above, is it-
>      1.  {7C45BBBC-55C0-11D9-A188-0050BAEB61CD}
>      2.  7C45BBBC-55C0-11D9-A188-0050BAEB61CD
>      3.  7C45BBBC55C011D9A1880050BAEB61CD

No idea.

> Q3:  Any other suggestions about how I can accomplish changing the value
> of the service class ID list? (I am trying to add a UUID)

Write a program that actually create the record from scratch.

> Q4:  Is there a better tool/command to use than "sdptool"?

No. Write your own one.

Regards

Marcel



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-04-13 13:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-12 22:40 [Bluez-users] Sdptool: how to add a UUID value to the service class ID list Scott, Anthony
2007-04-12 22:50 ` Marcel Holtmann
2007-04-13  3:40   ` [Bluez-users] Sdptool: how to add a UUID value to theservice " Scott, Anthony
2007-04-13 13:07     ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox