Table of Contents

Enum CodeChannel

Namespace
DuetAPI
Assembly
DuetAPI.dll

Enumeration of supported input channel names

[JsonConverter(typeof(JsonStringEnumConverter<CodeChannel>))]
public enum CodeChannel : byte

Fields

Autopause = 11

Code channel that executes macros on power fail, heater faults and filament out

Aux = 4

Code channel for serial devices (e.g. PanelDue)

Aux2 = 10

Code channel for the second UART port

Daemon = 9

Code channel that executes the daemon process

File = 2

Code channel for primary file prints

File2 = 12

Code channel for secondary file prints

HTTP = 0

Code channel for HTTP requests

LCD = 7

Code channel for auxiliary LCD devices (e.g. PanelOne)

Queue = 6

Code channel for the code queue that executes a couple of codes in-sync with moves of the primary print file

Queue2 = 13

Code channel for the code queue that executes a couple of codes in-sync with moves of the primary print file

SBC = 8

Default code channel for requests over SPI

Telnet = 1

Code channel for Telnet requests

Trigger = 5

Code channel for running triggers or config.g

USB = 3

Code channel for USB requests

USB2 = 14

Code channel for the secondary USB channel

Unknown = 15

Unknown code channel

Remarks

The indices of this enum are tightly coupled with RepRapFirmware. Make sure to update this enum accordingly whenever changes are made to it!