nxtlib/src/Connect/Bluetooth.cs
/// <summary>
/// <para>Search for bricks connected via Bluetooth.</para>
/// </summary>
/// <returns>A list of brick information.</returns>
Search for bricks connected via Bluetooth.
Search for bricks connected via Bluetooth .
public override List<Brick> Search()
        {
            Thread thread = new Thread(_search);
            thread.Start();
            thread.Join();
            if (_bricklist.Count == 0) { throw new NXTNoBricksFound(); }
            return _bricklist;
        }
public override List < Brick > Search ( ) { Thread thread = new Thread ( _search ) ; thread . Start ( ) ; thread . Join ( ) ; if ( _bricklist . Count == 0 ) { throw new NXTNoBricksFound ( ) ; } return _bricklist ; }
Search for bricks connected via Bluetooth.
Search for bricks connected via Bluetooth .
A list of brick information.
A list of brick information .