Research Article
Energy-Aware Adaptive Cooperative FEC Protocol in MIMO Channel for Wireless Sensor Networks
Algorithm 3
Algorithm of ACFEC at receiver node.
Input: Data packets | Output: ACK or NACK pakcets | (1) Test Checksum. | (2) Implement RS encoding. | (3) If the result obtained is right | (4) Send ACK packet | (5) else if | (6) Rejecte the packet | (7) Send NACK packet | (8) end if | (9) Deliver the correct data packet to the upper layer. |
|