Bluetooth Wait On Listener Function
- Updated2025-07-30
- 2 minute(s) read
Waits for the listener to accept a connection request.

Inputs/Outputs
listener ID in
—
listener ID in is a network connection refnum that uniquely identifies the listener.
timeout ms (wait forever: -1)
—
timeout ms specifies the time, in milliseconds, that the function waits for a connection. If a connection is not established in the specified time, the function returns an error. The default value is –1, which 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.
listener ID out
—
listener ID out returns the same value as listener ID in.
remote address
—
remote address is the address of the client. An example of a Bluetooth address is 00:07:E0:07:D7:50.
remote channel
—
remote channel returns the channel of the Bluetooth client.
error out
—
error out contains error information. This output provides standard error out functionality.
connection ID
—
connection ID is a network connection refnum that uniquely identifies the Bluetooth connection. |
Examples
Refer to the following example files included with LabVIEW.
- labview\examples\Data Communication\Protocols\Bluetooth\Simple Bluetooth\Simple Bluetooth.lvproj
listener ID in
—
timeout ms (wait forever: -1)
—
error in (no error)
—
listener ID out
—
remote address
—
remote channel
—
error out
—