Fig. (5)
Software flowchart (a) Sensor node and (b) Coordinator.