“…WSNs are used in many domains, e.g., military, industrial, environmental, residential, and health care [25,26]. Applications include smart homes (systems based on own Wi-Fi platforms [27], or commercial: ESP8266 [28,29]) to smart cities (including smart transportation [30], smart governance [31,32], and smart grid [32])smart utilities(especially water [33,34,35] and energy management [33,35] systems) to smart cars (including software defined networks [36], automotive applications [37], smart parking systems based on ZigBee platforms [38], and car security-based on Arduino Uno board [39]), and precision agriculture (mainly smart farming and irrigation with Wi-Fi platforms, such as ESP8266 [40] and ZigBee platforms, such as eZ430 [41] or 3G/4G/Wi-Fi connections [42] to e-health solutions (mainly patient monitoring and support with Raspberry Pi board [43], or with ZigBee platforms, such as Xbee [44], or with Bluetooth [45]). Depending on their requirements and sensor capabilities, one can define WSNs in terms of size (small to very large scale), sensors’ capacity (homogeneous to heterogeneous), topology, and mobility (static, mobile, and hybrid) [46].…”