Bluetooth Wait On Listener Function

Owning Palette: Bluetooth VIs and Functions

Requires: Base Development System (Windows)

Waits for the listener to accept a connection request.

Example

 Add to the block diagram  Find on the palette
listener ID in is a network connection refnum that uniquely identifies the listener.
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 describes error conditions that occur before this node runs. This input provides standard error in functionality.
listener ID out returns the same value as listener ID in.
remote address is the address of the client. An example of a Bluetooth address is 00:07:E0:07:D7:50.
remote channel returns the channel of the Bluetooth client.
error out contains error information. This output provides standard error out functionality.
connection ID is a network connection refnum that uniquely identifies the Bluetooth connection.

Example

Refer to the Simple Bluetooth.lvproj in the labview\examples\Data Communication\Protocols\Bluetooth\Simple Bluetooth directory for an example of using the Bluetooth Wait On Listener function.

 Open example  Find related examples