C# Class Lego.Ev3.Android.Desktop.NetworkCommunication

Communicate with EV3 brick over TCP
Inheritance: ICommunication
Afficher le fichier Open project: BrianPeek/legoev3

Méthodes publiques

Méthode Description
ConnectAsync ( ) : Task

Connect to the EV3 brick.

Disconnect ( ) : void

Disconnect from the EV3 brick.

NetworkCommunication ( string address ) : System

Create a new NetworkCommunication object

WriteAsync ( byte data ) : Task

Write data to the EV3 brick.

Method Details

ConnectAsync() public méthode

Connect to the EV3 brick.
public ConnectAsync ( ) : Task
Résultat Task

Disconnect() public méthode

Disconnect from the EV3 brick.
public Disconnect ( ) : void
Résultat void

NetworkCommunication() public méthode

Create a new NetworkCommunication object
public NetworkCommunication ( string address ) : System
address string The IP address of the EV3 brick
Résultat System

WriteAsync() public méthode

Write data to the EV3 brick.
public WriteAsync ( byte data ) : Task
data byte Byte array to write to the EV3 brick.
Résultat Task