Z-Stack API Reference  3.2.0
_zstackmsg_devupdateneighbortxcostreq_t Struct Reference

#include <zstackmsg.h>

Data Fields

zstackmsg_HDR_t hdr
 
zstack_devUpdateNeighborTxCostReq_tpReq
 

Detailed Description

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.

Field Documentation

§ hdr

message header
event field must be set to zstack_CmdIDs

§ pReq

Message command fields


The documentation for this struct was generated from the following file: