I am working on a trust reputation system in Contiki 3.0 using Cooja And i need to find a way to calculate trust between nodes and to do so I need to count dropped packets during my RPL UDP Simulation.
Thank You Mohammed, I was hoping to find the .c file that gives me the possibility to see the routing tree formation. So that every node can observe its one hop neighbor behavior ( Successfully Forwarded or Dropped Packet).
You can write a cooja script and read out the serial output during simulation. There is a simple logic to calculate PDR that you can code to get desired results.