| Algorithm 2 Feedback message notification model | |
| 1: | Cluster head sends a packet to the Sink |
| 2: | If the Sink receives a packet orignated from cluster head then |
| 3: | The sink will broadcast to notify that packet has been successfully sent to Sink |
| 4: | Endif |
| 5: | If didn’t get the reply from Sink for time then |
| 6: | will from now on directly deliver all packets to Sink |
| 7: | will broadcast that all clusters heads within to Sink are all faulty nodes |
| 7 | Endif |