1 \section{General Message Format
}
2 Messages are delimited by newlines to make processing by line based devices
3 easier. Message exchanges have a
\emph{Request
} and
\emph{Response
} header.
4 The
\emph{Request
} header means that the server is sending to the client. The
5 \emph{Response
} header means that the client is sending to the server. In some
6 cases either the
\emph{Request
} or
\emph{Response
} is empty. This means that
7 the message is not acknowledged or responded upon. Multibyte values are
8 interpreted as
\gls{MSB
} first integers.
15 \multicolumn{2}{c
}{Request
}\\
20 \multicolumn{2}{c
}{Response
}\\
24 2 & Peripheral bitmask\\
25 3,
4 & Bytes of memory\\
26 5,
6 & Size of the stack\\
27 7 & Number of analog pins\\
28 8 & Number of digital pins\\
31 \caption{Send a device specification
}
35 \section{\gls{mTask
}-
\glspl{Task
}}
38 \begin{subfigure
}[b
]{.48\textwidth}
42 \multicolumn{2}{c
}{Request
}\\
46 2,
3 & interval or interrupt\\
48 6 to $n$+
6 & bytecode\\
50 \multicolumn{2}{c
}{Response
}\\
57 \caption{Send a
\gls{Task
}}
60 \begin{subfigure
}[b
]{.48\textwidth}
64 \multicolumn{2}{c
}{Request
}\\
70 \multicolumn{2}{c
}{Response
}\\
77 \caption{Delete a
\gls{Task
}}
79 \caption{Message protocol for exchanging
\glspl{Task
}}
85 \begin{subfigure
}[b
]{.2\textwidth}
89 \multicolumn{2}{c
}{Request
}\\
96 \multicolumn{2}{c
}{Response
}\\
103 \caption{Send an
\gls{SDS
} specification
}
106 \begin{subfigure
}[b
]{.2\textwidth}
110 \multicolumn{2}{c
}{Response
}\\
116 \multicolumn{2}{c
}{Request
}\\
123 \caption{Delete an
\gls{SDS
}\\~
}
126 \begin{subfigure
}[b
]{.2\textwidth}
130 \multicolumn{2}{c
}{Request
}\\
137 \multicolumn{2}{c
}{Response
}\\
140 \caption{\gls{SDS
} update\\~
}
143 \begin{subfigure
}[b
]{.2\textwidth}
147 \multicolumn{2}{c
}{Response
}\\
149 \multicolumn{2}{c
}{Request
}\\
157 \caption{\gls{SDS
} publish\\~
}
159 \caption{Message protocol for exchanging
\glspl{SDS
}}