I am implementing a routing protocol using MiXiM(v2.2.1). I have made a few changes to MiXiM.
1) I have added a new mac layer protocol which is the same as csma that is already there in the MiXiM without backoffs.
2) To handle radio states, i would be sending a message from the network layer down to the mac layer where it handles this message and changes the radio state as required.
The simulation hangs suddenly while it is running. I was not able to figure out the reason for it. I have checked for infinite loops, or any bugs in my code but was unable to find any.I also tried running it in normal mode of Tkenv also in Cmdenv but none of these worked.
I think there could be a problem due to BasePhyLayer.
Could you please find what could cause such a hang during the simulation?
-Thanks and regards
Log in to post a comment.