proofread chp 4
[phd-thesis.git] / appx / mtask_aux.tex
index 455360a..54812ff 100644 (file)
@@ -1,10 +1,11 @@
 \documentclass[../thesis.tex]{subfiles}
 
-\begin{document}
-\ifSubfilesClassLoaded{
-       \pagenumbering{arabic}
-}{}
+\input{subfilepreamble}
+
 
+\begin{document}
+\input{subfileprefix}
+\ifSubfilesClassLoaded{\appendix\setcounter{chapter}{1}}{}
 \chapter{Auxiliary \texorpdfstring{\glsentrytext{MTASK}}{mTask} type classes}%
 \label{chp:mtask_aux}
 \lstset{basicstyle=\tt\footnotesize}
@@ -133,6 +134,32 @@ class LEDMatrix v where
        LMDisplay :: (v LEDMatrix) -> MTask v ()
 \end{lstClean}
 
+\subsection{Connection types}\label{lst:connection_types}
+\begin{lstClean}[caption={}]
+:: TCPSettings =
+       { host        :: String
+       , port        :: Int
+       , pingTimeout :: ?Int
+       }
+:: MQTTSettings = 
+       { host     :: String
+       , port     :: Int
+       , mcuId    :: String
+       , serverId :: String
+       , auth     :: MQTTAuth
+       }
+:: TTYSettings = {
+               devicePath :: String,
+               baudrate   :: BaudRate,
+               bytesize   :: ByteSize,
+               parity     :: Parity,
+               stop2bits  :: Bool,
+               xonxoff    :: Bool,
+               sleepTime  :: Int
+       }
+\end{lstClean}
+
+
 \lstset{basicstyle=\tt}
 \input{subfilepostamble}
 \end{document}