07-23-2024 06:47 AM - edited 07-23-2024 06:49 AM
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 :
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.
07-23-2024 10:19 AM
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.