I. Introduction
Wireless sensor networks (WSNs) are widely used for military applications, environment monitoring, wild-habitat monitoring, target tracking, intelligent traffic monitoring, and energy management [1]. Consequently, multiple sensor nodes are deployed in a region to get real-time information. According to the received information, users are capable of taking adequate decisions for improved decision making. Recently, different mechanisms are introduced to change the activities of a sensor node in run-time. The software-defined networking (SDN) technology can be used in WSN to change the activities of sensor nodes in real-time to meet application-specific requirements [2].