I created a 3-node network, where Node-A sends data packets to Node-C via Node-B after every 5 sec. The simulation time is 1 minute. So, in 60 seconds Node-A will send 11 packets to Node-C. According to the This reply, I analyzed the trace.json file for each transmission from source(Node-A) to destination(Node-C). I have some doubts:-
- For some packets, at Node-B(intermediate node) there is more than one TxFrameReq for one DatagrameReq (example 2nd and 4th packet transmission). why it is happening?
- In the above scenario what will be the end-to-end delay for that transmission?
- For some transmissions end-to-end delay is more than 15 seconds plus. Is it correct or I am making some mistake in the end-to-end delay calculation. I am calculating the end-to-end delay by substracting the TX time of Node-A to the RxFrameNtf time of Node-C.
here I am sharing the simulation code, trace.json file, and a pdf containing the timing of the required events at each node.