IPWorks Bluetooth 2020 ActiveX Edition

Questions / Feedback?

Connect Method

Connects to a remote service.

Syntax

btportcontrol.Connect Host, Port

Remarks

This method connects to a remote service. Calling this method is equivalent to setting the RemoteHost property to Host, setting RemotePort to Port, and then setting the Connected property to True.

Example (Connecting)


BTPort.Connect("20:C9:D0:94:3E:46", 10)

Alternatively, RemoteServiceClassId may be used instead of specifying a port. For instance:

        btport1.RemoteHost = "20:C9:D0:94:3E:46";
        btport1.RemoteServiceClassId = "00001101-0000-1000-8000-00805f9b34fb";
        btport1.Connected = true;

The Bluetooth Universally Unique Identifier (UUID) is in the form

00000000-0000-1000-8000-00805F9B34FB

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks Bluetooth 2020 ActiveX Edition - Version 20.0 [Build 7941]