Table of Contents

Interface IPort

Namespace
nanoFramework.Tools.Debugger
Assembly
nanoFramework.Tools.DebugLibrary.Net.dll
public interface IPort
Extension Methods

Properties

AvailableBytes

int AvailableBytes { get; }

Property Value

int

InstanceId

Gets the Instance ID of the port that is unique among all ports (regardless of the type of port).

string InstanceId { get; }

Property Value

string

Methods

ConnectDevice()

ConnectPortResult ConnectDevice()

Returns

ConnectPortResult

DisconnectDevice(bool)

void DisconnectDevice(bool force = false)

Parameters

force bool

ReadBuffer(int)

byte[] ReadBuffer(int bytesToRead)

Parameters

bytesToRead int

Returns

byte[]

SendBuffer(byte[])

int SendBuffer(byte[] buffer)

Parameters

buffer byte[]

Returns

int