This project is based on an Operating System's class assignment but better thought out, better structured and more efficient.
Default compilation option, the program will run as normal.
Using build script
./build.sh Release
Manually
mkdir build
cd build
cmake -DDCMAKE_BUILD_TYPE=Release ..
make
When setting the debug build type, CMake will define the DEBUG macro and the simulator will give all kinds of information about what's going on under the hood (ie. insertions in the Bin Max Heap).
Using build script
./build.sh Debug
Manually
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug ..
make
Only a single iot-system-sim instance should be running
./iot-system-sim *config_file*
Multiple sensors can be created
./sensor *sensorID* *interval (seconds)* *key* *min value* *max value* *config file*