Return-Path: Message-ID: From: "Albert Huang" To: bluez-users@lists.sourceforge.net Subject: Re: [Bluez-users] Bluez service discovery In-Reply-To: <9763591.1148373977331.JavaMail.rajanrengasamy@mac.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_72457_12782922.1148398681152" References: <48637.156.116.2.246.1148036921.squirrel@webmail.uio.no> <9763591.1148373977331.JavaMail.rajanrengasamy@mac.com> Sender: bluez-users-admin@lists.sourceforge.net Errors-To: bluez-users-admin@lists.sourceforge.net Reply-To: bluez-users@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ users List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue, 23 May 2006 11:38:01 -0400 ------=_Part_72457_12782922.1148398681152 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Individual devices (e.g. phones) do not have UUIDs. Services do. If you'r= e implementing a Bluetooth profile, that profile should come with a preassigned UUID. If you're creating your own custom service that's not part of the Bluetooth profiles or specifications, make your own uuid with uuidgen. More generally, a UUID is a 128-bit identifier. Bluetooth has this notion of 16-bit and 32-bit reserved UUIDs. These are really 128-bit UUIDs, but with the lower 112/96 bits fixed to the Bluetooth Base UUID. If you find a service with a 16-bit UUID (e.g. Serial Port Profile is 0x1101, then you ma= y need to convert it to the full 128-bit UUID. -albert On 5/23/06, Rajan Rengasamy wrote: > > Hi Albert, if u dont mind me asking, would you be able to guide me on how > i can get my phone's UUID? please thanks. > i also have a k750. > > On Tuesday, May 23, 2006, at 07:54AM, Albert Huang > wrote: > > > > ><> > > > Rajan > ------------- > Tat Twvam Asi > > > If you're using a Bluetooth reserved UUID, make sure that you've correctl= y > specified it by adding the Bluetooth Base UUID. > > -albert > > On 5/19/06, markusv@student.matnat.uio.no > wrote: > > > > > > hi > > I am trying to discover services on my cellular phone a Sony Ericsson > > k750 > > i. I am running ubuntu and the Bluez bluetooth protocol stack. I have > > followed this example: > > http://people.csail.mit.edu/albert/bluez-intro/x601.html > > I have ofcourse changed the bluetooth address and the uuid to match my > > phone and service. But still my program finds no services on the phone?= ? > > What is wrong here? Anybody have some hints? > > > > Thanks > > Markus > > > > > > > > > > > > > > > > ------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, > > security? > > Get stuff done quickly with pre-integrated technology to make your job > > easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache > > Geronimo > > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat= =3D121642 > > > > _______________________________________________ > > Bluez-users mailing list > > Bluez-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/bluez-users > > > > > ------=_Part_72457_12782922.1148398681152 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Individual devices (e.g. phones) do not have UUIDs.  Services do. = ; If you're implementing a Bluetooth profile, that profile should come with= a preassigned UUID.  If you're creating your own custom service that'= s not part of the Bluetooth profiles or specifications, make your own uuid = with uuidgen.

More generally, a UUID is a 128-bit identifier.  Bluetooth has= this notion of 16-bit and 32-bit reserved UUIDs.  These are really 12= 8-bit UUIDs, but with the lower 112/96 bits fixed to the Bluetooth Base UUI= D.  If you find a service with a 16-bit UUID ( e.g. Serial Port Profile is 0x1101, then you may need to convert it to the = full 128-bit UUID.

-albert

O= n 5/23/06, Rajan Rengasamy < rajanrengasamy@mac.com> wrote:
Hi Albert, if u d= ont mind me asking, would you be able to guide me on how i can get my phone= 's UUID? please thanks.
i also have a k750.

On Tuesday, May 23, 2006, at 07:54AM, Albert= Huang <albert@csail.mit.edu> wrote:
>
><<Original Attached>>


Rajan
---------= ----
Tat Twvam Asi


If you're using a Bluetooth reserved= UUID, make sure that you've correctly specified it by adding the Bluetooth= Base UUID.

-albert

On 5/19/06, markusv@student.matnat.uio.no <markusv@student.matnat.uio.no> wrote:
hi
I am trying to discover services on my cellular phone a Sony Eric= sson k750
i. I am running ubuntu and the Bluez bluetooth protocol stack.= I have
followed this example:
http://people.csail.mit.edu/albert/bluez-intro/x601.html
I have ofco= urse changed the bluetooth address and the uuid to match my
phone and se= rvice. But still my program finds no services on the phone??
What is wro= ng here? Anybody have some hints?

Thanks
Markus







-------------------= ------------------------------------
Using Tomcat but need to do more? N= eed to support web services, security?
Get stuff done quickly with pre-i= ntegrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geron= imo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057= &dat=3D121642
_______________________________________________
Bluez-users mail= ing list
Bluez-user= s@lists.sourceforge.net