Table of Contents

Class Defaults

Namespace
DuetAPI.Connection
Assembly
DuetAPI.dll

Static class that holds the connection defaults

public static class Defaults
Inheritance
Defaults
Inherited Members

Fields

CodeBufferSize

Default number of codes to buffer in CodeStream mode

public const int CodeBufferSize = 32

Field Value

int

FullSocketPath

Default fully-qualified path to the UNIX socket for DuetControlServer

public const string FullSocketPath = "/run/dsf/dcs.sock"

Field Value

string

FullSocketPathEnvironmentVariable

Environment variable to set the path to the UNIX socket for DuetControlServer

public const string FullSocketPathEnvironmentVariable = "DSF_SOCKET_PATH"

Field Value

string

InputChannel

Default code channel to use

public const CodeChannel InputChannel = SBC

Field Value

CodeChannel

MaxCodeBufferSize

Maximum number of codes to buffer in CodeStream mode

public const int MaxCodeBufferSize = 256

Field Value

int

Password

Default password

public const string Password = "reprap"

Field Value

string

ProtocolVersion

Current API protocol version number

public const int ProtocolVersion = 12

Field Value

int

SocketDirectory

Default directory in which DSF-related UNIX sockets reside

public const string SocketDirectory = "/run/dsf"

Field Value

string

SocketFile

Default UNIX socket file for DuetControlServer

public const string SocketFile = "dcs.sock"

Field Value

string

StartErrorFile

Default file to contain the last start error of DCS. Once DCS starts successfully, it is deleted

public const string StartErrorFile = "/run/dsf/dcs.err"

Field Value

string