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


icon

Inputs/Outputs

  • cstr.png address

    address is the address of the Bluetooth server. An example of a Bluetooth address is 00:07:E0:07:D7:50.

  • cstr.png 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.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • ccclst.png service description

    service description contains the name and description of the service uuid indicates.

  • cstr.png name

    name is the name of the service.

  • cstr.png description

    description is a short description of the service.

  • ignrn.png listener ID

    listener ID is a network connection refnum that uniquely identifies the listener.

  • iu16.png channel

    channel returns the channel assigned to the listener.

  • ierrcodeclst.png 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