Bluetooth Create Listener Function

LabVIEW 2018 Help


Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help
LabVIEW 2020 Help

Owning Palette: Bluetooth VIs and Functions

Requires: Base Development System (Windows)

Creates a service for a Bluetooth server and returns a Bluetooth channel the server can use to listen for inbound connections.

Example

address is the address of the Bluetooth server. An example of a Bluetooth address is 00:07:E0:07:D7:50.
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 describes error conditions that occur before this node runs. This input provides standard error in functionality.
service description contains the name and description of the service uuid indicates.
name is the name of the service.
description is a short description of the service.
listener ID is a network connection refnum that uniquely identifies the listener.
channel returns the channel assigned to the listener.
error out contains error information. This output provides standard error out functionality.

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 Create Listener function.

WAS THIS ARTICLE HELPFUL?

Not Helpful