Class Defaults
Static class that holds the connection defaults
Inherited Members
Namespace: DuetAPI.Connection
Assembly: DuetAPI.dll
Syntax
public static class Defaults
Fields
CodeBufferSize
Default number of codes to buffer in CodeStream mode
Declaration
public const int CodeBufferSize = 32
Field Value
Type | Description |
---|---|
int |
FullSocketPath
Default fully-qualified path to the UNIX socket for DuetControlServer
Declaration
public const string FullSocketPath = "/run/dsf/dcs.sock"
Field Value
Type | Description |
---|---|
string |
InputChannel
Default code channel to use
Declaration
public const CodeChannel InputChannel = SBC
Field Value
Type | Description |
---|---|
CodeChannel |
MaxCodeBufferSize
Maximum number of codes to buffer in CodeStream mode
Declaration
public const int MaxCodeBufferSize = 256
Field Value
Type | Description |
---|---|
int |
Password
Default password
Declaration
public const string Password = "reprap"
Field Value
Type | Description |
---|---|
string |
ProtocolVersion
Current API protocol version number
Declaration
public const int ProtocolVersion = 12
Field Value
Type | Description |
---|---|
int |
SocketDirectory
Default directory in which DSF-related UNIX sockets reside
Declaration
public const string SocketDirectory = "/run/dsf"
Field Value
Type | Description |
---|---|
string |
SocketFile
Default UNIX socket file for DuetControlServer
Declaration
public const string SocketFile = "dcs.sock"
Field Value
Type | Description |
---|---|
string |
StartErrorFile
Default file to contain the last start error of DCS. Once DCS starts successfully, it is deleted
Declaration
public const string StartErrorFile = "/run/dsf/dcs.err"
Field Value
Type | Description |
---|---|
string |