⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 zigbeestructures.h

📁 基于ZIGBEE协议通讯的开关程序
💻 H
字号:
/*
 ** ============================================================================
 **
 ** FILE
 **  $Id: ZigbeeStructures.h,v 1.3 2005/09/05 13:44:10 burnett Exp $
 **
 ** DESCRIPTION
 **  Definitions of structures passed across ZigBee interface
 **
 ** CREATED
 **  Peter Burnett
 **
 ** COPYRIGHT
 ** Copyright 2005 Integration Associates Inc.  All rights reserved.
 **
 ** LIMITED USE LICENSE.  By using this software, the user agrees to the terms of the 
 **                       following license.  If the user does not agree to these terms, 
 **                       then this software should be returned within 30 days and a full 
 **                       refund of the purchase price or license fee will provided.  
 **                       Integration Associates hereby grants a license to the user on the 
 **                       following terms and conditions:  The user may use, copy, modify, 
 **                       revise, translate, abridge, condense, expand, collect, compile, 
 **                       link, recast, distribute, transform or adapt this software solely 
 **                       in connection with the development of products incorporating 
 **                       integrated circuits sold by Integration Associates.  Any other use 
 **                       for any other purpose is expressly prohibited with the prior written 
 **                       consent of Integration Associates.
 **
 ** Any copy or modification made must satisfy the following conditions:
 ** 
 ** 1. Both the copyright notice and this permission notice appear in all copies of the software, 
 **    derivative works or modified versions, and any portions thereof, and that both notices 
 **    appear in supporting documentation.
 **
 ** 2. All copies of the software shall contain the following acknowledgement: "Portions of this 
 **    software are used under license from Integration Associates Inc. and are copyrighted."
 **
 ** 3  Neither the name of Integration Associates Inc. nor any of its subsidiaries may be used 
 **    to endorse or promote products derived from this software without specific prior written 
 **    permission.
 **
 ** THIS SOFTWARE IS PROVIDED BY "AS IS" AND ALL WARRANTIES OF ANY KIND, INCLUDING THE IMPLIED 
 ** WARRANTIES OF MERCHANTABILITY AND FITNESS FOR USE, ARE EXPRESSLY DISCLAIMED.  THE DEVELOPER 
 ** SHALL NOT BE LIABLE FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.  
 ** THIS SOFTWARE MAY NOT BE USED IN PRODUCTS INTENDED FOR USE IN IMPLANTATION OR OTHER DIRECT 
 ** LIFE SUPPORT APPLICATIONS WHERE MALFUNCTION MAY RESULT IN THE DIRECT PHYSICAL HARM OR INJURY 
 ** TO PERSONS.  ALL SUCH IS USE IS EXPRESSLY PROHIBITED.
 **
 **
 ** Edit History:
 **
 **	$Log: ZigbeeStructures.h,v $
 **	Revision 1.3  2005/09/05 13:44:10  burnett
 **	copyright notice
 **	
 **	Revision 1.2  2005/08/22 11:11:00  burnett
 **	bug 1483 Attribute 0xFE is for network layer
 **	
 **	Revision 1.1  2005/08/04 12:10:45  burnett
 **	First version
 **	
 **	
 **	
 **
 ** ============================================================================
 **/

#ifndef ZIGBEESTRUCTURES_H
#define ZIGBEESTRUCTURES_H

/*
 ** ============================================================================
 ** System include files
 ** ============================================================================
 */


/*
 ** ============================================================================
 ** Project include files
 ** ============================================================================
 */


/*
 ** ============================================================================
 ** Definitions 
 ** ============================================================================
 */

/* Information base definitions */

#define ZIB_STK_VERSION_STRING                  0xEF
#define ZIB_CONFIG_NODE_DESCRIPTOR              0xF0
#define ZIB_CONFIG_POWER_DESCRIPTOR             0xF1
#define ZIB_CONFIG_SIMPLE_DESCRIPTOR            0xF2
#define ZIB_CONFIG_NWK_MODE_AND_PARAMS          0xF3
#define ZIB_CONFIG_NWK_SCAN_ATTEMPTS            0xF4
#define ZIB_CONFIG_NWK_TIME_BTWN_SCANS          0xF5
#define ZIB_CONFIG_COMPLEX_DESCRIPTOR           0xF6
#define ZIB_CONFIG_USER_DESCRIPTOR              0xF7
#define ZIB_CONFIG_MAX_BIND                     0xF8
#define ZIB_CONFIG_MASTER_KEY                   0xF9
#define ZIB_CONFIG_ENDDEV_BIND_TIMEOUT          0xFA
#define ZIB_CONFIG_PERMIT_JOIN_DURATION         0xFB
#define ZIB_CONFIG_NWK_SECURITY_LEVEL           0xFC
#define ZIB_CONFIG_NWK_SECURE_ALL_FRAMES        0xFD
#define ZIB_CONFIG_PANID                        0xFF

#define ZIB_STK_DISABLEMACSECURITY              0xE0
#define ZIB_STK_TC_SMODE                        0xE1
#define ZIB_STK_PRECONFIGURED_MKEY              0xE2
#define ZIB_STK_PRECONFIGURED_AKEY              0xE3
#define ZIB_STK_PRECONFIGURED_NKEY              0xE4
#define ZIB_STK_APP_MKEYS_SUPPORTED             0xE5
#define ZIB_CONFIG_DEVICE_KEY_PAIR              0xE6

#define PIB_IEEE_ADDRESS                        0x6F
#define NIB_MAXCHILDREN                         0x84
#define NIB_MAXROUTERS                          0x86
#define NIB_MAXDEPTH                            0x85
#define NIB_POLLINTERVAL						0x9C

/*
 ** ============================================================================
 ** Function Prototypes
 ** ============================================================================
 */




#endif /* ZIGBEESTRUCTURES_H */

/*
 ** ============================================================================
 ** End of $Id: ZigbeeStructures.h,v 1.3 2005/09/05 13:44:10 burnett Exp $
 ** ============================================================================
 */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -