Requests a connection to a Bluetooth server.


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.

  • cu16.png channel (0)

    channel is the channel number on the Bluetooth server.

    If channel is zero, this function uses the UUID to specify the service to connect to.

  • ci32.png timeout ms (60000)

    timeout ms specifies the time, in milliseconds, that the function waits to complete and return an error. The default value is 60,000 ms or 1 minute. A value of –1 indicates to wait indefinitely.

  • cerrcodeclst.png error in (no error)

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

  • cstr.png uuid

    uuid is the unique identifier for the service.

    If channel is zero, this function uses the UUID to specify the service. The UUID must be in GUID format. An example of a UUID in GUID format is B62C4E8D-62CC-404b-BBBF-BF3E3BBB1374

  • ignrn.png connection ID

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

  • 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