DCC++ commands, from the Laptop (4) to/through the Raspberry Pi (3), to the Base Station running on the Arduino (2) have the following structure


 <cmd [[[[byte1 byte2] byte3] byte4 byte5] byte6]>


In response the Base Station or the Raspberry Pi may return nothing or

 

<response [[[byte1 byte2] byte3] byte4 byte5 byte6 byte7 byte8 byte9]>


  • < -- The beginning of a DCC++ command or response
  • Identifier
    • cmd -- The single character "0" or "1" or upper/lower case letter
    • response -- A single upper/lower case letter
  • data byte(s) -- zero to nine bytes/numbers each preceded by a space - space not required before first byte.
  • > -- The end of the DCC++ command or response


The following is a summary of the DCC++ and Added command characters


0 - DCC++

 1 - DCC++

a - DCC++

A - addedS

b - DCC++

B - DCC++

c - DCC++

D - DCC++

e - DCC++

E - DCC++

f - DCC++

F - DCC++

G - addedS

h - addedT

H - addedT

I -

J -

K - addedS

L - DCC++

M - DCC++

n - addedS

N - addedS

O -

P - DCC++

Q - DCC++T

R - DCC++

s - DCC++

S - DCC++T

t - DCC++

T - DCC++

U -

V -

w - DCC++

W - DCC++

X -

Y -

Z - DCC++

space - DCC++







The following is a summary of the DCC++ and Added responses characters


a - DCC++

e - DCC++

f - DCC++

G - addedS

h - addedT

H - DCC++

K - addedS

n - addedS

O - DCC++T

p - DCC++

q - DCC++T

Q - DCC++T

r - DCC++

T - DCC++

U - addedS

V - addedS

X - DCC++T

Y - DCC++

"CR" - DCC++



Added S for Semaphores. Added T for Turnouts