zigbee的网络状态有哪些,比如下图中的NWK Network status(0x3)表示什么意思?
我在代码中只找到这些定义,网络状态具体有哪些,能不能详细说明下。
// Status and error codes for extra information
#define NWK_STATUS_PING_RCVD 0x0001
#define NWK_STATUS_ASSOC_CNF 0x0002
#define NWK_STATUS_ED_ADDR 0x0003
#define NWK_STATUS_PARENT_ADDR 0x0004
#define NWK_STATUS_COORD_ADDR 0x0005
#define NWK_STATUS_ROUTER_ADDR 0x0006
#define NWK_STATUS_ORPHAN_RSP 0x0007
#define NWK_ERROR_ASSOC_RSP 0x1001
#define NWK_ERROR_ASSOC_RSP_MF 0x1002
#define NWK_ERROR_ASSOC_CNF_DENIED 0x1003
#define NWK_ERROR_ENERGY_SCAN_FAILED 0x1004
VV:
// Status Codes for Network Status Command Frame#define NWKSTAT_NO_ROUTE_AVAIL 0x00#define NWKSTAT_TREE_LINK_FAILURE 0x01#define NWKSTAT_NONTREE_LINK_FAILURE 0x02#define NWKSTAT_LOW_BATTERY_LEVEL 0x03#define NWKSTAT_NO_ROUTING_CAPACITY 0x04#define NWKSTAT_NO_INDIRECT_CAPACITY 0x05#define NWKSTAT_INDIRECT_TRANS_EXPIRY 0x06#define NWKSTAT_TARGET_DEVICE_UNAVAIL 0x07#define NWKSTAT_TARGET_ADDRESS_UNALLOCATED 0x08#define NWKSTAT_PARENT_LINK_FAILURE 0x09#define NWKSTAT_VALIDATE_ROUTE 0x0a#define NWKSTAT_SOURCE_ROUTE_FAILURE 0x0b#define NWKSTAT_MANY_TO_ONE_ROUTE_FAILURE 0x0c#define NWKSTAT_ADDRESS_CONFLICT 0x0d#define NWKSTAT_VERIFY_ADDRESSES 0x0e#define NWKSTAT_PANID_UPDATE 0x0f#define NWKSTAT_NWK_ADDRESS_UPDATE 0x10#define NWKSTAT_BAD_FRAME_COUNT 0x11#define NWKSTAT_BAD_KEY_SEQ_NUMBER 0x12