A data-centric approach of smart devices