nxtlib/src/Connect/Bluetooth.cs
/// <summary> 
/// Disconnects from the NXT via Bluetooth.
/// </summary>
Disconnects from the NXT via Bluetooth.
Disconnects from the NXT via Bluetooth .
public override void Disconnect(Brick brick)
        {
            if (!IsConnected) { throw new NXTNotConnected(); }
            lock (commLock)
            {
                client.Close();
                client = null;
                client = new BluetoothClient();
            }
            return;
        }
public override void Disconnect ( Brick brick ) { if ( ! IsConnected ) { throw new NXTNotConnected ( ) ; } lock ( commLock ) { client . Close ( ) ; client = null ; client = new BluetoothClient ( ) ; } return ; }
Disconnects from the NXT via Bluetooth.
Disconnects from the NXT via Bluetooth .
//client.Dispose();
brick
Brick