public void Connect(BluetoothDevice device)
        {
            CancelAllThreads();

            try
            {
                _connectThread = new BTConnectThread(device, this);
                _connectThread.Start();
            }
            catch (Exception e)
            {
                SAMLog.Error("ABTA::CantCreateConnectThread", e);
                State = BluetoothAdapterState.Error;
                CancelAllThreads();
                return;
            }

            State = BluetoothAdapterState.Connecting;
        }