How to calculate trust between Cooja nodes using Beta Distribution?

By Johnb961 ·
I am working on a trust based reputation system on IoT nodes using Cooja on Contiki OS. The thing is that I need to calculate the trust using Beta dist. by dividing the #of forwarded packets / (#of forwarded packets + #of dropped packets) and to do so I need to count the number of successfully forwarded packets and the number of dropped packets by each node. I am using the RPL UDP example as provided by Contiki. How am I able to do that ? And in which Contiki file should I apply the changes ?

Thank You.
Thread display: Collapse - | Expand +

All Answers

Share your knowledge

Related Discussions

Related Forums