LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Bluetooth Connection to Android-Smartphone

Hello everybody,

 

i´m trying to get a conection between my USB-Pluged-Bluetooth-Dongle and my Android-Smartphone (Samsung Galaxy S2).

 

Everythings working fine. I recieve several infos like a sevice list, BT-Addresses, ...

 

So now I still have 2 Problems:

1 - why am I recieving an "Device not found"-ERROR ??

2 - how can I send a Data (written in Path) to my Phone ??

Smiley Frustrated

 

 

Thanks and Have a nice Day

TK

0 Kudos
Message 1 of 4
(2,868 Views)

Hello

I have reworked your code a little bit. Try the attached VI to etablish a communication between your Smartphone and LV. Do you still get an error message? If yes, please post a screenshot of this error so i can help you.

Regards,
Stephan

0 Kudos
Message 2 of 4
(2,850 Views)

Hi there

 

The connection is not the difficult part.


In your VI, you send a string. But a Smartphone can´t reject this type of data.

I want to send any types of data (.mp3, .txt, ...) to my Smartphone with Opening a Path, selecting the Data and send it.

 

 

 

Have a nice day // Merry Christmas

TobiTobi

 

0 Kudos
Message 3 of 4
(2,842 Views)

Hi TobiTobi

 

I fear it is not as easy as you think.
I don't know a shipped VI, which will deliver this function. One Solution for your task is to load a data file over the path, convert the content of the file to a string and send the string via Bluetooth to your smartphone. After you have send the whole data as string, you can convert the data in your smartphone.

Greetings
Stephan

0 Kudos
Message 4 of 4
(2,833 Views)