List Info

Thread: Re: Sdptool: how to add a UUID value to theservice class ID list




Re: Sdptool: how to add a UUID value to theservice class ID list
country flaguser name
United States
2007-04-12 22:40:55
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.  
     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-bounceslists.sourceforge.net
[mailto:bluez-users-bounceslists.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.  
>      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.p
hp?page=join.php&p=sourceforge&CID=DEVDE
V
_______________________________________________
Bluez-users mailing list
Bluez-userslists.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-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users


Re: Sdptool: how to add a UUID value to theservice class ID list
country flaguser name
Germany
2007-04-13 08:07:54
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.  
>      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-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )