* @see Net2-WG
*/
+#include "AM.h"
interface CtpInfo {
* through the current parent. The pointer is allocated by the
* caller. If the parent is invalid, return FAIL (no info). The
* caller MUST NOT use the value in parent if the return is not
- * SUCCESS.
+ * SUCCESS. Calling getEtx at the root will set the etx argument to 0.
*/
command error_t getEtx(uint16_t* etx);
command bool isNeighborCongested(am_addr_t n);
command uint8_t numNeighbors();
- command uint16_t getNeighborLinkQuality(uint8_t neighbor);
- command uint16_t getNeighborRouteQuality(uint8_t neighbor);
- command am_addr_t getNeighborAddr(uint8_t neighbor);
+ command uint16_t getNeighborLinkQuality(uint8_t n);
+ command uint16_t getNeighborRouteQuality(uint8_t n);
+ command am_addr_t getNeighborAddr(uint8_t n);
}