How to calculate trust between Cooja nodes using Beta Distribution?
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 ?
Share your knowledge Answer This