C# Class GHIElectronics.UAP.Gadgeteer.NativeInterfaces.SerialDevice

Inheritance: SocketInterfaces.SerialDevice
显示文件 Open project: amykatenicho/IoTWorkshop

Public Methods

Method Description
CreateInterfaceAsync ( string deviceId ) : Task
Read ( byte buffer ) : void
SerialDevice ( Windows.Devices device ) : System
Write ( byte buffer ) : void

Method Details

CreateInterfaceAsync() public static method

public static CreateInterfaceAsync ( string deviceId ) : Task
deviceId string
return Task

Read() public method

public Read ( byte buffer ) : void
buffer byte
return void

SerialDevice() public method

public SerialDevice ( Windows.Devices device ) : System
device Windows.Devices
return System

Write() public method

public Write ( byte buffer ) : void
buffer byte
return void