Connects to the device with the given address. Note that the device must be first found. The service UUID is set to: 00001101-0000-1000-8000-00805F9B34FB (default SPP). The Connected event will be raised when the device is connected or if there was a problem to connect.
Connect2 (MacAddressAsString, UUIDAsString)
Similar to Connect. Allows you to use a different UUID.
Initialize (EventNameAsString)
Initializes the object and sets the subs that will handle the events.
IsEnabledAsBoolean [read only]
Returns true if the Bluetooth adapter is powered on.
IsInitializedAsBoolean
Listen
Starts listening for connections. The service UUID is set to: 00001101-0000-1000-8000-00805F9B34FB The Connected event will be raised when a client is connected.
Listen2 (UUIDAsString)
Similar to Listen. Allows you to use a different UUID for the service.
StartDiscoveryAsBoolean
Starts searching for devices. The DeviceFound will be raised for each device. Note that paired devices will also be listed (even if they are not nearby). The DiscoveryFinished event will be raised at the end.