C# 클래스 Lego.Ev3.Android.Desktop.NetworkCommunication

Communicate with EV3 brick over TCP
상속: ICommunication
파일 보기 프로젝트 열기: BrianPeek/legoev3

공개 메소드들

메소드 설명
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.

메소드 상세

ConnectAsync() 공개 메소드

Connect to the EV3 brick.
public ConnectAsync ( ) : Task
리턴 Task

Disconnect() 공개 메소드

Disconnect from the EV3 brick.
public Disconnect ( ) : void
리턴 void

NetworkCommunication() 공개 메소드

Create a new NetworkCommunication object
public NetworkCommunication ( string address ) : System
address string The IP address of the EV3 brick
리턴 System

WriteAsync() 공개 메소드

Write data to the EV3 brick.
public WriteAsync ( byte data ) : Task
data byte Byte array to write to the EV3 brick.
리턴 Task