I am learning the source code of the trek1000.
Currently I use 1 tag and 3 anchors to experiment with the ranging between Tag-Anchor.
When the anchor receives the poll message from tag, i found each anchor will delay replying in the order of address 0, 1, and 2.
I want to know how the delayed response here is implemented?
In instance.c, in the function (instancesetreplydelay) for the calculation of the delay time,have the following comments,
//this is the delay the anchors 1, 2, etc… will send the response back at…
//anchor 2 will have the delay set to 2 * fixedReplyDelayAnc
//andhor 3 will have the delay set to 3 * fixedReplyDelayAnc and so on…
//this delay depends on how quickly the tag can receive and process the message from previous anchor
//(and also the frame length of course)
However, in the program, I can’t find any code that has such setting processing.
How the delayed response in order here is implemented?
Can someone who understands give me some advice?