Interface IPort
- Namespace
- nanoFramework.Tools.Debugger
- Assembly
- nanoFramework.Tools.DebugLibrary.Net.dll
public interface IPort
- Extension Methods
Properties
AvailableBytes
int AvailableBytes { get; }
Property Value
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
Methods
ConnectDevice()
ConnectPortResult ConnectDevice()
Returns
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[]