I am trying to use software-defined networking (SDN) for wireless sensor networks (WSN) and the Internet of things (IOT) in NetSim. From the manuals, I have understood how to do it with regular routers. I want to know how to if
1. Can I set a sensor as an SDN controller?
2. If yes, can you provide some example usage?