how to view aodv source code in xbee s2

You can’t but you can use Source Routing with the AR command to determine or view and control the path a packet will take.