The code related to this master thesis is available here: https://github.com/hlibioulle/TFE-IoT