Role of Embedded Operating Systems in IoT devices