Hello everyone,
I've run into a bit of trouble sending packets from A to B using ad hoc devices. As the
email mentioned, 1) use the correct destination IP/Port, 2) a valid route 3) within the radio range can send the packet. However, it seems I've made a mistake somewhere along the line. Some nodes are unable to receive the packet, while others can without any issue.
I've already checked the relative distances using GetDistanceFrom() and examined the routing table with PrintRoutingTableAllAt(), but everything seems to be in order. I'm starting to wonder if I missed something or did something wrong.
In this image, node 3 and node 4 should be exchanging packets, but for some reason, they are not. Distance is in left part, routing table in the middle, and flow monitor in the right.
The attached file contains my code. Any suggestions or information would be appreciated.
Best regards!