Bluetooth Create Listener Function
- Updated2025-07-30
- 3 minute(s) read
Creates a service for a Bluetooth server and returns a Bluetooth channel the server can use to listen for inbound connections.

Inputs/Outputs
address
—
address is the address of the Bluetooth server. An example of a Bluetooth address is 00:07:E0:07:D7:50.
uuid
—
uuid identifies the service. You can assign duplicate UUIDs, but National Instruments does not recommend assigning duplicate UUIDs. If a Bluetooth client requests a UUID that multiple services use on a Bluetooth server, the server uses the first UUID it encounters. The UUID must be in GUID format. An example of a UUID in GUID format is B62C4E8D-62CC-404b-BBBF-BF3E3BBB1374.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
service description
—
service description contains the name and description of the service uuid indicates.
listener ID
—
listener ID is a network connection refnum that uniquely identifies the listener.
channel
—
channel returns the channel assigned to the listener.
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
—
error in (no error)
—
service description
—
listener ID
—
channel
—
error out
—