Applicable VersionsNetSim StandardNetSim Pro



Ranks in NetSim RPL are calculated based on an objective function which takes into account, the link quality, RPL_MAXIMUM_RANK_INCREMENT and RPL_MINIMUM_RANK_INCREMENT parameters.

These calculations are done in the function compute_candidate_rank(NETSIM_ID d, PRPL_NEIGHBOR neighbor), which is present in the Neighbor.c file of the RPL project.


Note that NetSim supports only single sink node (RPL Root) in IOT


Related articles:

how-to-view-a-node%E2%80%99s-rank-parent-and-sibling-in-rpl-based-iot-simulations-

how-to-access-the-neighbor-list-of-rpl-nodes-in-netsim-iot-