diff --git a/LiquidCAN.pdf b/LiquidCAN.pdf index f2948ff..65732be 100644 Binary files a/LiquidCAN.pdf and b/LiquidCAN.pdf differ diff --git a/LiquidCAN.tex b/LiquidCAN.tex index 43be3b8..994d8c9 100644 --- a/LiquidCAN.tex +++ b/LiquidCAN.tex @@ -90,7 +90,7 @@ \vspace{1cm} -{\large Version 1.1} +{\large Version 1.2} \vspace{0.5cm} @@ -114,6 +114,7 @@ \section*{Version History} 0.3 & 2026-01-05 & Fixed final bugs before initial release & Raffael Rott \\ 1.0 & 2026-01-11 & Fixed minor typos. & Raffael Rott \\ 1.1 & 2026-01-25 & Fixed total sizes of structs. & Fabian Weichselbaum \\ +1.2 & 2026-02-09 & Fixed inconsistant field value lengths \& typos & Raffael Rott\\ % Make sure to change the version on the first page \bottomrule \end{longtable} diff --git a/sections/09_data_structures.tex b/sections/09_data_structures.tex index 681b20e..cb5362b 100644 --- a/sections/09_data_structures.tex +++ b/sections/09_data_structures.tex @@ -265,9 +265,9 @@ \subsection{FieldGetReq}\label{struct:FieldGetReq} \begin{center} \begin{tabular}{l c l} \toprule -Field & Bits/Bytes & Description \\ +Field & Bytes & Description \\ \midrule -field\_id & 1 Byte & Field identifier \\ +field\_id & 1 & Field identifier \\ \bottomrule \end{tabular} \end{center} @@ -289,9 +289,9 @@ \subsection{FieldGetRes}\label{struct:FieldGetRes} Field & Bytes & Description \\ \midrule field\_id & 1 & Field identifier \\ -value & 62 & Field value \\ +value & 61 & Field value \\ \midrule -\textbf{Total} & \textbf{63} & \\ +\textbf{Total} & \textbf{62} & \\ \bottomrule \end{tabular} \end{center} @@ -301,7 +301,7 @@ \subsection{FieldGetRes}\label{struct:FieldGetRes} \begin{lstlisting}[caption={FieldGetRes struct}] typedef struct __attribute__((packed)) { uint8_t field_id; - uint8_t value[62]; + uint8_t value[61]; } field_get_res_t; \end{lstlisting} @@ -394,7 +394,7 @@ \subsection{DataType}\label{subsec:DataType} 4 & \texttt{UInt32} & 32-bit unsigned integer \\ 5 & \texttt{UInt16} & 16-bit unsigned integer \\ 6 & \texttt{UInt8} & 8-bit unsigned integer \\ -7 & \texttt{Boolean} & 1-bit boolean value \\ +7 & \texttt{Boolean} & 8-bit value: non 0 value equals true \\ \bottomrule \end{tabular}