According to this figure, for a heterogeneous network, the internet of things access point
oers three communications types such as Ethernet, Wi-Fi, and ZigBee. Using this access point,
it is possible to establish a home network which can control and manage the home devices
where the ZigBee protocol is used. Subsequently, by using the embedded ZigBee agent in the
internet of things access point, the local and remote users can manage and control the home
devices from ZigBee by getting the required access right.
In the figure, the paper sheds light about how the internet of things access point is devel-
oped where it utilizes the embedded ZigBee agent with the existing Wi-Fi access point. The
remote users can use the developed ZigBee agent for controlling the devices from ZigBee,
establishing a connection with the internet.
For the ZigBee agent, the IoT access point gets an installation of the UPnP Device
Management Module. With the integration of this module, information can be broadcasted
of the ZigBee devices with the network and they can establish wireless connections with each
other.
Additionally, the UPnP protocol can be used to find out the ZigBee devices by the remote
handheld devices. There are five modules in the ZigBee agent. Suppose a user is away from home
and wishes to manage their ZigBee devices at home by using either the Wi-Fi or Ethernet to send
commands with the IoT access point. To read and write functions with the USB dongles of ZigBee,
the Serial Port Control Module can be used.
When the internet of things access point gets a user command, the Command Process Module
forwards it with the Serial Port Control Module. The Serial Port Control Module oers functions
to the Command Process Module for the exchange and execution of the ZigBee transceiver com-
mands. Subsequently, the Command Process Module receives the command from the Device
Management Module to fetch the ZigBee devices information and sends it to the HTTP Command
Process Module and the UPnP Device Management Module.
In case a user uses the HTTP protocol to send the command, that command is executed
first by the HTTP Command Process Module and results are returned in order to fetch the
information from the ZigBee devices. According to the above figure, the negotiation function
for the usage of channels is implemented by the Channel Allocation Module. Moreover, the
power saving mode of the ZigBee network is changed to the emergency mode by the Emergency
Process Module. This boosts up the sensors’ opportunities for the reporting of data readings.
System Implementation
Between the ZigBee device and a USB transceiver, an intermediary device role is played by the
ZigBee agent. The connection between the ZigBee device and agent is facilitated on the internet
for users through the control service of ZigBee. The paper mentions the use of embedded Linux
to install the RT3052 development board for the development of ZigBee agent. Consider the
following figure.
This diagram presents the ZigBee agent’s system architecture; it is composed of several
modules which include the ZigBee Device Management Module, HTTP Command Process
Module, Serial Port Control Module, the UPnP Device Management Module, Emergency Pro-
cess Module, and the Channel Allocation Module. What these modules do is described below.
Serial Port Control Module
This module is used for the reading and writing functionalities while working with the
Command Process Module. The primary module objective is the creation of the USB serial port
for the Linux OS (operating system).
184 Internet of Things
Internet_of_Things_CH07_pp171-200.indd 184 9/3/2019 10:14:43 AM