10-13-2020 08:02 AM - edited 10-13-2020 08:04 AM
This forum demonstrate on how to use the windows 10 BLE native library to communicate with BLE devices (Smart watch, bulb or any device which support BLE). Developed the DLL to interact with windows 10 BLE library in C# platform and integrated the dll into LabVIEW by using .Net constructor node.
Here demonstrates usage of the Bluetooth Generic Attribute (GATT) Client APIs for Universal Windows Platform (UWP), along with sample code for common GATT client tasks:
Following are the methods available in BLE library:
Methods:
When setting the debug logs to true, C# library created the BLE log files under C drive
Development Environment:
LabVIEW 2020 32 Bit
OS: Win 10 64 bit
This driver VIs does not require any dongle to communicate with BLE device. It uses the native Win 10 UWP library to communicate with BLE devices
04-05-2022 01:52 PM
Wish this application was available for CVI as well.
04-09-2024 01:41 AM
Hi, can you tell me how connecting with a pin code works?
12-19-2024 05:33 AM
Hi,
I've been experimenting with the Arduino MKR WiFi 1010 and have successfully read characteristics into LabVIEW. However, I'm facing issues when trying to write any characteristics. Despite setting them to "BLEWrite" or "BLEWriteWithoutResponse" in Arduino and using the corresponding write function in LabVIEW, the result is always "Non Write Property" (BLE_Write_Without_Response.vi) or "One or more errors occurred." (BLE_write.vi). What could I be missing?
You can find the Arduino code here:
https://docs.arduino.cc/tutorials/mkr-wifi-1010/enabling-ble/
https://docs.arduino.cc/tutorials/mkr-wifi-1010/enabling-ble/
12-19-2024 06:18 AM
Hello,
As always, just after posting here I managed to resolve the issue. The key to success was found here: