📄 tablesed.h
字号:
/***************************************************************************** * * MODULE: TablesED * * COMPONENT: TablesED.h,v * * VERSION: ZB_1v10rc2_for_Jenie * * REVISION: 1.7 * * DATED: 2007/11/26 15:37:39 * * STATUS: Exp * * AUTHOR: GPfef * * DESCRIPTION: * Additional definitions for End Device nieghbour table access * * CHANGE HISTORY: * * TablesED.h,v * * * * * * * * LAST MODIFIED BY: gpfef * $Modtime: $ * **************************************************************************** * * This software is owned by Jennic and/or its supplier and is protected * under applicable copyright laws. All rights are reserved. We grant You, * and any third parties, a license to use this software solely and * exclusively on Jennic products. You, and any third parties must reproduce * the copyright and warranty notice and any other legend of ownership on * each copy or partial copy of the software. * * THIS SOFTWARE IS PROVIDED "AS IS". JENNIC MAKES NO WARRANTIES, WHETHER * EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, * ACCURACY OR LACK OF NEGLIGENCE. JENNIC SHALL NOT, IN ANY CIRCUMSTANCES, BE * LIABLE FOR ANY DAMAGES, INCLUDING, BUT NOT LIMITED TO, SPECIAL, * INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR ANY REASON WHATSOEVER. * * Copyright Jennic Ltd 2005, 2006. All rights reserved * ****************************************************************************/#ifndef TABLES_ED_INCLUDED#define TABLES_ED_INCLUDED/****************************************************************************//*** Include Files ***//****************************************************************************//****************************************************************************//*** Macro Definitions ***//****************************************************************************/#define NWK_SIZE_NEIGHBORTABLE 8/****************************************************************************//*** Type Definitions ***//****************************************************************************/typedef struct{ uint8 nwkSequenceNumber; uint8 nwkPassiveAckTimeout; //! Broadcast Passive ACK Timeout in second uint8 nwkMaxBroadcastRetries; //! The maximum time duration in seconds allowed for the parent and all child devices to retransmit a broadcast message (passive acknowledgment timeout). uint8 nwkMaxChildren; // Range : 0 ~ nwkcMaxChildrenLimit uint8 nwkMaxDepth; // Range : 0 ~ nwkcMaxDepth uint8 nwkMaxRouters; // Range : 0 ~ nwkcMaxRoutersLimit NWK_NeighborTable_s *nwkNeighborTable; // NWK_SIZE_NEIGHBORTABLE is changeable uint8 nwkNeighborTableSize; uint8 nwkNetworkBroadcastDeliveryTime; //! Broadcast Delivery Timeout in second NWK_CapabilityInformation_s nwkCapabilityInformation; bool_t nwkSymLink; bool_t nwkUseTreeRouting; bool_t nwkDistributingBroadcastEndDevice; //! TRUE or FALSE, which turns on/off distributing broadcasts to End Devices. not declared in Spec. bool_t nwkAckedBroadcastEndDevice; //! TRUE or FALSE, which choose Acknowledged Transmission or not ACKed Transmisson when distributing broadcasts to End Devices. not declared in Spec. uint8 nwkRouteRepairThreshold; //! ( Range : 0 ~ nwkcRepairThreshold ) Maximum number of allowed communication errors after which the route repair mechanism is initiated. bool_t nwkReuseShortAddress; //! TRUE or FALSE, which choose Re-Use Short-Address in Neighbor Table, delete or not Neighbor Table when receipt Leave Indication uint8 nwkReservedTransactionCount; //! ( Range : 0 ~ nwkcMaxMacRequestCount-1 ) Number of Reserved Transaction for Unicast Data Frame uint8 nwkReservedRoutingTableCount; //! ( Range : 0 ~ NWK_SIZE_ROUTINGTABLE ) Number of Reserve Routing Table uint8 nwkBTTSize; MAC_ExtAddr_s nwkExtAddrLocal; bool_t nwkDelNeighborTableWhenJoinFailed; // If TRUE, the entry of neighbor table will be deleted when association is failed}NWK_IB_s;/****************************************************************************//*** Exported Functions ***//****************************************************************************/extern PUBLIC NWK_IB_s gsNIB;/****************************************************************************//*** Exported Variables ***//****************************************************************************/#endif /* TABLES_ED_INCLUDED *//****************************************************************************//*** END OF FILE ***//****************************************************************************/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -