summaryrefslogtreecommitdiff
path: root/text
diff options
context:
space:
mode:
Diffstat (limited to 'text')
-rw-r--r--text/cile.tex7
-rw-r--r--text/literatura.bib135
-rw-r--r--text/literatura.tex410
-rw-r--r--text/osnova.tex209
-rw-r--r--text/prilohy.tex1
-rw-r--r--text/reseni.tex445
-rw-r--r--text/rozsireny_abstrakt.tex24
-rw-r--r--text/sablona/prilohy.tex259
-rw-r--r--text/teorie.tex174
-rw-r--r--text/uvod.tex17
-rw-r--r--text/vysledky.tex86
-rw-r--r--text/zaver.tex15
-rw-r--r--text/zkratky.tex67
13 files changed, 1849 insertions, 0 deletions
diff --git a/text/cile.tex b/text/cile.tex
new file mode 100644
index 0000000..d158d6d
--- /dev/null
+++ b/text/cile.tex
@@ -0,0 +1,7 @@
+\chapter*{Cíle práce}
+\phantomsection
+\addcontentsline{toc}{chapter}{Cíle práce}
+
+Konkrétní specifikace cílů, které má autor v~práci vyřešit.
+Tato kapitola je \emph{volitelná} -- pokud váš studijní program nevyžaduje zvláštní kapitolu s cíli,
+cíle specifikujte v~rámci Úvodu.
diff --git a/text/literatura.bib b/text/literatura.bib
new file mode 100644
index 0000000..d17321f
--- /dev/null
+++ b/text/literatura.bib
@@ -0,0 +1,135 @@
+% This file was created with JabRef 2.10b2.
+% Encoding: UTF8
+
+
+% notworking
+@Book{ltetst,
+ publisher = {John Wiley \& Sons, Ltd},
+ isbn = {9781119714712},
+ title = {5G New Radio (NR) and the 5G Core},
+ booktitle = {From GSM to LTE‐Advanced Pro and 5G},
+ chapter = {6},
+ pages = {379-463},
+ doi = {https://doi.org/10.1002/9781119714712.ch6},
+ url = {https://onlinelibrary.wiley.com/doi/abs/10.1002/9781119714712.ch6},
+ eprint = {https://onlinelibrary.wiley.com/doi/pdf/10.1002/9781119714712.ch6},
+ year = {2021},
+ keywords = {5G air interface, 5G core network protocol, 5G New Radio, 5G standalone network, Long Term Evolution, Non-Standalone network},
+ abstract = {Summary This chapter focuses on features that have been deployed in live networks so far and on those that are likely to be rolled out in the near future. It provides an overview of the 5G New Radio (NR) Non-Standalone network architecture, the new and updated radio access network and core network elements, the parts of the new 5G NR air interface that are used for non-standalone operation, and the mobility management operations to add 5G NR cells to an existing Long Term Evolution connection. This is followed by a description of the 5G standalone (SA) network architecture and an introduction to additional 5G air interface and signaling procedures required for 5G SA operation. The chapter discusses future 5G functionalities that have been defined for use cases other than broadband public Internet access. Devices supporting the new 5G core network protocol could then exclusively communicate over 5G.}
+}
+
+%@Manual{sr02/2009,
+% title = {Úprava, odevzdávání a zveřejňování vysokoškolských kva\-li\-fi\-kač\-ních prací na VUT v~Brně},
+% OPTkey = {•},
+% OPTauthor = {•},
+% organization = {VUT v Brně},
+% address = {Brno},
+% OPTedition = {•},
+% OPTmonth = {•},
+% year = {2009},
+% note = {Směrnice rektora č.\,2/2009},
+% annote = {[online]},
+% URL = {https://www.vutbr.cz/uredni-deska/vnitrni-predpisy-a-dokumenty/smernice-rektora-f34920/}
+%}
+%
+%@Misc{boldis,
+% OPTkey = {•},
+% author = {P. Boldiš},
+% title = {Bibliografické citace dokumentů podle {ČSN} {ISO} 690 a {ČSN} ISO 690-2},
+% howpublished = {[online]},
+% month = {11},
+% year = {2004},
+% OPTnote = {•},
+% OPTannote = {•},
+% URL = {<http://www.boldis.cz/citace/citace.html>},
+%}
+%
+%%% Příklad citace článku v časopise
+%@Article{Smekal2002,
+% Title = {Aktuální trendy architektury signálových procesorů},
+% Author = {Zdeněk Smékal},
+% Journal = {Sdělovací technika},
+% Year = {2002},
+% Number = {4,5},
+% Volume = {2002},
+% Pages = {3--6,16--18},
+%
+% ISBN = {0036-9942},
+%}
+%
+%%% Příklad citace knihy
+%@Book{Uhl'ivr1995,
+% Title = {Číslicové zpracování signálů},
+% Author = {J. Uhl\'{\i}\v{r} and P. Sovka},
+% Publisher = {Vydavatelství ČVUT},
+% Year = {1995},
+%
+% Address = {Praha},
+% Edition = {1},
+%
+% ISBN = {80-01-01303-0},
+% Pages = {313}
+%}
+%
+%%% Příklad citace knihy
+%@Book{Psutka2006,
+% Title = {Mluvíme s počítačem česky},
+% Author = {J. Psutka and L. M\"{u}ller and J. Matoušek and V. Radová},
+% Publisher = {Academia},
+% Year = {2006},
+%
+% Address = {Praha},
+% Edition = {1},
+%
+% ISBN = {80-200-1309-1},
+% Pages = {752}
+%}
+%
+%%% Příklad citace doktorské práce
+%@PhdThesis{Plsek2004,
+% Title = {Extrakce řečového signálu z~hluku pozadí ve spektrální oblasti},
+% Author = {Martin Plšek},
+% School = {Vysoké učení technické v Brně. Fakulta elektrotechniky a komunikačních technologií},
+% Year = {2004},
+%}
+%
+%%% Příklad citace příspěvku ve sborníku konference
+%@InProceedings{Rajmic2005,
+% Title = {Method for Real-time Signal Processing via Wavelet Transform},
+% Author = {Pavel Rajmic},
+% Booktitle = {Proceedings of the 3th International Conference on Non-Linear Speech Processing},
+% Year = {2005},
+%
+% Address = {Barcelona},
+% Pages = {214-223},
+% Publisher = {Escola Universitaria Politecnica de Mataró},
+%
+% ISBN = {84-256-1365-5},
+%}
+%
+%@Manual{6416_dsk_techref,
+% Title = {TMS320C6416T DSK: Technical Reference},
+% Month = {November},
+% Organization = {Spectrum Digital},
+% Year = {2004},
+%
+% Url = {http://c6000.spectrumdigital.com/dsk6416/V3/docs/dsk6416_TechRef.pdf}
+%}
+%
+%%% Příklad citace manuálu
+%@Manual{spru234c,
+% Title = {TMS320C6000 DSP Enhanced Direct Memory Access (EDMA) Controller Reference Guide},
+% Month = {November},
+% Note = {spru234c},
+% Organization = {Texas Instruments Inc.},
+% Year = {2006},
+%}
+%
+%%% Příklad citace technické zprávy
+%@TechReport{Coulson1993,
+% Title = {Improvement in microphone performance through using a microphone array.},
+% Author = {A. J. Coulson and R. G. Vaughan},
+% Institution = {Industrial Research Ltd},
+% Year = {1993},
+% Month = {June},
+%}
diff --git a/text/literatura.tex b/text/literatura.tex
new file mode 100644
index 0000000..ff01490
--- /dev/null
+++ b/text/literatura.tex
@@ -0,0 +1,410 @@
+% Pro sazbu seznamu literatury použijte jednu z následujících možností
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%1) Seznam citací definovaný přímo pomocí prostředí literatura / thebibliography
+
+\nobreak
+\begin{thebibliography}{99}
+
+\bibitem{ltebook}
+ SAUTER, Martin.
+ \emph{From GSM to LTE-advanced pro and 5G: an introduction to mobile networks and mobile broadband.}
+ Third edition. Hoboken, NJ, USA: Wiley, 2017. ISBN 978-1-119-34686-9.
+
+\bibitem{3gppurllc}
+ 3GPP.
+ \emph{Ultra Reliable and Low Latency Communications [online]}
+ 2022, 2023-1-2 [cited~on~2023-12-27].
+ Avaible at:
+ {\small \url{https://www.3gpp.org/technologies/urlcc-2022} }
+
+
+\bibitem{nokia49g}
+ NOKIA.
+ \emph{The path to 5G: New services with 4.5G, 4.5G Pro and 4.9G}
+ 2016
+ Avaible at:
+ {\small \url{https://web.archive.org/web/20170113135222/http://resources.alcatel-lucent.com/asset/200173} }
+
+\bibitem{5gnruk}
+ 5G.co.uk.
+ \emph{What is 5G New Radio (5G NR) [online]}
+ 2022 [cited~on~2023-12-27]
+ Avaible at:
+ {\small \url{https://5g.co.uk/guides/what-is-5g-new-radio/} }
+
+\bibitem{3gppmulticast}
+ 3GPP.
+ \emph{What is 5G New Radio (5G NR) [online]}
+ 2023 [cited~on~2023-12-27]
+ Avaible at:
+ {\small \url{https://www.3gpp.org/technologies/broadcast-multicast1} }
+
+\bibitem{rohdenbiot}
+ ROHDE-SCHWARZ.
+ \emph{Narrowband Internet of Things Whitepaper [pdf]}
+ ,2016
+ Avaible at:
+ {\small \url{https://cdn.rohde-schwarz.com/pws/dl_downloads/dl_application/application_notes/1ma266/1MA266_0e_NB_IoT.pdf} }
+
+\bibitem{erf}
+ Everything RF.
+ \emph{What is LTE Cat-M2? [online]}
+ 2023-3-12 [cited~on~2023-12-27]
+ Avaible at:
+ {\small \url{https://www.everythingrf.com/community/what-is-lte-cat-m2} }
+
+\bibitem{o2catm}
+ O2.
+ \emph{O2 spustilo síť Cat-M. Pokrytí dosahuje 98,5 \% území České republiky [online]}
+ 2023-12-18
+ Avaible at:
+ {\small \url{https://www.o2.cz/spolecnost/tiskove-centrum/o2-spustilo-sit-cat-m-pokryti-dosahuje-98-5-uzemi-ceske-republiky} }
+
+\bibitem{vodafonemap}
+ Vodafone.
+ \emph{Mapa pokrytí [online]}
+ [cited~on~2023-12-27]
+ Avaible at:
+ {\small \url{https://www.vodafone.cz/mapa-pokryti/} }
+
+\bibitem{narowbandcoverage}
+ NARROWBAND.
+ \emph{NB-IoT coverage [online]}
+ [cited~on~2023-12-27]
+ Avaible at:
+ {\small \url{https://www.narrowband.com/nb-iot-coverage} }
+
+\bibitem{5gamericasurllc}
+ 5G Americas.
+ \emph{NEW SERVICES \& APPLICATIONS WITH 5G ULTRA-RELIABLE LOW LATENCY COMMUNICATIONS [pdf]}
+ 2018, 2019-9
+ Avaible at:
+ {\small \url{https://5gamericas.org/wp-content/uploads/2019/07/5G_Americas_URLLLC_White_Paper_Final__updateJW.pdf} }
+
+\bibitem{5gamericav2v}
+ 5G Americas.
+ \emph{The Road Ahead For 5G Cellular Vehicle-to-Everything [online]}
+ 2021-9-15
+ Avaible at:
+ {\small \url{https://www.5gamericas.org/the-road-ahead-for-5g-cellular-vehicle-to-everything/} }
+
+\bibitem{nrf91desc}
+ Nordic Semiconductor.
+ \emph{nRF9160 cellular IoT System-in-Package Product-Brief [pdf]}
+ 2019
+ Avaible at:
+ {\small \url{https://www.nordicsemi.com/-/media/Software-and-other-downloads/Product-Briefs/nRF9160-SiP-product-brief.pdf} }
+
+\bibitem{rm520ndatasheet}
+ Quectel.
+ \emph{RM520N-GL Hardware Design [pdf]}
+ 2022-07-15
+ Avaible at:
+ {\small \url{https://forums.quectel.com/uploads/short-url/1zkjPRnxF5BZ2woox386baCZx4g.pdf} }
+
+\bibitem{nrf9160cert}
+ Nordic semiconductor.
+ \emph{nRF91 Series certifications [online]}
+ [cited~on~2023-12-27]
+ Avaible at:
+ {\small \url{https://www.nordicsemi.com/Products/Wireless/Low-power-cellular-IoT/nRF91-Series-certifications/nRF9160-Global-and-regulatory} }
+
+\bibitem{armtrustzone}
+ ARM Ltd.
+ \emph{TECHNOLOGIES - TrustZone for Cortex-M [online]}
+ [cited~on~2023-12-27]
+ Avaible at:
+ {\small \url{https://www.arm.com/technologies/trustzone-for-cortex-m} }
+
+\bibitem{nrf91dkdesc}
+ Nordic Semiconductor.
+ \emph{nRF9160 DK Development kit [online]}
+ [cited~on~2023-12-27]
+ Avaible at:
+ {\small \url{https://www.nordicsemi.com/Products/Development-hardware/nrf9160-dk} }
+
+\bibitem{thingydesc}.
+ Nordic Semiconductor.
+ \emph{Nordic Thingy:91 Cellular IoT prototyping platform [online]}
+ [cited~on~2023-12-27]
+ Avaible at:
+ { \small \url{https://www.nordicsemi.com/Products/Development-hardware/Nordic-Thingy-91} }
+
+\bibitem{nimbelinkdesc}.
+ Airgain.
+ \emph{NimbeLink Nano Global LTE-M [online]}
+ [cited~on~2023-12-27]
+ Avaible at:
+ { \small \url{https://www.airgain.com/products/4g-lte-m-skywire-nano/} }
+
+\bibitem{ln60desc}.
+ Fanstel.
+ \emph{LN60E, LTE-M, NB-IoT module, M.2 connector [online]}
+ [cited~on~2023-12-27]
+ Avaible at:
+ { \small \url{https://www.fanstel.com/buy/bt840f-v1-nrf52840-bluetooth-5-thread-zigbee-module-by45z-8ypje} }
+
+
+\bibitem{pebbledesc}
+ IoTeX.
+ \emph{Pebble Tracker A secure, battery-operated, blockchain-ready, cellular-IoT prototyping platform based on the nRF91 [online]}
+ 2022 [cited~on~2023-12-27]
+ Avaible at:
+ { \small \url{https://www.crowdsupply.com/iotex/pebble-tracker} }
+
+\bibitem{icarusdesc}.
+ Actinius.
+ \emph{Icarus SoM [online]}
+ [cited~on~2023-12-27]
+ Avaible at:
+ { \small \url{https://www.actinius.com/icarus-som} }
+
+\bibitem{icarusbeedesc}.
+ Actinius.
+ \emph{Icarus Bee (nRF9160) [online]}
+ [cited~on~2023-12-27]
+ Avaible at:
+ { \small \url{https://www.actinius.com/icarus-bee} }
+
+\bibitem{icarusiotdesc}.
+ Actinius.
+ \emph{Icarus IoT Board v2 [online]}
+ [cited~on~2023-12-27]
+ Avaible at:
+ { \small \url{https://www.actinius.com/icarus} }
+
+\bibitem{featherdesc}.
+ CircuitDojo.
+ \emph{nRF9160 Feather (v5) [online]}
+ [cited~on~2023-12-27]
+ Avaible at:
+ { \small \url{https://www.circuitdojo.com/products/nrf9160-feather} }
+
+\bibitem{sparkfundesc}.
+ SparkFun.
+ \emph{SparkFun Thing Plus - nRF9160 [online]}
+ [cited~on~2023-12-27]
+ Avaible at:
+ { \small \url{https://www.sparkfun.com/products/17354} }
+
+\bibitem{connexiodesc}.
+ Conexio.
+ \emph{Conexio Stratus - A tiny, powerful, versatile cellular-IoT prototyping platform with out-of-the-box connectivity [online]}
+ 2022, [cited~on~2023-12-27]
+ Avaible at:
+ { \small \url{https://www.crowdsupply.com/conexio/stratus} }
+
+\bibitem{waveshare1}
+ Waveshare.
+ \emph{Quectel RM520N-GL IoT 5G Global Band Module, 5G Sub-6G Module, M.2 Form Factor With 3GPP 5G Release 16 Specification. [online]}
+ [cited~on~2023-12-27]
+ Avaible at:
+ [https://www.waveshare.com/rm520n-gl.htm]
+
+\bibitem{waveshare2}
+ Waveshare.
+ \emph{Wiki - RM520N-GL [online]}
+ [cited~on~2023-12-27]
+ Avaible at:
+ [https://www.waveshare.com/wiki/RM520N-GL]
+
+\bibitem{rmdongle}
+ Waveshare.
+ \emph{5G DONGLE Module, quad antennas, USB3.1 port, Aluminum Alloy Heatsink, M.2 Key B Interface, Options For 5G Module [online]}
+ [cited~on~2023-12-27]
+ Avaible at:
+ [https://www.waveshare.com/usb-to-m.2-b-key.htm]
+
+\bibitem{rmpi}
+ Waveshare.
+ \emph{RM520N-GL 5G HAT for Raspberry Pi with Case, Quad Antennas LTE-A, Global Band, GNSS Positioning, Support 3GPP 16, 4G/3G [online]}
+ [cited~on~2023-12-27]
+ Avaible at:
+ [https://www.waveshare.com/rm520n-gl-5g-hat-with-case.htm]
+
+\bibitem{rmeth}
+ Waveshare.
+ \emph{5G M.2 to Gigabit Ethernet Converter, 5G M.2 to USB3.1, Aluminum Alloy Case, Wall-Mount Support, Quad Antennas, Options For 5G Module [online]}
+ [cited~on~2023-12-27]
+ Avaible at:
+ [https://www.waveshare.com/5g-m.2-to-gigabit-eth.htm]
+
+\bibitem{rmjet}
+ Waveshare.
+ \emph{5G/4G/3G module designed for Jetson Nano, multi mode multi band, Options for 5G Module [online]}
+ [cited~on~2023-12-27]
+ Avaible at:
+ [https://www.waveshare.com/sim8202g-m2-5g-for-jetson-nano.htm]
+
+
+\bibitem{nrf91datasheet}
+ Nordic Semiconductor.
+ \emph{nRF9160 Product Specification [pdf]}
+ [2021-10]
+ Avaible at:
+ {\small \url{https://cz.mouser.com/datasheet/2/297/nRF9160_PS_v2_1-3074783.pdf} }
+
+\bibitem{nrf91dkbrief}
+ Nordic Semiconductor.
+ \emph{nRF9160 Product brief [pdf]}
+ [2019]
+ Avaible at:
+ {\small \url{https://www.nordicsemi.com/-/media/Software-and-other-downloads/Product-Briefs/nRF9160-DK-product-brief.pdf} }
+
+\bibitem{unilabnews}
+ Brno university of technology.
+ \emph{In the laboratory of 5G networks at BUT it will be possible to easily test devices for smart homes, for example [online]}
+ 2021-05-13
+ [cited~on~2023-12-27]
+ Avaible at:
+ {\small \url{https://www.vut.cz/en/but/news-f19528/vodafoneunilab-in-the-laboratory-of-5g-networks-at-but-it-will-be-possible-to-easily-test-devices-for-smart-homes-for-example-d212534} }
+
+\bibitem{haldatasheet}
+ Texas Instruments.
+ \emph{DRV5033 Digital-Omnipolar-Switch Hall Effect Sensor [pdf]}
+ 2016-9
+ Avaible at:
+ {\small \url{https://www.ti.com/lit/ds/symlink/drv5033.pdf}}
+
+\bibitem{tempdatasheet}
+ Texas Instruments.
+ \emph{LM35 Precision Centigrade Temperature Sensors [pdf]}
+ 2017-12
+ Avaible at:
+ {\small \url{https://www.ti.com/lit/ds/symlink/lm35.pdf}}
+
+\bibitem{pirdatasheet}
+ Hadson Technology.
+ \emph{HC-SR501 Passive Infrared (PIR) Motion Sensor [pdf]}
+ Avaible at:
+ {\small \url{https://www.handsontec.com/dataspecs/SR501\%20Motion\%20Sensor.pdf}}
+
+\bibitem{gasdatasheet}
+ Pololu.
+ \emph{MQ-2 Semiconductor Sensor for Combustible Gas}
+ Avaible at:
+ {\small \url{https://www.pololu.com/file/0J309/MQ2.pdf} }
+
+\bibitem{statista}
+ Statista.
+ \emph{Number of Internet of Things (IoT) connected devices worldwide from 2019 to 2023, with forecasts from 2022 to 2030 [online]}
+ 2023 [cited~on~2023-12-27].
+ {\small \url{https://www.statista.com/statistics/1183457/iot-connected-devices-worldwide/}}
+
+\bibitem{gsmalpwan}
+ GSMA.
+ \emph{Mobile IoT in the 5G future [online]}
+ 2018-4
+ Avaible at:
+ {\small \url{https://www.ericsson.com/4ac64d/assets/local/reports-papers/5g/doc/gsma-5g-mobile-iot.pdf} }
+
+\bibitem{nordiccompare}
+ Nordic semiconductor.
+ \emph{LTE-M vs NB-IoT Field Test: How Distance Affects Power Consumption [online]}
+ 2022-9-8 [cited~on~2023-12-27].
+ Avaible at:
+ { \small \url{https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/ltem-vs-nbiot-field-test-how-distance-affects-power-consumption#mcetoc_1gbn0onnva} }
+
+\bibitem{nrfsdk}
+ Nordic semiconductor.
+ \emph{nRF Connect SDK [online]}
+ 2023 [cited~on~2023-12-27].
+ Avaible at:
+ { \small \url{https://www.nordicsemi.com/Products/Development-tools/nRF-Connect-for-desktop } }
+
+\bibitem{mqtt}
+ MQTT.org
+ \emph{MQTT: The Standard for IoT Messaging [online]}
+ 2022 [cited~on~2023-12-27].
+ Avaible at:
+ {\small \url{mqtt.org} }
+
+\bibitem{nrfmqtt}
+ Nordic Semiconductor.
+ \emph{nRF9160: Simple MQTT [online]}
+ 2022 [cited~on~2023-12-27].
+ Avaible at:
+ {\small \url{https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.2.0/nrf/samples/nrf9160/mqtt_simple/README.html} }
+
+\bibitem{zephyrpp}
+ Zephyr Project.
+ \emph{Zephyr Project Overview [pdf]}
+ 2023
+ Avaible at:
+ {\small \url{https://www.zephyrproject.org/wp-content/uploads/sites/38/2023/09/Zephyr-Overview.pdf} }
+
+%\bibitem{sr72/2017}
+% VYSOKÉ UČENÍ TECHNICKÉ V~BRNĚ.
+% \emph{Směrnice č.\,72/2017, Úprava, odevzdávání a~zveřejňování závěrečných prací.}
+% Online. Brno: VUT v~Brně, 2017.
+% Úplné znění ke dni 11.\,4.\,2022.
+% Dostupné z:\\
+% {\small
+% \url{https://www.vut.cz/uredni-deska/vnitrni-predpisy-a-dokumenty/smernice-c-72-2017-uprava-odevzdavani-a-zverejnovani-zaverecnych-praci-d161410}.}
+% [cit.\ 2023-09-27].
+%
+%\bibitem{CSN_ISO_690-2022}
+% ÚŘAD PRO TECHNICKOU NORMALIZACI, METROLOGII A~STÁTNÍ ZKUŠEBNICTVÍ.
+% ČSN ISO 690:2022 (01 0197), \emph{Informace a dokumentace -- Pravidla pro bibliografické odkazy a~citace informačních zdrojů.}
+% Čtvrté vydání. Praha, 2022.
+%
+%\bibitem{CSN_ISO_7144-1997}
+% ÚŘAD PRO TECHNICKOU NORMALIZACI, METROLOGII A~STÁTNÍ ZKUŠEBNICTVÍ.
+% ČSN ISO 7144 (010161), \emph{Dokumentace -- Formální úprava disertací a~podobných dokumentů.}
+%% 24 stran.
+% Praha, 1997.
+%
+%\bibitem{CSN_ISO_31-11}
+% ÚŘAD PRO TECHNICKOU NORMALIZACI, METROLOGII A~STÁTNÍ ZKUŠEBNICTVÍ.
+% ČSN ISO 31-11, \emph{Veličiny a~jednotky -- část 11: Matematické znaky a~značky používané ve fyzikálních vědách a~v~technice.}
+% Praha, 1999.
+%
+%\bibitem{Farkasova23:CSNISO6902022komentar}
+% FARKAŠOVÁ, B. et al.
+% \emph{Výklad normy ČSN ISO 690:2022 (01 0197) účinné od 1.\,12.\,2022}.
+% Online. První vydání. 2023.
+% Dostupné~z:
+% \url{https://www.citace.com/Vyklad-CSN-ISO-690-2022.pdf}.
+% [cit.\,2023-09-27].
+%
+%\bibitem{pravidla}
+% \emph{Pravidla českého pravopisu}.
+% 1.\ vydání. Olomouc: FIN, 1998.\\
+% \mbox{ISBN 80-86002-40-3}.
+%
+%\bibitem{Walter1999}
+% WALTER, G.\,G. a SHEN, X.
+% \emph{Wavelets and Other Orthogonal Systems}.
+% 2.\,vydání, Boca Raton: Chapman\,\&\,Hall/CRC, 2000.
+% ISBN 1-58488-227-1
+%
+%\bibitem{Svacina1999IEEE}
+% SVAČINA, J.
+% Dispersion Characteristics of Multilayered Slotlines -- a Simple Approach.
+% \emph{IEEE Transactions on Microwave Theory and Techniques}.
+% 1999, vol.\,47, no.\,9, s.\,1826--1829. ISSN 0018-9480.
+%
+%\bibitem{RajmicSysel2002}
+% RAJMIC, P. a SYSEL, P.
+% Wavelet Spectrum Thresholding Rules.
+% In: \emph{Proceedings of the International Conference Research in Telecommunication Technology}.
+% Žilina: Žilina University, 2002. s.\,60--63. ISBN 80-7100-991-1.
+%
+\end{thebibliography}
+%
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%2) Seznam citací pomocí BibTeXu
+% Při použití je nutné v TeXnicCenter ve výstupním profilu aktivovat spouštění BibTeXu po překladu.
+% Definice stylu seznamu
+%\bibliographystyle{unsrturl}
+%% Pro českou sazbu lze použít styl czechiso.bst ze stránek
+%% http://www.fit.vutbr.cz/~martinek/latex/czechiso.tar.gz
+%\bibliographystyle{czechiso}
+%% Vložení souboru se seznamem citací
+%\bibliography{text/literatura}
+%
+%% Následující příkaz je pouze pro ukázku sazby literatury při použití BibTeXu.
+%% Způsobí citaci všech zdrojů v souboru literatura.bib, i když nejsou citovány v textu.
+%\nocite{*}
diff --git a/text/osnova.tex b/text/osnova.tex
new file mode 100644
index 0000000..a4c0c82
--- /dev/null
+++ b/text/osnova.tex
@@ -0,0 +1,209 @@
+\chapter{Communication standards for IoT devices in 4G/5G networks}
+
+\begin{itemize}
+ \item převzít kapitolu 1.1
+ \item doplnit grafy nárůstu IoT zařízení
+\end{itemize}
+
+\section{Established communication standards for IoT devices}
+
+\begin{itemize}
+ \item doplnit GSM, LoRa, Zigbee, Sigfox, Wifi, ESP32, 433 MHz
+\end{itemize}
+
+\section{4G IoT network standards (LPWAN)}
+
+\begin{itemize}
+ \item převzít kapitolu 1.2.
+ \item doplnit kapitolu 1.2.3 Comparison of 4G LPWAN with established technologies
+ \item zrcadlova lambda křivka
+\end{itemize}
+
+https://blog.nordicsemi.com/getconnected/what-is-cellular-iot
+https://www.nordicsemi.com/Products/Wireless/Low-power-cellular-IoT/Development-tools?lang=en\#infotabs
+
+\section{5G IoT network standards}
+
+\begin{itemize}
+ \item převzít kapitolu 1.3, doplnit 5G trojuhelník
+ \item zestručnit kapitolu 1.3.1 URLLC, bez zbytečných detailů
+\end{itemize}
+
+\section{DECT NR+ standard for 5G IoT networks}
+
+\begin{itemize}
+ \item Stary DECT a IP telefony, pasmo, HW vrstva, NR a teorie prenosovych rychlosti
+\end{itemize}
+
+https://www.nordicsemi.com/Products/Wireless/DECT-NR?lang=en\#infotabs
+https://www.nordicsemi.com/Products/Wireless/DECT-NR/Applications?lang=en\#infotabs
+https://www.nordicsemi.com/Products/Wireless/DECT-NR/Related-publications?lang=en\#infotabs
+https://blog.nordicsemi.com/getconnected/could-dect-nr-democratize-massive-iot-in-5g
+https://docs.nordicsemi.com/bundle/ps\_nrf9161/page/dect.html\#ariaid-title4
+
+https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/dect-nr-a-technical-dive-into-non-cellular-5g
+https://blog.nordicsemi.com/getconnected/the-next-step-for-m2m-communications
+
+
+
+\chapter{Nordic Semiconductor nRF91 series SiP for 4G/5G IoT communication}
+
+\begin{itemize}
+ \item důvod, proč vybrán nRF9161
+\end{itemize}
+
+\section{ nRF9161 SiP }
+\begin{itemize}
+ \item popsat funkcionalitu a fíčury
+\end{itemize}
+\section{ nRF9160 and nRF9131}
+\begin{itemize}
+ \item pouze stručně – popsat odlišnosti od nRF9161
+\end{itemize}
+
+\section{ nRF9161 development kit}
+\begin{itemize}
+ \item podrobně popsat nRF9161-DK
+\end{itemize}
+
+\section{ nRF9160 modules and kits}
+\begin{itemize}
+ \item doplnit další kity z internetu, zestručnit do 2 tabulek (modules, kits), sloučit obrázky
+ \begin{itemize}
+ \item https://blog.nordicsemi.com/getconnected/blog-plug-and-play-development-kits-make-cellular-iot-accessible-to-everyone
+ \item Ardesco
+ \end{itemize}
+\end{itemize}
+
+\section{ nRF Connect SDK}
+
+\begin{itemize}
+ \item popis funkcionalit
+\end{itemize}
+
+
+\chapter{Laboratory testing}
+
+\textit{Každá section jak protokol, Co chci změřit, Fyzika - princip toho co měřím, čím to měřím, zapojení měřící techniky, tabulky, graf}
+
+\section{Comunication range}
+
+One of main considaritation when choosing a IoT platfrom is communication range. Main source of attenuation of radio energy caused by electric field dispersion/diffusion of electric field. This effect if best desribed by \ac{FSPL}:
+
+\begin{equation}
+ FSPL=\left( \frac{4 \pi d}{\lambda} \right) ^2
+\end{equation}
+
+Signal attenuation is also dependent on directivity of antennas and loss on connectors and \textbf{electrical wiring}. When antenna and transmition total \textbf{gain} is constant and can be added to equation like this:
+
+\begin{equation}
+ A = D_{ANT} \cdot A_{RX} \cdot \left( \frac{4 \pi d}{\lambda} \right) ^2
+\end{equation}
+
+Where $D_{ANT}$ is directivity of antenna and $A_{RX}$ is total loss from \ac{RF} connector to \ac{LTE} modem. These must be accounted to only when maasuring on directly on LTE modem.
+
+This can be coverted to simplify calculation to decibel form:
+
+\begin{equation}
+ A = D_{ANT}^{[dB]} + A_{RX}^{[dB]} + 10 \cdot \log_{10} \left( \frac{4 \pi d}{\lambda} \right) ^2
+\end{equation}
+
+From this a maximal range can be simulated using \ac{RF} attenuators in laboratory enviroment by converting
+
+\begin{equation}
+ d = A_{max}
+\end{equation}
+
+\newpage
+
+Dosah zásvisí na vzdálenosti, v ideálních podmínkách line of sight Free-space path loss
+
+Popis Free-space path loss, teorie, vzorečky
+
+Technika - variable attenuator,
+
+Tabulka utlum , km ve free-space , teoreticka sila signalu , signal na vstupu podle FW , packet drop / BER
+
+\section{Noise immunity - reliability}
+
+Noise makes signal bad, reciver much sad.
+
+Teorie, vzorecky, Bit error rate, Added white gausian noise
+
+Teoreticke vypocty pro NB-IoT, LTE-M, DECT NR+
+
+Technika zdroj šumu, směšovač,
+
+Pro jednotlivé AWGN a CNR carier noise ratio
+Tabulka utlum , km ve free-space , teoreticka sila signalu , signal na vstupu podle FW , packet drop / BER , spotřeba
+
+\section{Power consumtion}
+
+Globalni oteplovani bad, small battery good
+
+Technika Power Profiler Kit II
+
+\section{Latency}
+
+Pro jednotlivé AWGN a CNR carier noise ratio
+Tabulka utlum , km ve free-space , teoreticka sila signalu , signal na vstupu podle FW , packet drop / BER , spotřeba , latence
+
+Experimentální ověření NB-IoT, LTC-M, DECT NR+:
+\begin{itemize}
+ \item dosah - popis cesty šíření ve volném prostoru, odkaz na teoretický výpočet útlumi vzdáleností ve volném prostředí ve vzduchu. Popis atenuátoru.
+ \item spotřeba - variabilní snižování síly signálu, popis Power Profiler Kit II
+ \item přenosová rychlost - primárně pro DECT, praktická superhurbá přenosová rychlost UDP Byty/(čas od konce do začátku sleep)
+ \item odolnost vůči šumu - VF generátor šumu, teorie
+\end{itemize}
+
+Experimentální ověření DECT NR+ navíc:
+\begin{itemize}
+ \item spolehlivost -
+ \item latence -
+\end{itemize}
+
+Teorie mereni - Náhradní modely prostředí. Degradace signálu.
+
+Popis experimentální instrumentace a sestav.
+
+Spotřeba, packet drop, rychlost, latence závislá na útlumu (popř. intenzita bílého šumu) (vsechny protokoly)
+
+
+\chapter{Field application testing of nRF9161-DK}
+
+Externí interference: mikrovlnka…
+
+\begin{itemize}
+ \item Urban environment (industrial plant, underground spaces, bunkers)
+ \begin{itemize}
+ \item co testovat?
+ \item nějaká aplikační deska pro „průmysl“?
+ \end{itemize}
+ \item Rural environment (open field, forest)
+
+ \item Herd monitoring application (Temp+RH, Accel, Light, GPS)
+ \begin{itemize}
+ \item GPS functionality
+ \item FOTA
+ \item ARM CryptoCell
+ \item ARM TrustZone
+ \end{itemize}
+\end{itemize}
+
+
+
+\chapter{Discussion}
+
+
+\begin{itemize}
+ \item Scénáře použití IoT, vhodnost jednotlivých druhů komunikace pro ně Navrhněte scénáře a možnosti využití 4G/5G komunikace a využívaných standardů (URLLC, LTE-M, NB-IoT) pro průmyslovou IoT komunikaci.
+
+ \item Srovnání experimentálnách výsledků protokolů s teoretickými předpoklady Proveďte detailní měření parametrů. Získané údaje zpracujte a srovnejte s teoretickými předpoklady a jinými v současnosti používanými komunikačními systémy.
+\end{itemize}
+
+
+\chapter{Conclusion}
+
+
+Deadline: 31 May 2024 (2 + 4 + 5 + 4 + 5 weeks)
+max. 100 pages / 20 weeks = min. 5 pages weekly
diff --git a/text/prilohy.tex b/text/prilohy.tex
new file mode 100644
index 0000000..4519ce6
--- /dev/null
+++ b/text/prilohy.tex
@@ -0,0 +1 @@
+% \chapter{Některé příkazy balíčku \texttt{thesis}}
diff --git a/text/reseni.tex b/text/reseni.tex
new file mode 100644
index 0000000..5778e42
--- /dev/null
+++ b/text/reseni.tex
@@ -0,0 +1,445 @@
+\chapter{Communication protocols for IoT devices in 4G/5G mobile networks}
+
+\section{Current situation}
+
+It is estimated that currently (2023/2024) there are two actively connected Internet-of-Things (IoT) devices per each person living on the planet Earth and the number will almost double furthermore until 2030, reaching nearly 30 billion connected IoT devices worldwide\cite{statista}.
+
+At the same time, complexity of the IoT devices rises every year and so is their requirements on the underlying network infrastructure and protocols, originally designed predominantly for completely different mobile applications (text messages and voice / video streaming). Need for new IoT-related protocols started to be prominent with wide-spreading and anticipated new use-cases of IoT devices, for which \ac{GSM} and original \ac{LTE} networks were not originally intended and soon found unsuitable in terms of power efficiency, connection reliability and ability to accommodate billions of small devices with tiny average data rates.
+
+IoT devices today are not only simple single-purpose meteo sensors, but more and more frequently this category includes very complex vehicles and machinery, such as autonomous cars with multiple \ac{RADAR}/\ac{LIDAR} sensors or cooperative industrial robots, needing to communicate with the central command \& control facility and with each other in real time and with very high reliability. On the other hand large widespread of massive quantities of very low power devices in possibly critical application can also be expected. Related requirements on communication data volumes, response latency and network reliability far exceed capacity and technical possibilities of older mobile networks. Larger bandwidths, data speeds and lower latencies brought by 4G and especially 5G mobile networks are necessary for providing the appropriate working space for these new IoT devices.
+
+The necessary communication protocols for 4G and 5G mobile networks are being standardized under an umbrella of \ac{3GPP} - an association of national telecommunication standardization agencies and commercial partners. \ac{3GPP} has agreed upon and released several communication protocols (so-called „releases“) for the new generations of mobile networks, unfortunately with some ambiguities in their numbering and labeling. For example, Long-term evolution (LTE) was first introduced as a 3G technology standard but it later become a 4G standard. LTE was followed by LTE-Advanced labeled as „true 4G“ or 4.5G and LTE-Advanced Pro (LTE-A Pro) that is considered 5G but sometimes it is labeled as 4.9G \cite{nokia49g}.
+
+\section{4G IoT networks (LPWAN)}
+
+%IoT has become a large part of every day life and is now crucial to many both critical and non-critical applications. With planed shutdown of 2G and 3G networks [] it is important to look on protocols that are suposed to replace them and enhance their capabilities.
+
+Low-power wide-area network (LPWAN) protocols are 4G LTE wireless communication technologies that enable long-range transmission among IoT devices. LPWAN protocols are designed to meet the diverse requirements of IoT applications, mainly low power consumption, wide coverage range, capacity for large number of devices, and high reliability \cite{gsmalpwan}.
+
+\subsection{NB-IoT}
+NB-IoT (Narrowband Internet of Things) is a cellular LPWAN standard that was developed by \ac{3GPP} for IoT devices and services in 2016 under \ac{3GPP} Release 13 and updated in 2017 with \ac{3GPP} Release 14 \cite{erf}.
+
+NB-IoT focuses on providing extended coverage, enhanced capacity, reduced complexity, and increased battery life for IoT devices that transmit small amounts of data infrequently \cite{rohdenbiot}.
+
+NB-IoT operates on the licensed spectrum and uses a subset of the LTE bands with peak data rate of 26 kb/s for downlink and 16.9 - 66 kb/s for uplink using Cat NB1. Newer standard of Cat NB2 allows maximum peak rate of 127 kb/s for downlink and 159 kb/s for uplink. NB-IoT uses orthogonal frequency division multiplexing (OFDM) modulation for downlink communication and single carrier frequency division multiple access (SC-FDMA) for uplink communication.
+
+Single NB-IoT communication channel corresponds to a single 180 kHz LTE frequency block \cite{ltebook}. This enables the following operation modes \cite{rohdenbiot}:
+
+\begin{itemize}
+ \item In-band operation - NB-IoT operates on standard LTE frequencies among other types of LTE communication
+ \item Guard band operation - Communication takes place in LTE guard-band without any other LTE communication
+ \item Stand alone operation - A theoretically possible scenario when mass adaption of technology will occur. This mode plans to utilize frequency allocation of current GSM networks.
+\end{itemize}
+
+\begin{figure}[!h]
+ \begin{center}
+ \includegraphics[width=0.9\textwidth]{obrazky/nbiotmodes.png}
+ \end{center}
+ \caption[NB-IoT modes]{NB-IoT modes of operation \cite{rohdenbiot}}
+ \label{fig:nbiotmodes}
+\end{figure}
+
+As of writing this thesis (December 2023) NB-IoT is supported in Czechia by all three national mobile operators. Vodafone is declaring universal coverage across the whole country \cite{vodafonemap}, T-Mobile in selected larger cities and O2 only in Moravian-Silesian region \cite{narowbandcoverage}.
+
+
+
+%NB-IoT is a cellular LPWAN standard that was developed by the 3rd Generation Partnership Project (\ac{3GPP}) for IoT devices and services and published in 2016 with \ac{3GPP} Release 13[] and its updated version in 2017 with \ac{3GPP} Release 14 []. NB-IoT operates on the licensed spectrum and uses a subset of the LTE bands with peak data rate of $26 kb/s$ for downlink and $16.9 \div 66\;kb/s$ for uplink using Cat NB1. Newer standart of Cat NB2 allow maximum peak rate of $127\;kb/s$ for downlink and $159\;kb/s$ for uplink.
+%NB-IoT uses orthogonal frequency division multiplexing (OFDM) modulation for downlink communication and single carrier frequency division multiple access (SC-FDMA) for uplink communication. NB-IoT focuses on providing extended coverage, enhanced capacity, reduced complexity, and increased battery life for IoT devices that transmit small amounts of data infrequently.
+%
+%As of writing this thesis (December 2023) NB-IoT is supported in Czechia by all tree national mobile operators. Vodafone is declaring universal coverage in whole state \cite{vodafonemap}, T-Mobile in selected larger cities and O2 only in Moravian-Silesian region \cite{narowbandcoverage}.
+%
+%\subsubsection{Modes of operation}
+%
+%Single NB-IoT comunication channel correspondes to single 180 kHz LTE frequency block \cite{ltebook}. This enables following operation modes \cite{rohdenbiot}:
+%\begin{itemize}
+% \item In-band operation - NB-IoT operates in standart LTE frequencies among other types of LTE comunication
+% \item Guard band operation - Communication occur in LTE guard-band where no prior LTE communication takes place
+% \item Stand alone operation - A theoretically possible scenaraio when mass adaption of technology will occur. This mode plans to utilizate frequency allocation of current GSM networks
+%\end{itemize}
+
+\subsection{LTE-M}
+
+LTE-M or LTE-MTC (Long-Term Evolution Machine Type Communication) is a second LPWAN protocol specified in \ac{3GPP} Release 12, with improved specification in Releases 13 and 14. Unlike NB-IoT, LTE-M uses more bandwidth (1.4 - 5 MHz) and is capable of higher communication speeds (1 - 4 Mbit/s for downlink and 1 – 7 Mbit/s for uplink). Another advantage of LTE-M over NB-IoT is an ability to function with movable objects (such as cars or drones). Higher bandwidths however lead to greater circuit complexity and possible higher energy consumption related to it \cite{nordiccompare}.
+
+As of writing this thesis (December 2023) LTE-M is covered in Czechia by O2 in 98.5 \% \cite{o2catm} and locally by Vodafone \cite{vodafonemap}.
+
+%LTE-M or LTE-MTC (Long-Term Evolution Machine Type Communication) is second LPWAN protocol specified in \ac{3GPP} release 12 with improved specification in releaes 13 and 14.
+%
+%Unlike NB-IoT LTE-M uses more bandwidth 1.4-5 MHz and is capable of higher comunication speeds (1-4 Mbit/s for downlink and 1-7Mbit/s for uplik depending on version). Another advantage is ability to function with movable objects (eg. cars or drones). Higher bandwidth leads to grater circuit complexity and higher energy consumption related to it.
+%
+%As of writing this thesis (December 2023) LTE-M is coverted in 98.5 \% in Czechina by O2 \cite{o2catm} and mostly by Vodafone \cite{vodafonemap}.
+
+\section{5G IoT networks}
+5G implementation into the mobile networks can be achieved via two methods \cite{5gnruk}:
+
+\begin{itemize}
+ \item NSA (non-stand alone) - 5G features are achieved by adding new RAN (Radio Access Network) to existing 4G LTE core. This approach implements dynamic spectrum sharing and enables rapid deployment of enhanced mobile broadband in customer market without larger changes in existing infrastructure.
+ \item SA (stand alone) - LTE core and RAN are completely replaced with 5G ones. RAN can however still switch back to LTE air interface to ensure backward compatibility with non-5G devices.
+\end{itemize}
+
+In 2018, \ac{3GPP} Release number 15 laid down 5G specification named 5G NR (New Radio). Unlike LTE-A Pro that has just added more features to 4G LTE and operated in LTE standards and channels, 5G NR introduced a new physical layer in air interface \cite{5gnruk}.
+
+5G NR tries to solve three key aspects of wireless technology \cite{5gnruk}:
+
+\begin{itemize}
+ \item eMBB (Enhanced Mobile Broadband): Data-intensive applications needing large bandwidth for primarily traditional end-user demand, like video streaming. This should be achieved by Gigabit LTE, massive MIMO, mmWave technologies, spectrum sharing techniques and advanced channel coding.
+ \item mMTC (Massive Machine Type Communications): Low-power and low-cost applications with small data volumes but potentially large number of these devices in a small footprint. It is built on LTE LPWAN protocols like LTE-M and NB-IoT, making them potentially a core part of 5G.
+ \item URLLC (Ultra-reliable and Low-latency Communication): Mission-critical applications traditionally possible only by direct wire connection, necessary for real-time control of autonomous vehicles and industrial machinery.
+\end{itemize}
+
+As of December 2023, 5G IoT networks are not yet commercially available in Czechia.
+
+%%%%%%
+\subsection{URLLC requirements}
+
+URLLC (Ultra-Reliable and Low-Latency Communication) is a new requirement for 5G networks for providing real-time communication protocols with very low delays and very high levels of reliability. First attempts to address this were introduced in 4G LTE HRLLC (Higher-Reliability and Low-Latency Communication) in \ac{3GPP} release 15 \cite{5gamericasurllc}. Until this point, aspects of latency and reliability were
+dealt in separately and sometimes were in direct contradiction to each other (reliability was achieved with repeated data redundancy, which multiplied latency). Combination of these two aspects is however essential for several critical applications with different requirements, as shown in table \ref{tab:urllc}:
+
+\begin{table}[!h]
+ \begin{center}
+ \small
+ \begin{tabular}{|l|c|c|c|}
+ \hline
+ Scenario & E2E latency [ms] & Reliability [\%] & Data rate [Mbps] \\\hline\hline
+ Discrete automation & 10 & 99.99 & 10 \\\hline
+ Process automation – remote control & 60 & 99.9999 & 100 \\\hline
+ Process automation ‒ monitoring & 60 & 99.9 & 1 \\\hline
+ Process automation ‒ monitoring & 40 & 99.9 & 10 \\\hline
+ Electricity distribution – high voltage & 5 & 99.9999 & 10 \\\hline
+ Intelligent transport systems & 30 & 99.9999 & 10 \\\hline
+ \hline
+ \end{tabular}
+ \end{center}
+ \caption[Performance requirements for URLLC]{Performance Requirements for Low-Latency and High-Reliability Scenarios \cite{5gamericasurllc}}
+ \label{tab:urllc}
+\end{table}
+
+
+\subsection{Latency}
+With such strict latency requirements, as low as 5 ms end-to-end latency, it is necessary to minimize air interface delay (to 1 ms or less). To achieve such low latency, intensive optimization of air data delivery is necessary.
+
+There are several possible approaches that can lead to reduced communication time and latency \cite{5gamericasurllc}:
+
+\begin{itemize}
+ \item Frequent transmission opportunities
+Downlink control channel used to carry scheduling information for data transmission is not usually monitored by end device for power saving reasons. However to reduce the waiting time for delivering the control information, the end device could do this. For device to start uplink transmission, it needs to send a scheduling request (SR) that allocates a specific transmission slot. To minimize the waiting time, the periodicity of the SR resource configuration should reflect latency requirements. This can be further emphasized by flexible schedulling timing mainly in Time Division Dulex (TDD).
+
+ \item Flexible transmission duration
+This aspect is supported in 5G using larger subcarier spacing. This shortens slot duration and gives bigger oportunity for quicker communication establishment.
+
+ \item Grant-free (or configured grant) uplink transmission
+In cases with very low latency demand, grant-free uplink transition, specific periodic uplink resource for device can be arranged. End device in this scenario does not need to wait for scheduling request and at any time it has data it can transmit in this arranged slot without a need for dynamic grant.
+
+\end{itemize}
+
+Air interface is only partially responsible for total end-to-end latency. Remaining latency is caused by core network, internet network and particular server with which the device is communicating. This is to be solved by new concept of Edge computing. Edge computing is a possibility for a mobile operator or another entity to move services from a remote server closer to the device and to execute necessary task right in 5G core network \cite{3gppurllc}.
+
+Another method of lowering transport network latency is to avoid transport network completly. This is experimented in vehicle-to-vehicle (V2V) protocols and in non-IP based communication \cite{5gamericav2v}.
+
+\subsection{URLLC reliability optimization}
+
+In \ac{3GPP} Release 16, redundant transmission for high-reliability communication was introduced \cite{5gamericasurllc}. With this method, user packets are duplicated and simultaneously transferred to the receiver via two disjoint user plane paths. The redundant packets are then eliminated at the receiver side. This further avoids occasional fails in one path propagation and slims probability of exceding the delay requirements. Other changes can be made in 5G core parameters settings, like QoS Monitoring, dynamic division of Packet Delay Budget and enhancements of session continuity \cite{3gppurllc}.
+
+\chapter{IoT communication modules for 4G/5G networks}
+
+\section{Nordic Semiconductor nRF9160}
+
+\begin{figure}[H]
+ \begin{center}
+ \includegraphics[width=0.4\textwidth]{obrazky/nrfchip.png}
+ \end{center}
+ \caption[Nordic nRF9160 SiP]{Nordic nRF9160 SiP\cite{nrf91desc}}
+ \label{fig:sipfront}
+\end{figure}
+
+nRF9160, made by Nordic Semiconductor, is a System-in-Package (SiP) combining multiple integrated circuits into a single LGA package (10x16x1.04 mm in size), functioning as an entire computing system:
+\begin{itemize}
+ \item Application Processor with Arm Cortex-M33 core at 64 MHz, 1 MB flash memory, 256 kB RAM and usual microcontroller peripherials - 4x SPI/UART/I2C, 4x PWM, PDM, I2S, 12-bit ADC @ 200 ksps, 3x timer, 2x RTC, WDT.
+ \item LTE modem (700 – 2000 MHz) operating in the both LPWAN modes: LTE-M (300/375 kbps DL/UL) and NB-IoT (30/60 kbps DL/UL), supporting IPv4/IPv6 internet layer with optional security using TCP/TLS in transport layer and modem firmware upgrades via FOTA (firmware over the air).
+ \item Radio-Frequency Front End (RFFE)
+ \item GNSS receiver
+ \item Power management integrated circuits.
+\end{itemize}
+
+nRF9160 is certified for global operations in multiple LTE bands, as shown in the figure below. For European operations, bands B1, B3, B8, B20 and B28 are available for both NB-IoT and LTE-M modes. Hardware security is strengthened with ARM TrustZone technology protecting against uploading unofficial or malicious firmware. TrustZone also protects from firmware attacks like memory and peripheral spoofing \cite{armtrustzone}. nRF9160 furthermore employs Arm CryptoCell solution optimized for high-performance cryptography for energy-constrained devices.
+
+Both SIM and eSIM are supported for connection and authentication with mobile network operators \cite{nrf91desc}. nRF9160 can be powered from relatively large range of voltages - from 3.0 to 5.5 V, allowing to directly connect Li-ion or Li-Po type batteries or USB-compatible power supplies.
+
+nRF9160 is manufactured in 3 modifications, sharing the same 127-pin LGA package, but differing in LTE modem capabilities, as shown in table \ref{tab:nrfchips} below.
+
+\begin{table}[!h]
+ \begin{center}
+ \small
+ \begin{tabular}{|l|l|}
+ \hline
+ Name & RF features \\ \hline
+ \hline
+ nRF9160-SICA & Only LTE-M \\ \hline
+ nRF9160-SIBA & Only NB-IoT \\ \hline
+ nRF9160-SIAA & LTE-M, NB-IoT and GNSS \\ \hline
+ \end{tabular}
+ \end{center}
+ \caption[nRF9160 product options]{nRF9160 LGA modules options and their limitations. \cite{nrf91datasheet}}
+ \label{tab:nrfchips}
+\end{table}
+
+\subsection{Modules with nRF9160}
+
+There are several modules and development kits available with nRF9160 chipset, originating from Nordic Semiconductor, as well as from other vendors.
+
+\subsubsection{nRF9160 DK}
+
+\begin{figure}[H]
+ \begin{center}
+ \includegraphics[width=0.9\textwidth]{obrazky/nrf9160DKfront.png}
+ \end{center}
+ \caption[Nordic nRF9160DK]{Nordic nRF9160DK front view\cite{nrf91dkdesc}}
+ \label{fig:dkfront}
+\end{figure}
+
+nRF9160 DK is an official pre-certified development kit for nRF9160 made and supported by Nordic Semiconductor. It is equipped with LTE-M/NB-IoT antenna, GNSS antenna, SIM connector, eSIM card from iBasis preloaded with 10 MB data. All peripherial GPIO pins of nRF9160 are available through connectors and headers compatible with Arduino Uno Rev3 form factor, there are also 4 on-board LEDs, 2 buttons and 2 switches connected to the application processor GPIO. The board also includes nRF52840 board controller sharing the peripherials and allowing to build a Bluetooth Low Energy gateway. Powering and communication with PC are arranged via USB (virtual COM) port. Programming and debugging is enabled through the Segger J-Link OB. The nRF9160 DK is supported by a full suite of development software tools by Nordic Semiconductor, free to download and use commercially \cite{nrf91dkdesc}.
+
+\subsubsection{Nordic Thingy:91}
+
+\begin{figure}[H]
+ \begin{center}
+ \includegraphics[width=0.4\textwidth]{obrazky/Thingy91_board.png}
+ \end{center}
+ \caption[Nordic Thisgy:91]{Nordic nRF9160DK front view\cite{thingydesc}}
+ \label{fig:thingy}
+\end{figure}
+
+Nordic Thingy:91, also made by Nordic Semiconductor, is a compact small-factor module used as a rapid prototyping battery-operated platform, containing LTE-M/NB-IoT/GNSS, Bluetooth LE and NFC antennas, User-programmable button and RGB LEDs, environmental sensor for temperature, humidity, air quality and air pressure, plus a color and light sensor, low-power accelerometer and high-g accelerometer, rechargeable Li-Po battery with 1350 mAh capacity
+\cite{thingydesc}.
+
+\subsubsection{NimbeLink Nano Global}
+
+\begin{figure}[H]
+ \begin{center}
+ \includegraphics[width=0.6\textwidth]{obrazky/NimbeLink-Nano.png}
+ \end{center}
+ \caption[NimbeLink Nano Global LTE-M]{NimbeLink Nano Global LTE-M\cite{nimbelinkdesc}}
+ \label{fig:nimbe}
+\end{figure}
+
+NimbeLink Nano Global LTE-M (Skywire Nano Development Kit, NL-SWN-LTE-NRF9160), made by Airgain, is an add-on modem with nRF9160 and two U.FL antenna connectors, attached to a base board NL-SWNDK providing SIM holder, USB powering and distributition of GPIO pins to peripherial headers. The board has been originally certified only for Verizon networks
+\cite{nimbelinkdesc}.
+
+\subsubsection{LN60E}
+
+\begin{figure}[H]
+ \begin{center}
+ \includegraphics[width=0.6\textwidth]{obrazky/LN60E.png}
+ \end{center}
+ \caption[LN60E]{LN60E\cite{ln60desc}}
+ \label{fig:ln60}
+\end{figure}
+
+LN60E is a simple modem provided by Fansel, having a U.FL antenna connector, SIM connector and M.2 card connector for nRF9160 peripherials
+\cite{ln60desc}.
+
+\subsubsection{Pebble Tracker}
+
+\begin{figure}[H]
+ \begin{center}
+ \includegraphics[width=0.6\textwidth]{obrazky/pebble.jpg}
+ \end{center}
+ \caption[Pebble Tracker]{Pebble Tracker\cite{pebbledesc}}
+ \label{fig:}
+\end{figure}
+
+Pebble Tracker, a crowdfunded module made by IoTex, is a battery operated IoT prototyping platform based on a board with nRF9160, Bosch BME680 humidity/pressure/temperature/air quality sensor, ICM-42605 3-axial gyroscope/accelerometer, AMS TSL2572 ambient light sensor, SIM slot, OLED display, in a compact plastic case
+\cite{pebbledesc}
+
+\subsubsection{Icarus SoM}
+
+\begin{figure}[H]
+ \begin{center}
+ \includegraphics[width=0.6\textwidth]{obrazky/icarus-som.png}
+ \end{center}
+ \caption[Icarus SoM]{Icarus SoM\cite{icarusdesc}}
+ \label{fig:icarus}
+\end{figure}
+
+Icarus SoM, made by Actinius, is a simple module with U.FL antenna connectors for GNSS and LTE, eSIM and accelerometer, with spare GPIO pins headed to PCB edge connectors
+\cite{icarusdesc}.
+
+\subsubsection{Icarus Bee}
+
+\begin{figure}[H]
+ \begin{center}
+ \includegraphics[width=0.6\textwidth]{obrazky/icarus-bee.png}
+ \end{center}
+ \caption[Icarus Bee]{Icarus Bee\cite{icarusbeedesc}}
+ \label{fig:icarusbee}
+\end{figure}
+
+Icarus Bee, made by Actinius, expands the above-mentioned Icarus SoM module with a board connecting it to 64 Mbit flash memory, RGB LED, button, SIM connector and GPIO to pin headers
+\cite{icarusbeedesc}.
+
+\subsubsection{Icarus IoT Board v2}
+
+\begin{figure}[H]
+ \begin{center}
+ \includegraphics[width=0.6\textwidth]{obrazky/icarus-iot.png}
+ \end{center}
+ \caption[Icarus IoT]{Icarus IoT Board v2\cite{icarusiotdesc}}
+ \label{fig:icarusiot}
+\end{figure}
+
+Icarus IoT Board v2, made by Actinius, contains nRF9160 chipset on a board with USB connector, U.FL antenna connectors for LTE and GNSS, LiPo charger, eSIM and nano SIM connector, accelerometer and SPI flash memory, with pin headers compatible with Adafruit Feather footprint
+\cite{icarusiotdesc}.
+
+\subsubsection{nRF9160 Feather}
+
+\begin{figure}[H]
+ \begin{center}
+ \includegraphics[width=0.6\textwidth]{obrazky/nrf9160_feather.jpg}
+ \end{center}
+ \caption[nRF9160 Feather]{nRF9160 Feather\cite{featherdesc}}
+ \label{fig:feather}
+\end{figure}
+
+nRF9160 Feather, made by CircuitDojo, is a design with pin headers compatible with Adafruit Feather footprint and a functionality similar to the Icarus IoT Board v2
+\cite{featherdesc}.
+
+\subsubsection{SparkFun Thing Plus nRF9160}
+
+\begin{figure}[H]
+ \begin{center}
+ \includegraphics[width=0.7\textwidth]{obrazky/sparkfun2.jpg}
+ \end{center}
+ \caption[SparkFun Thing Plus nRF9160]{SparkFun Thing Plus nRF9160\cite{sparkfundesc}}
+ \label{}
+\end{figure}
+
+SparkFun Thing Plus nRF9160, made by SparkFun, is another board with Adafruit Feather footprint and similar to Icarus IoT Board v2 described above, however with USB-C connector and providing 4 MB SPI flash memory, LiPo charger, low power RTC, a button, a LED, two U.FL antennas for LTE and GNSS
+\cite{sparkfundesc}.
+
+\subsubsection{Connexio Stratus}
+
+\begin{figure}[H]
+ \begin{center}
+ \includegraphics[width=0.4\textwidth]{obrazky/connexio.jpg}
+ \end{center}
+ \caption[Connexio Stratus]{Connexio Stratus\cite{connexiodesc}}
+ \label{}
+\end{figure}
+
+Connexio Stratus, a crowd-funded development board, has a similar design to the SparkFun board above, adding SIM with 500 MB of mobile data, energy harvesting integrated circuit for Li-ion and NiMH battery charging, LiPo battery connection and charging, 2 push-buttons, 1 LED, SHT4x temperature and humidity sensor, LIS2DH 3-axial accelerometer
+\cite{connexiodesc}.
+
+Comparisons of the main parameters of the most common nRF9160 boards is provided in the following table \ref{tab:nrfmodules} taken from \cite{connexiodesc}:
+\begin{table}[H]
+ \begin{center}
+ \scriptsize
+ \begin{tabular}{|l|l|l|l|l|l|l|l|}
+ \hline
+ & Stratus & Thingy:91 & Icarus & Feather & Pebble Tracker & Thing Plus \\\hline
+ \hline
+ Manufacturer & Conexio & Nordic Semi & Actinius & CircuitDojo & IoTex & Sparkfun \\\hline
+ Total Pins & 33 & 8 & 28 & 28 & None & 28 \\\hline
+ I/O Pins & 26 & 8 & 21 & 20 & None & 20 \\\hline
+ Energy Harvester & Yes & No & No & No & No & No \\\hline
+ Accelerometer & Yes & Yes & Yes & Yes & Yes & Yes \\\hline
+ Environmental Sensors & Yes & Yes & No & No & Yes & No \\\hline
+ Onboard LEDS & 2 & 1 RGB & 1 RGB & 2 & 1 RGB & 2 \\\hline
+ Sensor power gating & Yes & No & No & No & No & No \\\hline
+ Power switch & Yes & Yes & No & No & Yes & No \\\hline
+ Lipo battery charger & Yes & No & Yes & Yes & No & Yes \\\hline
+ USB interface & Yes & Yes & Yes & Yes & Yes & Yes \\\hline
+ Debugging connector & Yes & Yes & No & No & Yes & No \\\hline
+ Prepaid Cellular data & 500 MB & 10 MB & 10 MB & 10 MB & No & 10 MB \\\hline
+ Cellular data validity & 10 years & N/A & N/A & N/A & N/A & N/A \\\hline
+ SMS Data & 250 & No & No & No & No & No \\\hline
+ Dedicated sensor shield & Yes & No & No & No & No & No \\\hline
+ VS Code dev. extension & Yes & Yes & No & No & No & No \\\hline
+ Breadboard compatible & Yes & No & Yes & Yes & No & Yes \\\hline
+ Edge Impulse ready & Yes & Yes & No & No & No & No \\\hline
+ Memfault ready & Yes & No & No & No & No & No \\\hline
+ Golioth ready & Yes & No & No & Yes & No & No \\\hline
+ Open-source & HW+SW & HW+SW & No & HW+SW & No & HW+SW \\\hline
+ Dimension [mm] & 50.8x22.8 & 58.8x58.5 & 50.8x22.8 & 50.8x22.8 & 53x35 & 58.42x22.86 \\\hline
+ Weight & \~5 g & 61 g & \~5 g & \~5 g & 10 g & \~5 g \\\hline
+ Price (USD) & \$159 & \$126.25 & \$115 & \$99 & \$215 & \$129.95 \\\hline
+ \end{tabular}
+ \end{center}
+ \caption[Comparation of nRF9160 modules]{Comparation of nRF9160 main modules}
+ \label{tab:nrfmodules}
+\end{table}
+
+%%-------------------------------------------------------------------------------------------
+
+\section{Quectel RM520N}
+
+\begin{figure}[h!]
+ \begin{center}
+ \includegraphics[width=0.6\textwidth]{obrazky/RM520N.png}
+ \end{center}
+ \caption[Quectel RM520N]{Quectel RM520N series front view\cite{rm520ndatasheet}}
+ \label{}
+\end{figure}
+
+RM520N is a 5G Sub-6GHz IoT module, made by Chinese company Quectel, optimized for IoT and eMBB applications with worldwide spectrum coverage, but capable of also 3G/4G multi-mode operation. The module is made in an M.2 form factor (30 x 52 x 2.3 mm) with 4 antenna connectors and is compatible with \ac{3GPP} Release 16 specification, supporting both 5G NSA (data rates: 3.4 Gbps DL / 550 Mbps UL) and SA modes (data rates: 2.4 Gbps DL / 900 Mbps UL).
+
+The RM520N is an industrial-grade module for industrial and commercial applications. It should cover nearly all the mainstream carriers worldwide and support Qualcomm® IZat location technology Gen9C Lite (GPS, GLONASS, BDS and Galileo). The integrated GNSS receiver simplifies the product design.
+
+It communicates using USB and PCIe drivers provided by Quectel for Windows 7 or higher, Linux, and Android. Main anticipated usage are industrial routers, home gateways, laptops / tablet PCs as well as IoT applications \cite{rm520ndatasheet}.
+
+The module comes in two variants: RM520N-GL with global coverage and RM520N-EU with EU frequency regulatory spectrum.
+
+\subsection{Modules with RM520N}
+
+Development support for RM520N modules is provided by a Chinese company Waveshare \cite{waveshare1}\cite{waveshare2}
+making several hardware kits for rapid development and implementation with RM520N and having a distribution network across EU (e.g. \url{https://rlx.sk/sk/vyhladavanie?controller=search&s=RM520N})
+
+\subsubsection{Dongle}
+\begin{figure}[H]
+ \begin{center}
+ \includegraphics[width=0.6\textwidth]{obrazky/rmdongle.jpg}
+ \end{center}
+ \caption[Waveshare dongle]{Waveshare dongle\cite{rmdongle}}
+ \label{}
+\end{figure}
+
+5G DONGLE module \cite{rmdongle}
+providing simple expansion board with 4 SMA antenna connectors, nano SIM card holder, M2 connector for RM520N, heatsink and USB3.1 port for connecting to PC or Raspberry Pi.
+
+\subsubsection{Raspberry Pi HAT}
+
+\begin{figure}[H]
+ \begin{center}
+ \includegraphics[width=0.6\textwidth]{obrazky/rmpi.jpg}
+ \end{center}
+ \caption[Waveshare dongle]{Waveshare dongle\cite{rmpi}}
+ \label{}
+\end{figure}
+
+5G HAT for Raspberry Pi \cite{rmpi}
+, with a case for Raspberry Pi 3B/4B, onboard USB3.1 and USB-C ports, 2x SIM card slot, 4 antennas, 3A power supply circuit.
+
+\subsubsection{USB/Ethernet converter}
+
+\begin{figure}[H]
+ \begin{center}
+ \includegraphics[width=0.6\textwidth]{obrazky/rmeth.jpg}
+ \end{center}
+ \caption[USB/Ethernet converter]{USB3.1 / Gigabit Ethernet converter to 5G\cite{rmeth}}
+ \label{}
+\end{figure}
+
+USB3.1 / Gigabit Ethernet converter to 5G \cite{rmeth}
+capable to connect RM520N module to its M2 connector header and acting as a 5G communication bridge to PC, industrial control hosts, Raspberry Pi, ethernet switch or router using their USB3.1 or Ethernet connections.
+
+\subsubsection{Module form Jetson Nano}
+
+\begin{figure}[H]
+ \begin{center}
+ \includegraphics[width=0.6\textwidth]{obrazky/rmjet.jpg}
+ \end{center}
+ \caption[Module for Jetson Nano]{Comunication module for Jetson Nano\cite{rmjet}}
+ \label{}
+\end{figure}
+
+Communication module for Jetson Nano \cite{rmjet}
+- interface with M2 connector, USB3.1 port, audio jack and decoder, SIM card slot, 40-pin GPIO extension header for direct connection to Jetson Nano, 4 antennas.
diff --git a/text/rozsireny_abstrakt.tex b/text/rozsireny_abstrakt.tex
new file mode 100644
index 0000000..78887a3
--- /dev/null
+++ b/text/rozsireny_abstrakt.tex
@@ -0,0 +1,24 @@
+% Vysázení stránky s rozšířeným abstraktem
+% (týká se pouze bc. a dp. prací psaných v angličtině, viz Směrnice rektora 72/2017)
+\cleardoublepage
+\noindent
+{\large\sffamily\bfseries\MakeUppercase{Rozšířený abstrakt}}
+%\\
+%Výtah ze směrnice rektora 72/2017:\\
+%\emph{Bakalářská a diplomová práce předložená v angličtině musí obsahovat rozšířený abstrakt v češtině
+%nebo slovenštině (čl. 15). To se netýká studentů, kteří studují studijní program akreditovaný v
+%angličtině.}
+%(čl. 3, par. 7)\\
+%\emph{Nebude-li vnitřní normou stanoveno jinak, doporučuje se rozšířený abstrakt o rozsahu přibližně 3
+%normostrany, který bude obsahovat úvod, popis řešení a shrnutí a~zhodnocení výsledků.}
+%(čl. 15, par. 5)
+
+Tato semestrální práce provádí úvod do problematiky využití 4G a 5G mobilních sítí pro elektronická zařízení v oblasti internetu věcí (IoT).
+
+První část práce se zaměřuje na přehled IoT protokolů pro 4G a 5G mobilní sítě (NB-IoT, LTE-M, URLLC), které jsou speciálně navrženy tak, aby splňovaly požadavky moderních IoT zařízení, jako jsou nízká spotřeba energie, vysoký datový tok, nízké komunikační zpoždění, vysoká spolehlivost a škálovatelnost.
+
+Druhá část práce popisuje dva moderní čipsety použitelné pro konstrukci IoT zařízení s 4G/5G konektivitou - RM520N od firmy Quectel a nRF9160 od firmy Nordic Semiconductor, uvádí jejich základní parametry a přehled dostupných vývojových modulů z různých zdrojů.
+
+Třetí část práce demonstruje praktický příklad využití vývojového modulu nRF9160 DK jako komunikační základny kombinovaného elektronického zabezpečovacího a požárního systému (EZS/EPS) s LPWAN konektivitou, využívajícího 4 senzory (pohybový senzor PIR HC-SR501, senzor hořlavých plynů MQ-2, teplotní senzor LM35, magnetický senzor otevření dveří/okna DRV5033), s lokální signalizací simulovanou 4 LED na vývojovém modulu, možností uživatelské lokální (de)aktivace jednotlivých senzorů pomocí 4 tlačítek a přepínačů na vývojovém modulu a s přenosem poplachových dat pomocí MQTT protokolu na virtuální server simulující pult centrální ochrany (PCO).
+
+Závěrečnou částí semestrální práce je přehled náplně navazujícího bakalářského projektu, který se bude zabývat možnostmi využití 4G/5G mobilních sítí pro průmyslovou IoT komunikaci, s experimentálním měřením parametrů komunikace, jejich srovnáním s teoretickými předpoklady a jinými v současnosti používanými komunikačními systémy.
diff --git a/text/sablona/prilohy.tex b/text/sablona/prilohy.tex
new file mode 100644
index 0000000..bfa021a
--- /dev/null
+++ b/text/sablona/prilohy.tex
@@ -0,0 +1,259 @@
+\chapter{Některé příkazy balíčku \texttt{thesis}}
+
+\section{Příkazy pro sazbu veličin a jednotek}
+
+\begin{table}[!h]
+ \caption[Přehled příkazů]{Přehled příkazů pro matematické prostředí }
+ \begin{center}
+ \small
+ \begin{tabular}{|c|c|c|c|}
+ \hline
+ Příkaz & Příklad & Zdroj příkladu & Význam \\
+ \hline\hline
+ \verb|\textind{...}| & $\beta_\textind{max}$ & \verb|$\beta_\textind{max}$| & textový index \\
+ \hline
+ \verb|\const{...}| & $\const{U}_\textind{in}$ & \verb|$\const{U}_\textind{in}$| & konstantní veličina \\
+ \hline
+ \verb|\var{...}| & $\var{u}_\textind{in}$ & \verb|$\var{u}_\textind{in}$| & proměnná veličina \\
+ \hline
+ \verb|\complex{...}| & $\complex{u}_\textind{in}$ & \verb|$\complex{u}_\textind{in}$| & komplexní veličina \\
+ \hline
+ \verb|\vect{...}| & $\vect{y}$ & \verb|$\vect{y}$| & vektor \\
+ \hline
+ \verb|\mat{...}| & $\mat{Z}$ & \verb|$\mat{Z}$| & matice \\
+ \hline
+ \verb|\unit{...}| & $\unit{kV}$ & \verb|$\unit{kV}$|\quad či\ \, \verb|\unit{kV}| & jednotka \\
+ \hline
+ \end{tabular}
+ \end{center}
+\end{table}
+
+
+
+%\newpage
+\section{Příkazy pro sazbu symbolů}
+
+\begin{itemize}
+ \item
+ \verb|\E|, \verb|\eul| -- sazba Eulerova čísla: $\eul$,
+ \item
+ \verb|\J|, \verb|\jmag|, \verb|\I|, \verb|\imag| -- sazba imaginární jednotky: $\jmag$, $\imag$,
+ \item
+ \verb|\dif| -- sazba diferenciálu: $\dif$,
+ \item
+ \verb|\sinc| -- sazba funkce: $\sinc$,
+ \item
+ \verb|\mikro| -- sazba symbolu mikro stojatým písmem%
+ \footnote{znak pochází z~balíčku \texttt{textcomp}}: $\mikro$,
+ \item
+ \verb|\uppi| -- sazba symbolu $\uppi$
+ (stojaté řecké pí, na rozdíl od \verb|\pi|, což sází $\pi$).
+\end{itemize}
+%
+Všechny symboly jsou určeny pro matematický mód, vyjma \verb|\mikro|, jenž je\\ použitelný rovněž v~textovém módu.
+%$\upmikro$
+
+
+\chapter{Druhá příloha}
+
+\begin{figure}[!h]
+ \begin{center}
+ \includegraphics[scale=0.5]{obrazky/ZlepseneWilsonovoZrcadloNPN}
+ \end{center}
+ \caption[Alenčino zrcadlo]{Zlepšené Wilsonovo proudové zrcadlo.}
+\end{figure}
+
+Pro sazbu vektorových obrázků přímo v~\LaTeX{}u je možné doporučit balíček \href{https://www.ctan.org/pkg/pgf}{\texttt{TikZ}}.
+Příklady sazby je možné najít na \href{http://www.texample.net/tikz/examples/}{\TeX{}ample}.
+Pro vyzkoušení je možné použít programy QTikz nebo TikzEdt.
+
+
+
+
+\chapter{Příklad sazby zdrojových kódů}
+
+\section{Balíček \texttt{listings}}
+
+Pro vysázení zdrojových souborů je možné použít balíček \href{https://www.ctan.org/pkg/listings}{\texttt{listings}}.
+Balíček zavádí nové prostředí \texttt{lstlisting} pro sazbu zdrojových kódů, jako například:
+%
+\begin{lstlisting}[language={[LaTeX]TeX}]
+\section{Balíček lstlistings}
+Pro vysázení zdrojových souborů je možné použít
+ balíček \href{https://www.ctan.org/pkg/listings}%
+ {\texttt{listings}}.
+Balíček zavádí nové prostředí \texttt{lstlisting} pro
+ sazbu zdrojových kódů.
+\end{lstlisting}
+%
+Podporuje množství programovacích jazyků.
+Kód k~vysázení může být načítán přímo ze zdrojových souborů.
+Umožňuje vkládat čísla řádků nebo vypisovat jen vybrané úseky kódu.
+Např.:
+
+\noindent
+Zkratky jsou sázeny v~prostředí \texttt{acronym}:
+\label{lst:zkratky}
+\lstinputlisting[language={[LaTeX]TeX},nolol,numbers=left, firstnumber=6, firstline=6,lastline=6]{text/zkratky.tex}
+%
+Šířka textu volitelného parametru \verb|KolikMista| udává šířku prvního sloupce se zkratkami.
+Proto by měla být zadávána nejdelší zkratka nebo symbol.
+Příklad definice zkratky \acs{symfvz} je na výpisu \ref{lst:symfvz}.
+
+\shorthandoff{-}
+\lstinputlisting[language={[LaTeX]TeX},frame=single,caption={Ukázka sazby zkratek},label=lst:symfvz,numbers=left,linerange={bsymfvz-\%\%\%\ esymfvz},includerangemarker=false]{text/zkratky.tex}
+\shorthandon{-}
+
+\noindent
+Ukončení seznamu je provedeno ukončením prostředí:
+\lstinputlisting[language={[LaTeX]TeX},nolol,numbers=left,firstnumber=26,linerange=26]{text/zkratky.tex}
+
+\vspace{\fill}
+
+\noindent
+{\bf Poznámka k~výpisům s~použitím volby jazyka \verb|czech| nebo \verb|slovak|:}\newline
+Pokud Váš zdrojový kód obsahuje znak spojovníku \verb|-|, pak překlad může skončit chybou.
+Ta je způsobená tím, že znak \verb|-| je v~českém nebo slovenském nastavení balíčku \verb|babel| tzv.\ aktivním znakem.
+Přepněte znak \verb|-| na neaktivní příkazem \verb|\shorthandoff{-}| těsně před výpisem a hned za ním jej vraťte na aktivní příkazem \verb|\shorthandon{-}|.
+Podobně jako to je ukázáno ve zdrojovém kódu šablony.
+
+
+\clearpage
+
+%\section{Výpis kódu prostředí Matlab}
+Na výpisu \ref{lst:priklad.vypis.kodu.Matlab} naleznete příklad kódu pro Matlab, na výpisu \ref{lst:priklad.vypis.kodu.C} zase pro jazyk~C.
+
+\lstnewenvironment{matlab}[1][]{%
+\iflanguage{czech}{\shorthandoff{-}}{}%
+\iflanguage{slovak}{\shorthandoff{-}}{}%
+\lstset{language=Matlab,numbers=left,#1}%
+}{%
+\iflanguage{slovak}{\shorthandon{-}}{}%
+\iflanguage{czech}{\shorthandon{-}}{}%
+}
+
+\begin{matlab}[frame=single,float=htbp,caption={Příklad Schur-Cohnova testu stability v~prostředí Matlab.},label=lst:priklad.vypis.kodu.Matlab,numberstyle=\scriptsize, numbersep=7pt]
+%% Priklad testovani stability filtru
+
+% koeficienty polynomu ve jmenovateli
+a = [ 5, 11.2, 5.44, -0.384, -2.3552, -1.2288];
+disp( 'Polynom:'); disp(poly2str( a, 'z'))
+
+disp('Kontrola pomoci korenu polynomu:');
+zx = roots( a);
+if( all( abs( zx) < 1))
+ disp('System je stabilni')
+else
+ disp('System je nestabilni nebo na mezi stability');
+end
+
+disp(' '); disp('Kontrola pomoci Schur-Cohn:');
+ma = zeros( length(a)-1,length(a));
+ma(1,:) = a/a(1);
+for( k = 1:length(a)-2)
+ aa = ma(k,1:end-k+1);
+ bb = fliplr( aa);
+ ma(k+1,1:end-k+1) = (aa-aa(end)*bb)/(1-aa(end)^2);
+end
+
+if( all( abs( diag( ma.'))))
+ disp('System je stabilni')
+else
+ disp('System je nestabilni nebo na mezi stability');
+end
+\end{matlab}
+
+\noindent
+\begin{minipage}{\linewidth}
+
+
+%\section{Výpis kódu jazyka C}
+
+\begin{lstlisting}[frame=single,numbers=right,caption={Příklad implementace první kanonické formy v~jazyce C.},label=lst:priklad.vypis.kodu.C,basicstyle=\ttfamily\small, keywordstyle=\color{black}\bfseries\underbar,]
+// první kanonická forma
+short fxdf2t( short coef[][5], short sample)
+{
+ static int v1[SECTIONS] = {0,0},v2[SECTIONS] = {0,0};
+ int x, y, accu;
+ short k;
+
+ x = sample;
+ for( k = 0; k < SECTIONS; k++){
+ accu = v1[k] >> 1;
+ y = _sadd( accu, _smpy( coef[k][0], x));
+ y = _sshl(y, 1) >> 16;
+
+ accu = v2[k] >> 1;
+ accu = _sadd( accu, _smpy( coef[k][1], x));
+ accu = _sadd( accu, _smpy( coef[k][2], y));
+ v1[k] = _sshl( accu, 1);
+
+ accu = _smpy( coef[k][3], x);
+ accu = _sadd( accu, _smpy( coef[k][4], y));
+ v2[k] = _sshl( accu, 1);
+
+ x = y;
+ }
+ return( y);
+}
+\end{lstlisting}
+\end{minipage}
+
+
+
+
+
+
+
+\chapter{Obsah elektronické přílohy}
+Elektronická příloha je často nedílnou součástí semestrální nebo závěrečné práce.
+Vkládá se do informačního systému VUT v~Brně ve vhodném formátu (ZIP, PDF\,\dots).
+
+Nezapomeňte uvést, co čtenář v~této příloze najde.
+Je vhodné okomentovat obsah každého adresáře, specifikovat, který soubor obsahuje důležitá nastavení, který soubor je určen ke spuštění, uvést nastavení kompilátoru atd.
+Také je dobře napsat, v~jaké verzi software byl kód testován (např.\ Matlab 2018b).
+Pokud bylo cílem práce vytvořit hardwarové zařízení,
+musí elektronická příloha obsahovat veškeré podklady pro výrobu (např.\ soubory s~návrhem DPS v~Eagle).
+
+Pokud je souborů hodně a jsou organizovány ve více složkách, je možné pro výpis adresářové struktury použít balíček \href{https://www.ctan.org/pkg/dirtree}{\texttt{dirtree}}.
+
+\bigskip
+
+{\small
+%
+\dirtree{%.
+.1 /\DTcomment{kořenový adresář přiloženého archivu}.
+.2 logo\DTcomment{loga školy a fakulty}.
+.3 BUT\_abbreviation\_color\_PANTONE\_EN.pdf.
+.3 BUT\_color\_PANTONE\_EN.pdf.
+.3 FEEC\_abbreviation\_color\_PANTONE\_EN.pdf.
+.3 FEKT\_zkratka\_barevne\_PANTONE\_CZ.pdf.
+.3 UTKO\_color\_PANTONE\_CZ.pdf.
+.3 UTKO\_color\_PANTONE\_EN.pdf.
+.3 VUT\_barevne\_PANTONE\_CZ.pdf.
+.3 VUT\_symbol\_barevne\_PANTONE\_CZ.pdf.
+.3 VUT\_zkratka\_barevne\_PANTONE\_CZ.pdf.
+.2 obrazky\DTcomment{ostatní obrázky}.
+.3 soucastky.png.
+.3 spoje.png.
+.3 ZlepseneWilsonovoZrcadloNPN.png.
+.3 ZlepseneWilsonovoZrcadloPNP.png.
+.2 pdf\DTcomment{pdf stránky generované informačním systémem}.
+.3 student-desky.pdf.
+.3 student-titulka.pdf.
+.3 student-zadani.pdf.
+.2 text\DTcomment{zdrojové textové soubory}.
+.3 literatura.tex.
+.3 prilohy.tex.
+.3 reseni.tex.
+.3 uvod.tex.
+.3 vysledky.tex.
+.3 zaver.tex.
+.3 zkratky.tex.
+%.2 navod-sablona\_FEKT.pdf\DTcomment{návod na používání šablony}.
+.2 sablona-obhaj.tex\DTcomment{hlavní soubor pro sazbu prezentace k~obhajobě}.
+%.2 readme.txt\DTcomment{soubor s~popisem obsahu CD}.
+.2 sablona-prace.tex\DTcomment{hlavní soubor pro sazbu kvalifikační práce}.
+.2 thesis.sty\DTcomment{balíček pro sazbu kvalifikačních prací}.
+}
+}
diff --git a/text/teorie.tex b/text/teorie.tex
new file mode 100644
index 0000000..b335a22
--- /dev/null
+++ b/text/teorie.tex
@@ -0,0 +1,174 @@
+% 1
+% Communication standards for IoT devices
+% in 4G/5G networks
+% • převzít kapitolu 1.1
+% • doplnit grafy nárůstu IoT zařízení
+% 1.1
+% Established communication standards for IoT de-
+% vices
+% • doplnit GSM, LoRa, Zigbee, Sigfox, Wifi, ESP32, 433 MHz
+% 1.2
+% 4G IoT network standards (LPWAN)
+% • převzít kapitolu 1.2.
+% • doplnit kapitolu 1.2.3 Comparison of 4G LPWAN with established technologies
+% • zrcadlova lambda křivka
+% https://blog.nordicsemi.com/getconnected/what-is-cellular-iot https://www.nordicsemi.com/P
+% power-cellular-IoT/Development-tools?lang=en#infotabs
+% 1.3
+% 5G IoT network standards
+% • převzít kapitolu 1.3, doplnit 5G trojuhelník
+% • zestručnit kapitolu 1.3.1 URLLC, bez zbytečných detailů
+% 1.4
+% DECT NR+ standard for 5G IoT networks
+% • Stary DECT a IP telefony, pasmo, HW vrstva, NR a teorie prenosovych
+% rychlosti
+% https://www.nordicsemi.com/Products/Wireless/DECT-NR?lang=en#infotabs
+% https://www.nordicsemi.com/Products/Wireless/DECT-NR/Applications?lang=en#infotabs
+% https://www.nordicsemi.com/Products/Wireless/DECT-NR/Related-publications?lang=en#info
+% https://blog.nordicsemi.com/getconnected/could-dect-nr-democratize-massive-iot-in-
+% 5g https://docs.nordicsemi.com/bundle/ps_nrf9161/page/dect.html#ariaid-title4
+% https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/dect-nr-a-technical-
+% dive-into-non-cellular-5g https://blog.nordicsemi.com/getconnected/the-next-step-for-
+% m2m-communications
+
+
+\chapter{Communication protocols for IoT devices in 4G/5G mobile networks}
+
+\section{Current situation}
+
+It is estimated that currently (2023/2024) there are two actively connected Internet-of-Things (IoT) devices per each person living on the planet Earth and the number will almost double furthermore until 2030, reaching nearly 30 billion connected IoT devices worldwide\cite{statista}.
+
+At the same time, complexity of the IoT devices rises every year and so is their requirements on the underlying network infrastructure and protocols, originally designed predominantly for completely different mobile applications (text messages and voice / video streaming). Need for new IoT-related protocols started to be prominent with wide-spreading and anticipated new use-cases of IoT devices, for which \ac{GSM} and original \ac{LTE} networks were not originally intended and soon found unsuitable in terms of power efficiency, connection reliability and ability to accommodate billions of small devices with tiny average data rates.
+
+IoT devices today are not only simple single-purpose meteo sensors, but more and more frequently this category includes very complex vehicles and machinery, such as autonomous cars with multiple RADAR/LIDAR sensors or cooperative industrial robots, needing to communicate with the central command \& control facility and with each other in real time and with very high reliability. On the other hand large widespread of massive quantities of very low power devices in possibly critical application can also be expected. Related requirements on communication data volumes, response latency and network reliability far exceed capacity and technical possibilities of older mobile networks. Larger bandwidths, data speeds and lower latencies brought by 4G and especially 5G mobile networks are necessary for providing the appropriate working space for these new IoT devices.
+
+The necessary communication protocols for 4G and 5G mobile networks are being standardized under an umbrella of \ac{3GPP} - an association of national telecommunication standardization agencies and commercial partners. \ac{3GPP} has agreed upon and released several communication protocols (so-called „releases“) for the new generations of mobile networks, unfortunately with some ambiguities in their numbering and labeling. For example, Long-term evolution (LTE) was first introduced as a 3G technology standard but it later become a 4G standard. LTE was followed by LTE-Advanced labeled as „true 4G“ or 4.5G and LTE-Advanced Pro (LTE-A Pro) that is considered 5G but sometimes it is labeled as 4.9G \cite{nokia49g}.
+
+\section{4G IoT networks (LPWAN)}
+
+%IoT has become a large part of every day life and is now crucial to many both critical and non-critical applications. With planed shutdown of 2G and 3G networks [] it is important to look on protocols that are suposed to replace them and enhance their capabilities.
+
+Low-power wide-area network (LPWAN) protocols are 4G LTE wireless communication technologies that enable long-range transmission among IoT devices. LPWAN protocols are designed to meet the diverse requirements of IoT applications, mainly low power consumption, wide coverage range, capacity for large number of devices, and high reliability \cite{gsmalpwan}.
+
+\subsection{NB-IoT}
+NB-IoT (Narrowband Internet of Things) is a cellular LPWAN standard that was developed by \ac{3GPP} for IoT devices and services in 2016 under \ac{3GPP} Release 13 and updated in 2017 with \ac{3GPP} Release 14 \cite{erf}.
+
+NB-IoT focuses on providing extended coverage, enhanced capacity, reduced complexity, and increased battery life for IoT devices that transmit small amounts of data infrequently \cite{rohdenbiot}.
+
+NB-IoT operates on the licensed spectrum and uses a subset of the LTE bands with peak data rate of 26 kb/s for downlink and 16.9 - 66 kb/s for uplink using Cat NB1. Newer standard of Cat NB2 allows maximum peak rate of 127 kb/s for downlink and 159 kb/s for uplink. NB-IoT uses orthogonal frequency division multiplexing (OFDM) modulation for downlink communication and single carrier frequency division multiple access (SC-FDMA) for uplink communication.
+
+Single NB-IoT communication channel corresponds to a single 180 kHz LTE frequency block \cite{ltebook}. This enables the following operation modes \cite{rohdenbiot}:
+
+\begin{itemize}
+ \item In-band operation - NB-IoT operates on standard LTE frequencies among other types of LTE communication
+ \item Guard band operation - Communication takes place in LTE guard-band without any other LTE communication
+ \item Stand alone operation - A theoretically possible scenario when mass adaption of technology will occur. This mode plans to utilize frequency allocation of current GSM networks.
+\end{itemize}
+
+\begin{figure}[!h]
+ \begin{center}
+ \includegraphics[width=0.9\textwidth]{obrazky/nbiotmodes.png}
+ \end{center}
+ \caption[NB-IoT modes]{NB-IoT modes of operation \cite{rohdenbiot}}
+ \label{fig:nbiotmodes}
+\end{figure}
+
+As of writing this thesis (December 2023) NB-IoT is supported in Czechia by all three national mobile operators. Vodafone is declaring universal coverage across the whole country \cite{vodafonemap}, T-Mobile in selected larger cities and O2 only in Moravian-Silesian region \cite{narowbandcoverage}.
+
+
+
+%NB-IoT is a cellular LPWAN standard that was developed by the 3rd Generation Partnership Project (\ac{3GPP}) for IoT devices and services and published in 2016 with \ac{3GPP} Release 13[] and its updated version in 2017 with \ac{3GPP} Release 14 []. NB-IoT operates on the licensed spectrum and uses a subset of the LTE bands with peak data rate of $26 kb/s$ for downlink and $16.9 \div 66\;kb/s$ for uplink using Cat NB1. Newer standart of Cat NB2 allow maximum peak rate of $127\;kb/s$ for downlink and $159\;kb/s$ for uplink.
+%NB-IoT uses orthogonal frequency division multiplexing (OFDM) modulation for downlink communication and single carrier frequency division multiple access (SC-FDMA) for uplink communication. NB-IoT focuses on providing extended coverage, enhanced capacity, reduced complexity, and increased battery life for IoT devices that transmit small amounts of data infrequently.
+%
+%As of writing this thesis (December 2023) NB-IoT is supported in Czechia by all tree national mobile operators. Vodafone is declaring universal coverage in whole state \cite{vodafonemap}, T-Mobile in selected larger cities and O2 only in Moravian-Silesian region \cite{narowbandcoverage}.
+%
+%\subsubsection{Modes of operation}
+%
+%Single NB-IoT comunication channel correspondes to single 180 kHz LTE frequency block \cite{ltebook}. This enables following operation modes \cite{rohdenbiot}:
+%\begin{itemize}
+% \item In-band operation - NB-IoT operates in standart LTE frequencies among other types of LTE comunication
+% \item Guard band operation - Communication occur in LTE guard-band where no prior LTE communication takes place
+% \item Stand alone operation - A theoretically possible scenaraio when mass adaption of technology will occur. This mode plans to utilizate frequency allocation of current GSM networks
+%\end{itemize}
+
+\subsection{LTE-M}
+
+LTE-M or LTE-MTC (Long-Term Evolution Machine Type Communication) is a second LPWAN protocol specified in \ac{3GPP} Release 12, with improved specification in Releases 13 and 14. Unlike NB-IoT, LTE-M uses more bandwidth (1.4 - 5 MHz) and is capable of higher communication speeds (1 - 4 Mbit/s for downlink and 1 – 7 Mbit/s for uplink). Another advantage of LTE-M over NB-IoT is an ability to function with movable objects (such as cars or drones). Higher bandwidths however lead to greater circuit complexity and possible higher energy consumption related to it \cite{nordiccompare}.
+
+As of writing this thesis (December 2023) LTE-M is covered in Czechia by O2 in 98.5 \% \cite{o2catm} and locally by Vodafone \cite{vodafonemap}.
+
+%LTE-M or LTE-MTC (Long-Term Evolution Machine Type Communication) is second LPWAN protocol specified in \ac{3GPP} release 12 with improved specification in releaes 13 and 14.
+%
+%Unlike NB-IoT LTE-M uses more bandwidth 1.4-5 MHz and is capable of higher comunication speeds (1-4 Mbit/s for downlink and 1-7Mbit/s for uplik depending on version). Another advantage is ability to function with movable objects (eg. cars or drones). Higher bandwidth leads to grater circuit complexity and higher energy consumption related to it.
+%
+%As of writing this thesis (December 2023) LTE-M is coverted in 98.5 \% in Czechina by O2 \cite{o2catm} and mostly by Vodafone \cite{vodafonemap}.
+
+\section{5G IoT networks}
+5G implementation into the mobile networks can be achieved via two methods \cite{5gnruk}:
+
+\begin{itemize}
+ \item NSA (non-stand alone) - 5G features are achieved by adding new RAN (Radio Access Network) to existing 4G LTE core. This approach implements dynamic spectrum sharing and enables rapid deployment of enhanced mobile broadband in customer market without larger changes in existing infrastructure.
+ \item SA (stand alone) - LTE core and RAN are completely replaced with 5G ones. RAN can however still switch back to LTE air interface to ensure backward compatibility with non-5G devices.
+\end{itemize}
+
+In 2018, \ac{3GPP} Release number 15 laid down 5G specification named 5G NR (New Radio). Unlike LTE-A Pro that has just added more features to 4G LTE and operated in LTE standards and channels, 5G NR introduced a new physical layer in air interface \cite{5gnruk}.
+
+5G NR tries to solve three key aspects of wireless technology \cite{5gnruk}:
+
+\begin{itemize}
+ \item eMBB (Enhanced Mobile Broadband): Data-intensive applications needing large bandwidth for primarily traditional end-user demand, like video streaming. This should be achieved by Gigabit LTE, massive MIMO, mmWave technologies, spectrum sharing techniques and advanced channel coding.
+ \item mMTC (Massive Machine Type Communications): Low-power and low-cost applications with small data volumes but potentially large number of these devices in a small footprint. It is built on LTE LPWAN protocols like LTE-M and NB-IoT, making them potentially a core part of 5G.
+ \item URLLC (Ultra-reliable and Low-latency Communication): Mission-critical applications traditionally possible only by direct wire connection, necessary for real-time control of autonomous vehicles and industrial machinery.
+\end{itemize}
+
+As of December 2023, 5G IoT networks are not yet commercially available in Czechia.
+
+%%%%%%
+\subsection{URLLC requirements}
+
+URLLC (Ultra-Reliable and Low-Latency Communication) is a new requirement for 5G networks for providing real-time communication protocols with very low delays and very high levels of reliability. First attempts to address this were introduced in 4G LTE HRLLC (Higher-Reliability and Low-Latency Communication) in \ac{3GPP} release 15 \cite{5gamericasurllc}. Until this point, aspects of latency and reliability were
+dealt in separately and sometimes were in direct contradiction to each other (reliability was achieved with repeated data redundancy, which multiplied latency). Combination of these two aspects is however essential for several critical applications with different requirements, as shown in table \ref{tab:urllc}:
+
+\begin{table}[!h]
+ \begin{center}
+ \small
+ \begin{tabular}{|l|c|c|c|}
+ \hline
+ Scenario & E2E latency [ms] & Reliability [\%] & Data rate [Mbps] \\\hline\hline
+ Discrete automation & 10 & 99.99 & 10 \\\hline
+ Process automation – remote control & 60 & 99.9999 & 100 \\\hline
+ Process automation ‒ monitoring & 60 & 99.9 & 1 \\\hline
+ Process automation ‒ monitoring & 40 & 99.9 & 10 \\\hline
+ Electricity distribution – high voltage & 5 & 99.9999 & 10 \\\hline
+ Intelligent transport systems & 30 & 99.9999 & 10 \\\hline
+ \end{tabular}
+ \end{center}
+ \caption[Performance requirements for URLLC]{Performance Requirements for Low-Latency and High-Reliability Scenarios \cite{5gamericasurllc}}
+ \label{tab:urllc}
+\end{table}
+
+
+\subsection{Latency}
+With such strict latency requirements, as low as 5 ms end-to-end latency, it is necessary to minimize air interface delay (to 1 ms or less). To achieve such low latency, intensive optimization of air data delivery is necessary.
+
+There are several possible approaches that can lead to reduced communication time and latency \cite{5gamericasurllc}:
+
+\begin{itemize}
+ \item Frequent transmission opportunities
+Downlink control channel used to carry scheduling information for data transmission is not usually monitored by end device for power saving reasons. However to reduce the waiting time for delivering the control information, the end device could do this. For device to start uplink transmission, it needs to send a scheduling request (SR) that allocates a specific transmission slot. To minimize the waiting time, the periodicity of the SR resource configuration should reflect latency requirements. This can be further emphasized by flexible schedulling timing mainly in Time Division Dulex (TDD).
+
+ \item Flexible transmission duration
+This aspect is supported in 5G using larger subcarier spacing. This shortens slot duration and gives bigger oportunity for quicker communication establishment.
+
+ \item Grant-free (or configured grant) uplink transmission
+In cases with very low latency demand, grant-free uplink transition, specific periodic uplink resource for device can be arranged. End device in this scenario does not need to wait for scheduling request and at any time it has data it can transmit in this arranged slot without a need for dynamic grant.
+
+\end{itemize}
+
+Air interface is only partially responsible for total end-to-end latency. Remaining latency is caused by core network, internet network and particular server with which the device is communicating. This is to be solved by new concept of Edge computing. Edge computing is a possibility for a mobile operator or another entity to move services from a remote server closer to the device and to execute necessary task right in 5G core network \cite{3gppurllc}.
+
+Another method of lowering transport network latency is to avoid transport network completly. This is experimented in vehicle-to-vehicle (V2V) protocols and in non-IP based communication \cite{5gamericav2v}.
+
+\subsection{URLLC reliability optimization}
+
+In \ac{3GPP} Release 16, redundant transmission for high-reliability communication was introduced \cite{5gamericasurllc}. With this method, user packets are duplicated and simultaneously transferred to the receiver via two disjoint user plane paths. The redundant packets are then eliminated at the receiver side. This further avoids occasional fails in one path propagation and slims probability of exceding the delay requirements. Other changes can be made in 5G core parameters settings, like QoS Monitoring, dynamic division of Packet Delay Budget and enhancements of session continuity \cite{3gppurllc}.
diff --git a/text/uvod.tex b/text/uvod.tex
new file mode 100644
index 0000000..52924d0
--- /dev/null
+++ b/text/uvod.tex
@@ -0,0 +1,17 @@
+\chapter*{Introduction}
+%\phantomsection
+%\addcontentsline{toc}{chapter}{Introduction}
+%
+%AI, ale fakticky ok:
+%
+%The main objective of this thesis is to provide a comprehensive overview of the 4G and 5G cellular networks and their applications for the internet-of-things (IoT) domain. The first part of the thesis focuses on the theoretical aspects of the IoT protocols that are specifically designed to meet the requirements and challenges of the IoT scenarios, such as low power consumption, high reliability, and scalability. It also compares and contrasts the different protocols and evaluates their performance and suitability in the existing 4G and 5G networks.
+%
+%The second part of the thesis presents a detailed analysis of the various hardware components that are available for building IoT devices, such as chips, modules, and development kits. It also discusses the advantages and disadvantages of each component and provides some recommendations for choosing the best option for a given project.
+%
+%The third and final part of the thesis describes the practical implementation of an IoT device using the nRF connect ecosystem, which is a set of tools and software for developing and testing IoT applications. It also demonstrates the MQTT communication protocol between the IoT device and a virtual server, which enables the exchange of data and commands in a secure and efficient manner.
+%
+
+% 27 Popis 4G/5g
+% 28 Nordic a Quactel
+% 29 nRF s MQTT
+% 30 teplota a hodit tam kód
diff --git a/text/vysledky.tex b/text/vysledky.tex
new file mode 100644
index 0000000..c94f8ce
--- /dev/null
+++ b/text/vysledky.tex
@@ -0,0 +1,86 @@
+\chapter{Practical demonstration}
+
+For practical demonstration of an IoT device with 4G/5G connectivity, a 4G development kit nRF9160 DK was selected. Demonstration of 5G connectivity could not be made due to a delay with delivery of the ordered Quectel module.
+
+Practical demonstration of an IoT device with LTE-M connectivity was made on an example of a combined burglary and fire alarm system with 4 sensors, transferring data to a remote cloud server via MQTT protocol, simulating a data transfer to a central security panel.
+
+\section{Hardware}
+
+nRF9160 DK development kit was adapted with an add-on board made from a universal line PCB with headers compatible to Arduino Uno form-factor fitting to nRF9160 DK headers. The add-on PCB contained connections for four sensors:
+
+\begin{itemize}
+ \item Hall effect sensor Texas Instruments DRV5033 \cite{haldatasheet}, with open-drain output (for pulled-up digital input) pulled down by an external magnetic field and simulating door/window switch, connected to GPIO pin P0.19.
+ \item analog thermometer Texas Instruments LM35 \cite{tempdatasheet}, with an analog output linearly corresponding to 10 mV for each oC above 0 oC, connected to GPIO pin P0.17.
+ \item passive infrared (PIR) motion sensor Hadson Technology HC-SR501 \cite{pirdatasheet} with digital output (3,3 VDC output reduced to 3 VDC level by a voltage divider), connected to GPIO pin P0.16.
+ \item sensor for combustible gases Pololu MQ-2 \cite{gasdatasheet}, with an analog ouput reduced by a voltage divider to avoid exceeding 3 VDC threshold, connected to GPIO pin P0.18.
+\end{itemize}
+
+\begin{figure}[!h]
+ \begin{center}
+ \includegraphics[width=0.5\textwidth]{obrazky/ezsschema.png}
+ \end{center}
+ \caption[Overview of security and fire alarm]{Overview of security and fire alarm board}
+ \label{fig:ezsschema}
+\end{figure}
+
+\begin{figure}[!h]
+ \begin{center}
+ \includegraphics[width=0.5\textwidth]{obrazky/ezspcb.png}
+ \end{center}
+ \caption[Schematic of security and fire demo]{Schematic of security and fire alarm demo}
+ \label{fig:ezspcb}
+\end{figure}
+
+
+\begin{figure}[!h]
+ \begin{center}
+ \includegraphics[width=0.9\textwidth]{obrazky/pcbphoto.jpg}
+ \end{center}
+ \caption[PCB schematic of alarm demo board]{PCB schematic for alarm demo}
+ \label{fig:ezsreal}
+\end{figure}
+
+\newpage
+
+\section{Firmware tools}
+
+nRF Connect SDK was used as a software platform for the demo application. nRF Connect SDK is a unified software development kit for building products based on all Nordic nRF Series wireless devices. It integrates the Zephyr RTOS and wide range of samples, application protocols, protocol stacks, libraries and hardware drivers \cite{zephyrpp}.
+
+It offers a single code base for all Nordic devices and software components. It simplifies porting modules, libraries and drivers from one application to another, thus reducing development time. nRF Connect SDK is publicly available under OpenSource license, offers source code management with Git and has free nRF Connect for Visual Studio Code IDE support. Zephyr RTOS furthemore provides extensive amount of libraries including standardized access to basic peripheries, IP stack and MQTT library \cite{nrfsdk}.
+
+MQTT is a lightweight, publish-subscribe protocol that enables efficient and reliable communication between devices in the IoT domain. MQTT is based on a broker-client architecture, where a broker is a server that receives and routes messages from multiple clients, and a client is any device that can publish or subscribe to a topic. A topic is a hierarchical identifier that defines the content and scope of a message\cite{mqtt}.
+
+This firmware is based on nRF Connect SDK example named Simple MQTT\cite{nrfmqtt}.
+
+\section{Firmware outline}
+
+\subsection{LTE network connection}
+
+First task for the demo firmware is an establishment of a connection to LTE network. This is mostly handled by function \texttt{modem\_configure()}, which turns off power saving modes for better responsivity and calls HAL function \texttt{lte\_lc\_init\_and\_connect()}.
+
+\texttt{lte\_lc\_init\_and\_connect()} takes all modem settings from text config files transferred to macros by Kconfig. This ilustrates a possibility of cross-platform or regionally independent application, where only the config files for given platform or region are needed to be changed.
+
+\subsection{ADC configuration}
+When connection with LTE network is successfully established, ADC is configured. Two analog input channels are used in this demo - AIN4 on P0.17 pin connected to LM35 temperature sensor and AIN5 on P0.18 connected to MQ-2 combustible gas sensor. For both channels, \texttt{adc\_channel\_cfg} structs are initialized and channels are set to 10bit resolution, internal 0.6 V reference voltage and 1/2 divider using \texttt{adc\_channel\_cfg()}, setting channels voltage range to 1.2 V. Both channels (if they are enabled by the button configuration) are then sampled in set interval using a custom fuction \texttt{adc\_sample()} and printed to USB serial.
+
+\subsection{Digital inputs and outputs}
+For ease of implementation, digital sensors on GPIO pins P0.16 (DRV5033) and P0.19 (PIR) were added to the device tree as additional development kit buttons. This avoided the need for their own separate initialization and reading codes.
+
+These digital input sensors are then processed as buttons using callback handler \texttt{button\_handler()}. This function is called with bitmasks \texttt{button\_states} and \texttt{has\_changed}, making it ease to figure state change for these two sensors.
+
+Two buttons and two switchers are used for optionally disabling the corresponsing sensors. This is executed in \texttt{button\_handler()}.
+
+Four on-board LEDs are used for local signalization of status of PIR sensor (LED1) and Hall effect sensor (LED2), as well as over-threshold values of temperature (LED3) and combustible gas (LED4) sensors.
+
+\subsection{MQTT}
+
+Communication with MQTT server is done by zephyr/net/mqtt.h library. Connection with the server is attempted after LTE and sensors setup with function \texttt{mqtt\_connect()}.
+Publishing of message is achieved by function \texttt{mqtt\_publish()} upon a digital sensor is activated or analog sensor exceeds the set threshold value. Example of the MQTT communication sent to a virtual server is shown in figure \ref{fig:mqttcom}.
+
+\begin{figure}[!h]
+ \begin{center}
+ \includegraphics[width=0.2\textwidth]{obrazky/mqttcom.png}
+ \end{center}
+ \caption[Demo MQTT communication]{Sample of resulting MQTT communication}
+ \label{fig:mqttcom}
+\end{figure}
diff --git a/text/zaver.tex b/text/zaver.tex
new file mode 100644
index 0000000..2fc9d02
--- /dev/null
+++ b/text/zaver.tex
@@ -0,0 +1,15 @@
+\chapter{Conclusions for the follow-up bachelor thesis}
+
+This semestral thesis provided a brief introduction to 4G/5G mobile networks for the Internet of Things (IoT) applications in the embedded electronic systems. Related communication protocols for 4G IoT networks (LPWAN NB-IoT and LTE-M) and 5G IoT networks (5G NR - URLLC) were described and a survey of two selected chipsets for 4G networks (Nordic Semiconductor nRF9160) and 5G networks (Quectel RM520N) and their development modules and kits was made.
+
+One of the development kits (nRF9160 DK) was then used for practical demonstration of an IoT device with LPWAN connectivity on an example of a combined burglary and fire alarm system with 4 sensors, transferring data to a remote cloud server via MQTT protocol. This demo allowed to establish a firmware development base for 4G IoT devices based on nRF9160 System-in-Package and get familiarized with the software development kit by Nordic Semiconductor with Zephyr RTOS support.
+
+Since there seem to be issues with a delivery of the appropriate 5G development kit by Quectel, being ordered for several months already, it would be advisable to focus the follow-up bachelor thesis only to 4G communication kits with nRF9160 System-in-Package and to further explore extensive firmware possibilities of this system for reliable and secure industrial IoT communication, specifically:
+
+\begin{itemize}
+ \item Firmware upgrades via FOTA (firmware over the air)
+ \item Implementation of ARM TrustZone technology for firmware protection against unauthorized changes
+ \item ARM CryptoCell solution for high-performance cryptography
+\end{itemize}
+
+Experimental parameters of IoT communication (power consumption, lattency, reliability, effective range in complicated urban environment) shall also be verified, comparatively for NB-IoT and LTE-M protocols.
diff --git a/text/zkratky.tex b/text/zkratky.tex
new file mode 100644
index 0000000..bf4b695
--- /dev/null
+++ b/text/zkratky.tex
@@ -0,0 +1,67 @@
+\cleardoublepage
+\chapter*{\listofabbrevname}
+\phantomsection
+\addcontentsline{toc}{chapter}{\listofabbrevname}
+
+\begin{acronym}
+ \acro{3GPP}{3rd Generation Partnership Project}
+ \acro{4G, 5G}{4th and 5th Generation mobile networks}
+ \acro{ADC}{Analog-Digital Converter}
+ \acro{DL}{Downlink}
+ \acro{E2E}{End-to-End}
+ \acro{eMBB}{Enhanced Mobile Broadband}
+ \acro{eSIM}{embedded SIM card}
+ \acro{GNSS}{Global Navigation Satellite System}
+ \acro{GPIO}{General-Purpose Input/Output}
+ \acro{HAL}{Hardware Abstraction Layer}
+ \acro{HRLLC}{Higher-Reliability and Low-Latency Communication}
+ \acro{I2C}{Inter-Integrated Circuit}
+ \acro{IoT}{Internet of Things}
+ \acro{IP}{Internet Protocol}
+ \acro{LE}{Low Energy}
+ \acro{LED}{Light Emitting Diode}
+ \acro{LGA}{Land Grid Array}
+ \acro{Li-ion}{Lithium-Ion}
+ \acro{Li-Po}{Lithium-Polymer}
+ \acro{LPWAN}{Low-Power Wide-Area Network}
+ \acro{LTE-M}{ Long-Term Evolution Machine Type Communication}
+ \acro{LTE}{Long-Term Evolution}
+ \acro{mMTC}{Massive Machine Type Communications}
+ \acro{MQTT}{Message Queuing Telemetry Transport}
+ \acro{NB-IoT}{Narrowband Internet of Things}
+ \acro{NFC}{Near-Field Communication}
+ \acro{NSA}{ Non-Stand Alone}
+ \acro{PC}{Personal Computer}
+ \acro{PCB}{Printed Circuit Board}
+ \acro{PCIe}{Peripheral Component Interconnect Express}
+ \acro{PDM}{Pulse-Density Modulation}
+ \acro{PIR}{Passive Infra Red}
+ \acro{PWM}{Pulse-Width Modulation}
+ \acro{RAN}{Radio Access Network}
+ \acro{RGB}{Red Green Blue}
+ \acro{RTC}{Real-Time Clock}
+ \acro{SA}{Stand-alone}
+ \acro{SDK}{Software development kit}
+ \acro{SIM}{Subscriber Identity Module}
+ \acro{SiP}{System-in-Package}
+ \acro{SMA}{Subminiature Version A}
+ \acro{SPI}{Serial Peripheral Interface}
+ \acro{TCP}{Transmission Control Protocol}
+ \acro{TLS}{Transport Layer Security}
+ \acro{UART}{Universal Asynchronous Receiver-Transmitter}
+ \acro{UL}{Uplink}
+ \acro{URLLC}{Ultra-reliable and Low-latency Communication}
+ \acro{USB}{Universal Serial Bus}
+ \acro{WDT}{Watch Dog Timer}
+
+ \acro{FSPL}{Free space path loss}
+ \acro{RF}{Radio Frequency}
+ \acro{GSM}{Global System for Mobile communications}
+
+% %%% bsymfvz
+% \acro{symfvz} % název
+% [\ensuremath{f_\textind{vz}}] % symbol
+% {vzorkovací kmitočet} % popis
+% %%% esymfvz
+
+\end{acronym}