detobel36 / ProjectMobileEmbeddedComputing

Project for the cours Mobile and Embedded Computing
0 stars 0 forks source link

Detect duplicate message (to not send twice same data) #17

Closed detobel36 closed 4 years ago

detobel36 commented 4 years ago

Also detect doublon in Sensor node when transfer

detobel36 commented 4 years ago

Problem:

Node 2.0 send packet with id 0 to 5.0 Node 2.0 send packet with id 1 to 4.0 Node 2.0 send packet with id 2 to 3.0 Node 2.0 send packet with id 3 to 6.0 Node 2.0 send packet with id 0 to 5.0 So node 5.0 detect duplicate...

detobel36 commented 4 years ago

Use a simple way to detect duplicate.

First identify where duplicate could occur: