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
  • I had the same thought as you. I'm currently simulating the algorithm as implemented by nordic in matlab/octave, and what i'm seeing is that the variable c never reaches the k-constant.

    In the RFC6206, it says "At time t, Trickle transmits if and only if the counter c is less than the redundancy constant k.". When c never reaches k, trickle will always transmit.

    This change in algorithm was intentional, as stated in the documentation: "When the interval hits this upper limit, it will stay there and the device will keep repeating the message over and over forever." [1]

    Here you find some information on how to disable the infinite transmitting: github.com/.../100

Reply
  • I had the same thought as you. I'm currently simulating the algorithm as implemented by nordic in matlab/octave, and what i'm seeing is that the variable c never reaches the k-constant.

    In the RFC6206, it says "At time t, Trickle transmits if and only if the counter c is less than the redundancy constant k.". When c never reaches k, trickle will always transmit.

    This change in algorithm was intentional, as stated in the documentation: "When the interval hits this upper limit, it will stay there and the device will keep repeating the message over and over forever." [1]

    Here you find some information on how to disable the infinite transmitting: github.com/.../100

Children
No Data
Related