diff options
Diffstat (limited to 'images')
-rw-r--r-- | images/IP-Header_eng.pdf | bin | 12311 -> 11359 bytes | |||
-rw-r--r-- | images/IP-Header_eng.tex | 45 | ||||
-rw-r--r-- | images/esp+arduino-sdks.pgf | 36 | ||||
-rw-r--r-- | images/esp32-block-diagram.pdf | bin | 0 -> 183301 bytes | |||
-rw-r--r-- | images/esp32_datasheet_en.pdf | bin | 0 -> 892800 bytes | |||
-rw-r--r-- | images/esp8266ex-block-diagram.pdf | bin | 0 -> 19611 bytes | |||
-rw-r--r-- | images/esp8266ex_datasheet_en.pdf | bin | 0 -> 642062 bytes | |||
-rwxr-xr-x | images/pp-template | 12 | ||||
-rw-r--r-- | images/qtikz-template.pgs | 31 |
9 files changed, 103 insertions, 21 deletions
diff --git a/images/IP-Header_eng.pdf b/images/IP-Header_eng.pdf Binary files differindex 9086add..251c3a5 100644 --- a/images/IP-Header_eng.pdf +++ b/images/IP-Header_eng.pdf diff --git a/images/IP-Header_eng.tex b/images/IP-Header_eng.tex index fad20c1..8de7312 100644 --- a/images/IP-Header_eng.tex +++ b/images/IP-Header_eng.tex @@ -1,35 +1,39 @@ -\documentclass[preview]{standalone} -\usepackage{blindtext} -\usepackage[utf8]{inputenc} -\usepackage{tikz} -\usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,fit,positioning,shapes.symbols,chains,shapes.geometric,shapes.arrows,calc} +\iffalse +Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. +\fi -\usepackage{fontspec} -\setsansfont{Verdana} - -\begin{document} - \begin{tikzpicture}[scale=0.47] - \sffamily - \foreach \x in {0,...,31} +\begin{tikzpicture}[scale=0.30] + \sffamily + \foreach \x in {0,7,8,15,16,31} % {0,...,32} \node at (\x+0.5,20.5) {\scriptsize \x}; % \foreach \x in {0,...,31} % \node at (\x+0.5,13.5) {\scriptsize \x}; - \foreach \x in {0,...,32} + \foreach \x in {0,8,16,32} % {0,...,32} \draw[thick] (\x,20) -- (\x,21); + \foreach \x in {0,...,32} + \draw[thick] (\x,14) -- (\x,20); % \foreach \x in {0,...,32} % \draw[thick] (\x,13) -- (\x,14); - \node[thick] (bit1) at (-0.5,20.5) {\scriptsize bit}; -% \node[thick] (bit2) at (-0.5,13.5) {\scriptsize bit}; - \draw [<->, thick] (-0.5, 19.9) -- (-0.5,15.1); + \node[thick] (bit1) at (-0.6,20.5) {\scriptsize bit}; +% \node[thick] (bit2) at (-0.6,13.5) {\scriptsize bit}; + +\iffalse + \draw [<->, thick] (-0.6, 19.9) -- (-0.6,15.1); \draw [thick] (-1, 20) -- (-0.1,20); \draw [thick] (-1, 15) -- (-0.1,15); \node[fill=white] at (-1.1,17.5) {\tiny 20 bytes}; +\fi + \foreach \y/\v in {0,4,8,12,16,20} + \node at (-0.6,{19.5-(\v / 4)}) {\scriptsize \v}; + \filldraw[thick,draw=black, fill=white] (0,20) rectangle (4,19); \node (mode) at (2,19.5) {\scriptsize version}; - \filldraw[thick,draw=black, fill=white] (4,20) rectangle (8,19); \node (mode) at (6,19.68) {\tiny header length};\node (mode) at (6,19.25) {\tiny with options}; - \draw[thick, draw=black, fill=white] (8,20) rectangle (16,19); \node (stratum) at (11.5,19.5) {\scriptsize type of service (TOS)}; + \filldraw[thick,draw=black, fill=white] (4,20) rectangle (8,19); \node (mode) at (6,19.5) {\scriptsize len}; +% \draw[thick, draw=black, fill=white] (8,20) rectangle (16,19); \node (stratum) at (11.5,19.5) {\scriptsize type of service (TOS)}; + \draw[thick, draw=black, fill=white] (8,20) rectangle (16,19); \node (stratum) at (11.5,19.5) {\scriptsize TOS}; \draw[thick, draw=black, fill=white] (16,20) rectangle (32,19); \node (li) at (24,19.5) {\scriptsize full length of packet}; \filldraw[thick,draw=black, fill=white] (0,19) rectangle (16,18); \node (mode) at (8,18.5) {\scriptsize identification}; - \draw[thick, draw=black] (16,19) rectangle (19,18); \filldraw[white] (16.5,18.43) rectangle (19,18.88); \node [](li) at (17.5,18.67) {\tiny IP flags}; \node at (16.5,18.25) {\tiny x};\node at (17.5,18.25) {\tiny D};\node at (18.5,18.25) {\tiny M}; +% \draw[thick, draw=black] (16,19) rectangle (19,18); \filldraw[white] (16.5,18.43) rectangle (19,18.88); \node [](li) at (17.5,18.67) {\tiny IP flags}; \node at (16.5,18.25) {\tiny x};\node at (17.5,18.25) {\tiny D};\node at (18.5,18.25) {\tiny M}; + \draw[thick, draw=black] (16,19) rectangle (19,18); \filldraw[white] (16.5,18.43) rectangle (19,18.88); \node at (16.5,18.5) {\scriptsize X};\node at (17.5,18.5) {\scriptsize D};\node at (18.5,18.5) {\scriptsize M}; \draw[thick, draw=black, fill=white] (19,19) rectangle (32,18); \node (li) at (24,18.5) {\scriptsize fragment Offset}; \filldraw[thick,draw=black, fill=white] (0,18) rectangle (8,17); \node (mode) at (4,17.5) {\scriptsize time to live (TTL)}; \draw[thick, draw=black, fill=white] (8,18) rectangle (16,17); \node (stratum) at (11.5,17.5) {\scriptsize protocol}; @@ -40,5 +44,4 @@ \draw[fill=white, draw=white] (31.4,14.96) rectangle (31.6,14.05); \draw[thick] (31.5,14.97) decorate [decoration=saw] { -- (31.5,14.02)}; \node (mode) at (16,14.5) {\scriptsize IP options (variable length)}; - \end{tikzpicture} -\end{document} +\end{tikzpicture} diff --git a/images/esp+arduino-sdks.pgf b/images/esp+arduino-sdks.pgf new file mode 100644 index 0000000..c351492 --- /dev/null +++ b/images/esp+arduino-sdks.pgf @@ -0,0 +1,36 @@ +\begin{tikzpicture} + +\node (rect_hw) [rectangle, draw, anchor=south west, + minimum width=6 cm, minimum height=1 cm, + label={[anchor=south]center:ESP8266 Hardware}] at (0, 0) {}; + +\draw[thick] (-0.5, 1.25) -- (6.5, 1.25) ; + +\node [rectangle, draw, anchor=south west, + minimum width=4 cm, minimum height=1 cm, + label={[anchor=south]center:ESP SDK}] at (0, 1.5) {}; + +\node [rectangle, draw, anchor=south west, + minimum width=2 cm, minimum height=1 cm, + label={[align=center, text width=1cm]center:GCC libc}] at (4, 1.5) {}; + +\node [rectangle, draw, anchor=south west, + minimum width=6 cm, minimum height=1 cm, + label={[anchor=south]center:ESP interface}] at (0, 2.5) {}; + +\node [rectangle, draw, anchor=south west, + minimum width=2 cm, minimum height=1 cm, + label={[align=center, text width= 2cm]center:Generic Arduino}] at (0, 3.5) {}; + +\node [rectangle, draw, anchor=south west, + minimum width=2 cm, minimum height=1 cm, + label={[align=center, text width= 2cm]center:Ethernet}] at (2, 3.5) {}; + +\node [rectangle, draw, anchor=south west, + minimum width=2 cm, minimum height=1 cm, + label={[align=center, text width= 2cm]center:ESP APIs}] at (4, 3.5) {}; + +\draw [decorate, decoration={brace,amplitude=5pt, raise=-4pt}] (-0.5,2.5) -- (-0.5,4.5) node [black,midway,rotate=90, above] {Arduino}; + + +\end{tikzpicture} diff --git a/images/esp32-block-diagram.pdf b/images/esp32-block-diagram.pdf Binary files differnew file mode 100644 index 0000000..27cc1f9 --- /dev/null +++ b/images/esp32-block-diagram.pdf diff --git a/images/esp32_datasheet_en.pdf b/images/esp32_datasheet_en.pdf Binary files differnew file mode 100644 index 0000000..4b18b52 --- /dev/null +++ b/images/esp32_datasheet_en.pdf diff --git a/images/esp8266ex-block-diagram.pdf b/images/esp8266ex-block-diagram.pdf Binary files differnew file mode 100644 index 0000000..19726c7 --- /dev/null +++ b/images/esp8266ex-block-diagram.pdf diff --git a/images/esp8266ex_datasheet_en.pdf b/images/esp8266ex_datasheet_en.pdf Binary files differnew file mode 100644 index 0000000..ff463f1 --- /dev/null +++ b/images/esp8266ex_datasheet_en.pdf diff --git a/images/pp-template b/images/pp-template new file mode 100755 index 0000000..33fa981 --- /dev/null +++ b/images/pp-template @@ -0,0 +1,12 @@ +#!/bin/bash +echo '\documentclass[preview]{standalone} +\usepackage{blindtext} +\usepackage[utf8]{inputenc} +\usepackage{tikz} +\usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,fit,positioning,shapes.symbols,chains,shapes.geometric,shapes.arrows,calc} + +\usepackage{fontspec} +\setsansfont{Verdana} +\begin{document}' +cat - +echo '\end{document}' diff --git a/images/qtikz-template.pgs b/images/qtikz-template.pgs new file mode 100644 index 0000000..34582f2 --- /dev/null +++ b/images/qtikz-template.pgs @@ -0,0 +1,31 @@ +\documentclass[preview]{standalone} +\usepackage{blindtext} +\usepackage[utf8]{inputenc} + +\usepackage{fontspec} +\setsansfont{Verdana} + +\usepackage{tikz} + +\usetikzlibrary{arrows, +decorations, +decorations.pathmorphing, +decorations.pathreplacing, +decorations.text, +backgrounds, +fit, +positioning, +shapes.symbols, +chains, +shapes.geometric, +shapes.arrows, +angles, +quotes, +calc} + +\begin{document} + +<> + +\end{document} + |