Method | Description | |
---|---|---|
BluetoothCommunication ( string port ) : System |
Initialize a BluetoothCommunication object.
|
|
ConnectAsync ( ) : System.Threading.Tasks.Task |
Connect to the EV3 brick.
|
|
Disconnect ( ) : void |
Disconnect from the EV3 brick.
|
|
WriteAsync ( byte data ) : System.Threading.Tasks.Task |
Write data to the EV3 brick.
|
Method | Description | |
---|---|---|
SerialPortDataReceived ( object sender, System.IO.Ports.SerialDataReceivedEventArgs e ) : void |
public BluetoothCommunication ( string port ) : System | ||
port | string | The COM port on which to connect. |
return | System |
public ConnectAsync ( ) : System.Threading.Tasks.Task | ||
return | System.Threading.Tasks.Task |
public WriteAsync ( byte data ) : System.Threading.Tasks.Task | ||
data | byte | Byte array of data to send to the EV3 brick. |
return | System.Threading.Tasks.Task |