Skip to main content
. 2022 Nov 11;22(22):8708. doi: 10.3390/s22228708
Rule RCV (pass the packet to the application):
if (packet.D == my_address || packet.D == 0) {
   receive (packet);
}
return packet.D == my_address ? SUCCEED: FAIL;