Introduction
Internet of Things (IoT) is a network of devices that connect to and communicate via the internet or other communication networks. These devices collect, exchange, and act on data, often without human intervention. It enables enhanced interactivity and automation across various domains, from smart homes to industrial applications. A typical IOT deployment consists of:
Embedded devices / sensors.
Communication over an IP network (between the devices and to/from cloud servers).
Cloud services, Big Data, Analytics / Machine learning on the cloud.
In the context of NetSim, the sensors are abstract, which means that they could be any kind of sensor or embedded device. These sensors are assumed to sense some physical property or random field such as temperature, pressure etc. After sensing, the sensors transmit the sensed data in the form of “IP Packets” of user configurable size and interpacket arrival times. NetSim simulates the transmission of these IP packets over an IoT network and does not focus on either the actual “application payload (or the sensed data)” being sent, or the data storage and analytics of this payload.
NetSim’s Internet of Things (IoT) and Wireless Sensor Network (WSN) library stack comprises:
Application Layer: Sensor App as well as applications such as Voice, Video, CBR etc.
Transport Layer: UDP
Network layer: AODV and RPL
MAC and PHY layers: 802.15.4 Zigbee
NetSim models IoT as a WSN that connects to an Internetwork through a LowPAN Gateway. The LowPAN Gateway uses two interfaces: a Zigbee (802.15.4) interface and a WAN Interface. The WSN sends data to a SinkNode. The Zigbee interface allows wireless connectivity to the WSN while the WAN interface connects to the external Internetwork.
IEEE 802.15.4 uses either Beacon Enabled or Disabled Mode for packet transmission. In Beacon Enabled Mode, nodes use slotted CSMA/CA algorithm for transmitting packets else they use Unslotted CSMA/CA.