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
FullSocketPath
Default fully-qualified path to the UNIX socket for DuetControlServer
public const string FullSocketPath = "/run/dsf/dcs.sock"
Field Value
FullSocketPathEnvironmentVariable
Environment variable to set the path to the UNIX socket for DuetControlServer
public const string FullSocketPathEnvironmentVariable = "DSF_SOCKET_PATH"
Field Value
InputChannel
Default code channel to use
public const CodeChannel InputChannel = SBC
Field Value
MaxCodeBufferSize
Maximum number of codes to buffer in CodeStream mode
public const int MaxCodeBufferSize = 256
Field Value
Password
Default password
public const string Password = "reprap"
Field Value
ProtocolVersion
Current API protocol version number
public const int ProtocolVersion = 12
Field Value
SocketDirectory
Default directory in which DSF-related UNIX sockets reside
public const string SocketDirectory = "/run/dsf"
Field Value
SocketFile
Default UNIX socket file for DuetControlServer
public const string SocketFile = "dcs.sock"
Field Value
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"