LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

API for LE Bluetooth

Hi,

I have an application with LE (Low Energy) Bluetooth communication.

 

We used the "BLE Toolkit" from VIPM but we faced to some limitations : we need to use BLED112 dongle and there are also some frame size limitation.

 

I developed a new code with this API : https://www.btframework.com/gatt.htm

It works perfectly but my company refuses to buy the licence because it comes from Belarus...

 

So i am looking for other solutions : 

  • Basic LabVIEW Bluetooth functions doesn't work for LE Bluetooth
  • Same for the Windows BluetoothApis.dll

 

I saw a lot of discussions speaking about the Windows.Devices.Bluetooth.dll for LE Bluetooth communication. Actually I have a colleague using a QT library using this dll and it works well.

But I cannot find the way to use it in LabVIEW. I tried to use it calling the dll and using ActiveX functions but I didn't work.

 

Have you an idea how to use this dll or another API to communicate for LE Bluetooth?

 

Thank you.

0 Kudos
Message 1 of 2
(170 Views)

My advice is to write a wrapper dll for the parts of Windows.Devices.Bluetooth you need. There is a library for that already, maybe you can get some ideas from it: https://forums.ni.com/t5/Example-Code/LabVIEW-Bluetooth-Low-Energy-Driver-development-using-Universa...

Maybe your colleague can help with that?

 

The Win32 API does not let you discover BLE devices as far as I know. The developer of the library you linked implies that there is on a stackoverflow post, but I have not found a way.

0 Kudos
Message 2 of 2
(142 Views)