RSSI indicates the strength of the received signal from a node. It will help you how to print the RSSI values of a node in routing process.
Open the file location.
contiki/core/net/rpl/rpl-icmp6.c file
Include the header file.
#include “cc2420.h”
Add this line
rss_val = cc2420_last_rssi;