Bluetooth Open Connection Function
- Updated2025-07-30
- 2 minute(s) read
Requests a connection to a Bluetooth server.

Inputs/Outputs
address
—
address is the address of the Bluetooth server. An example of a Bluetooth address is 00:07:E0:07:D7:50.
channel (0)
—
channel is the channel number on the Bluetooth server. If channel is zero, this function uses the UUID to specify the service to connect to.
timeout ms (60000)
—
timeout ms specifies the time, in milliseconds, that the function waits to complete and return an error. The default value is 60,000 ms or 1 minute. A value of –1 indicates to wait indefinitely.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
uuid
—
uuid is the unique identifier for the service. If channel is zero, this function uses the UUID to specify the service. The UUID must be in GUID format. An example of a UUID in GUID format is B62C4E8D-62CC-404b-BBBF-BF3E3BBB1374
connection ID
—
connection ID is a network connection refnum that uniquely identifies the Bluetooth connection.
error out
—
error out contains error information. This output provides standard error out functionality. |
Examples
Refer to the following example files included with LabVIEW.
- labview\examples\Data Communication\Protocols\Bluetooth\Simple Bluetooth\Simple Bluetooth.lvproj
address
—
channel (0)
—
timeout ms (60000)
—
error in (no error)
—
connection ID
—
error out
—