% !TeX root = ../main.tex
% Add the above to each chapter to make compiling the PDF easier in some editors.

\chapter{Introduction}\label{chapter:introduction}
\glsresetall

Diabetes mellitus is a globally widespread metabolic disorder characterized by elevated blood glucose levels, which, if left unmanaged, can lead to severe complications. Measuring blood glucose levels is essential for diabetic patients. A glucometer can be used to obtain approximate values from a drop of blood. A more convenient way is using a \gls{cgm} system. \gls{cgm} is a method of tracking blood glucose levels using a blood glucose sensor that measures the levels, which are then transmitted to a receiver that can display the data or process them further.

SmartCGMS is a software framework for signal processing focused on \gls{cgm}. SmartCGMS uses a fall-through architecture to represent the \gls{cgm} system. The signal passes through in one direction. Each part of the system (e.g., a transmitter or an insulin pump) is represented by a filter. Individual components, i.e., SmartCGMS filters, can be exchanged without adversely affecting the rest of the system (the idea of \gls{hla}). This enables a SmartCGMS application to be developed and optimized using simulated devices and deployed to a real device without modifications. 

The project aims to propose, implement, and evaluate an approach to address this challenge. It involves modifying SmartCGMS to create a concept that could be run on devices using FreeRTOS. The main requirement is to retain compatibility with the already supported platforms. Additionally, four filters should be implemented to demonstrate the concept's functionality: a filter to read data, transform the data, visualize the data, and a watchdog filter. The project's findings can be used as a base for further SmartCGMS development.
