This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

repeat process in mesh network?

In the mesh network, the sender uses trickle algorithm to control the repeat sending process, and at last the sender will send the message forever in a max interval at a handle. then my question is : does the other nodes repeat the message from the sender using trickle control logic for a specific times ,or just simplely repeat send serveral times in a constant interval(if so, what's the interval, I can't get it in the mesh sample code)?

Parents Reply Children
  • In the RFC6206 it says, that the node only transmit when the counter is less than the constant k. If i understand it correctly, it means that the node will stop to transmit after hearing 3 consistent messages from other nodes. In your documentation (and code), it won't stop transmitting and keeps transmitting at a high intervall.

    Why did you choose to do it this way? Because in your documentation, you also say: "If the handle-value pair has never been used before, the framework forces the node to broadcast an empty version 0-message to other nodes, which, in turn will answer with their version of the handle-value-pair." I couldn't find this behaivour in the code.

    It would make more sense to me to stop the transmission as stated in the rfc after consistancy is reached and only transmit again, when an inconsistancy is detected (like another node is sending a zero-value to get the latest handle version).

Related