Reliability and Security of Edge Computing Devices for Smart Cities