Example Code

Bluetooth Discovery in LabVIEW

Code and Documents

Attachment

 

Overview

This VI will reliably discover available Bluetooth devices and return their addresses and names

 

 

Description

If you ever wanted to monitor the Bluetooth devices around you, this cool feature of LabVIEW will make it possible. This reliable Bluetooth discovery VI runs service discovery on every device with a blank name, this will always return a name. This is at the expense of discovery time, this can take a LONG time, hence the time to discover code for Benchmarking.

This VI uses the Bluetooth RFCOMM Service Discovery available in the Bluetooth Palette inside Data Communication.

 

 

 

Requirements

LabVIEW 2012 (or compatible)

 

 

Steps to Implement or Execute Code

1. Download the VI "Discovering Bluetooth Devices_LV2012_NI Verified"

2. Run the VI

 

 

Additional Information or References

undefined

 

**This document has been updated to meet the current required format for the NI Code Exchange.**

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Tariff Impact Update Learn more