Closed nyrahul closed 7 years ago
Nodes above 10 nodeid are not shown connected. Steps to produce:
/* configure number of neighbors and routes */ #define NBR_TABLE_CONF_MAX_NEIGHBORS 100 #define UIP_CONF_MAX_ROUTES 100
thirdparty/contiki$ make -C examples/ipv6/rpl-udp TARGET=whitefield
numOfNodes=20 fieldX=400 fieldY=400 topologyType=grid gridWidth=4
whitefield$ ./invoke_whitefield.sh src/wf.cfg
whitefield$ ./canvas/canvas.py
Output should show up as:
Most likely the issue seems to be with the Canvas assumes nodeid's in decimal format in the default route IP ...
Fixed the issue by converting hex to decimal after reading cmd_def_route.
Nodes above 10 nodeid are not shown connected. Steps to produce:
Output should show up as: