# ViTool-BC: Visualization Tool Based on Cooja Simulator for WSN
## 2 Related Works  
Multiple tools and simulators have been defined and developed to emulate the behavior and remotely visualize connections of a network topology [17; 18]. These simulators require extensive knowledge and hours of handling them for the deployment of test scenarios. OPNET Simulator [19] is defined as a tool for WSN simulation, and the behavior of any network, including sensor networks, is programmed under C/C++ and it is divided by domains for managing the functionalities, such as Network, Process, and Node structures. This simulator does not allow modification of the protocols already implemented. NS simulators are a series of different tools proposed by the community (open-source) for network control (NS-2 and NS-3). They are event-based discrete simulators, written mainly in the C++ language [20], and NS has multiple network protocols implemented in different layers (TCP, DSP, FIT, etc.). Due to the open-source philosophy, the NS series of simulators contain multiple configurations and extensions proposed to allow more or better simulations in several specific scenarios [21; 22; 23]. OMNET++ is an open-source discrete event simulator based on components, written on top of frameworks and C++ libraries [24]. Its modular composition allows the intuitive interaction of its functionalities, from the GUI interface to the delimitation of network protocols [25]. In the same way, this simulator has been extended [26; 27]. TOSSIM is defined in [28], a simulator written in NesC (extension of C) and oriented to the functions of IoT and WSN. This tool is used to simulate devices based on the TinyOS system, allowing the simulation by delimiting the actual device drivers themselves. TOSSIM does not capture network parameters such as CPU and power consumption, and some tools or pluging have been proposed to obtain them [29]. The case of mTOSSIM [30], software that extends the TOSSIM simulator, allows the monitoring of a simulation's energy and battery consumption and also offers an external graphical environment that executes TOSSIM simultaneously, displaying the reading of these variables. On the other hand, the Gbest-WSN simulator is described in [31]. It is a simulation tool oriented towards education since it allows the exploration of the environment, addition of protocols, and comparison of metrics without modifying or learning about the tool's code, unlike others. Gbest-WSN is written in Matlab and allows simulation of static, movable, homogeneous, and heterogeneous WSN protocols. This tool is not available for use. Another tool developed for educational purposes is presented in [32], where the Wireless GINI tool is defined. This tool is an extension of the network emulator GINI toolkit but with the addition of the ability to analyze WSN topologies. The wireless GINI tool allows to setup process-oriented networks and testbed environments with wireless support in an interactive manner, showing examples of multiple topologies and Internet architectures. Another simulator named CloudSim is oriented towards an IoT scope and is presented in [33]. CloudSim simulator is a tool for modeling the cloud computing and infrastructure services that focus on deploying deployment architecture. It offers an option to analyze the management resource usage and their policies and the data center energy consumption. CloudSim also has other extensions allowing the user to execute more specific simulations, such as CloudSimSDN-NFV [34] and iFogSim [35]. CloudSimSDN-NFV is a tool oriented towards Software Defined Networks and their capabilities. The simulator iFogSim allows modeling of the fog computing scenarios in order to analyze and modify the resource management techniques in latency, network congestion, energy consumption, and cost. Cooja [16] is an emulation/simulation tool for WSN based on the ContikiOS operating system [36]. This tool is a simulator written in Java, which allows the simulation of multiple IoT sensors, communication, and routing protocols.