Z-Stack API Reference
3.2.0
|
#include <zstackmsg.h>
Data Fields | |
zstackmsg_HDR_t | hdr |
zstack_devUpdateNeighborTxCostReq_t * | pReq |
Send this message to the ZStack Thread to Update a neighbor's txCost. If the neighbor exists (in the neighbor table), it will update the cost, if it doesn't exist, one will be created. This function will only exist on routers. Also, you shouldn't call this function to add end devices to the neighbor table. The command ID for this message is zstackmsg_CmdIDs_DEV_UPDATE_NEIGHBOR_TXCOST_REQ.
zstackmsg_HDR_t hdr |
message header
event field must be set to zstack_CmdIDs
Message command fields