NI Home > Community > NI Discussion Forums

LabVIEW

Showing results for 
Search instead for 
Do you mean 
Reply
Member
Tewerz
Posts: 7
0 Kudos

How to convert UUID of bluetooth to GUID?

Hi

 

 

I am trying to connect a bluetooth device to labVIEW. I am using a bluetooth create listener function and it asks for UUID and that it has to be in GUID format. I would be grateful if anyone could kindly let me know how this conversion is possible. I was unable to find an answer to this question so far.

 

Thank you

 

T

 

Member
DylanC
Posts: 93
0 Kudos

Re: How to convert UUID of Bluetooth to GUID?

Hi Tewerz,


You should be able to assign your own GUID.

 

uuid Identifies the service. You can assign duplicate UUIDs, but National Instruments does not recommend assigning duplicate UUIDs. If a Bluetooth client requests a UUID that multiple services use on a Bluetooth server, the server uses the first UUID it encounters. The UUID must be in GUID format. An example of a UUID in GUID format is B62C4E8D-62CC-404b-BBBF-BF3E3BBB1374

 

 Here is some information on UUID and GUID:

 

http://www.famkruithof.net/guid-uuid-info.html

 

DylanC

Member
Tewerz
Posts: 7
0 Kudos

Re: How to convert UUID of Bluetooth to GUID?

I already have a bluetooth module I want to pair with. I use a bluetooth discover and got the address. How do I translate this to UUID in GUID format or these have no relation?

 

Thanks a lot!

Member
DylanC
Posts: 93
0 Kudos

Re: How to convert UUID of Bluetooth to GUID?

Tewerz,

 

You need to assign the GUID yourself. You should be able to choose anything you want as long as it is in the format: B62C4E8D-62CC-404b-BBBF-BF3E3BBB1374

 

DylanC

Member
juchaca
Posts: 2
0 Kudos

Re: How to convert UUID of Bluetooth to GUID?

Hi DylanC

 

Do you know if is the same proccess to use a laptop bluetooth device?

 

Thanks 

Member
DylanC
Posts: 93
0 Kudos

Re: How to convert UUID of Bluetooth to GUID?

What do you mean by laptop Bluetooth device? If you are connecting to any device over Bluetooth it should be the same process.

 

DylanC