Q: FAQ: AF_DISCV_ROUTE bit in txoptions field (CC2430, CC2420, CC2520, ZigBee, Z-stack)

When the user calls the AF_DataRequest function to send a message over the air, it is recommended that the AF_DISCV_ROUTE bit be set in the txoptions field. If no existing routing table entry exists, this option forces the network layer to automatically perform a route discovery message the very first time the message goes out. A route discovery finds the optimum route to the destination. The disadvantage of not setting this bit is that the route may not be optimized the first time a message is sent.