Hello, currently writes an application to connect to the device "BTLink Bluetooth to Serial Adapter"
More information about device: device specification Have created such a code:
BluetoothAddress btAddress = null;
if (!BluetoothAddress.TryParse(comboBoxDevices.SelectedValue.ToString().Trim(), out btAddress))
throw new Exception(String.Format("Adress: {0} wrong !", comboBoxDevices.SelectedValue.ToString().Trim()));
BluetoothEndPoint endPoint = new BluetoothEndPoint(btAddress, BluetoothService.DialupNetworking);
_bluetoothClient.Connect(endPoint);
I have tested two types of GUIDs:BluetoothService.DialupNetworking, BluetoothService.SerialPort. I received this message: "No connection could be made because the target machine actively refused it" What is wrong ?
Best regards, mykhaylo