www.pudn.com > lightlamp.rar > bisync_tokens.h


/* 
** ============================================================================ 
** 
** FILE 
**  $Id: bisync_tokens.h,v 1.5 2005/09/09 08:57:41 burnett Exp $ 
** 
** CREATED 
**  Peter Burnett Integration UK Ltd 
** 
** 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: bisync_tokens.h,v $ 
**	Revision 1.5  2005/09/09 08:57:41  burnett 
**	bug 1550 change name of ZDO_PERMIT_JOINING to ZDO_MGMT_PERMIT_JOINING 
**	 
**	Revision 1.4  2005/09/05 13:37:27  marsden 
**	made uchar unsigned char for compatibility 
**	 
**	Revision 1.3  2005/07/28 11:45:44  burnett 
**	update copyright notice 
**	 
**	Revision 1.2  2005/07/22 09:17:32  burnett 
**	bugzilla 1465 
**	 
**	Revision 1.1  2005/07/18 14:21:12  burnett 
**	1st version 
** 
** ============================================================================ 
**/ 
 
#ifndef BISYNC_TOKENS_H 
#define BISYNC_TOKENS_H 
 
/* 
 ** ============================================================================ 
 ** System include files 
 ** ============================================================================ 
 */ 
 
 
/* 
 ** ============================================================================ 
 ** Project include files 
 ** ============================================================================ 
 */ 
 
 
/* 
 ** ============================================================================ 
 ** Definitions  
 ** ============================================================================ 
 */ 
 
/**************************************** 
 * ZDO Message Types 
 ****************************************/ 
 
#define ZDO_NWK_ADDR_REQUEST                    (unsigned char) 0xC0 
#define ZDO_NWK_ADDR_CONFIRM                    (unsigned char) 0xC1 
#define ZDO_IEEE_ADDR_REQUEST                   (unsigned char) 0xC2 
#define ZDO_IEEE_ADDR_CONFIRM                   (unsigned char) 0xC3 
#define ZDO_NODE_DESC_REQUEST                   (unsigned char) 0xC4 
#define ZDO_NODE_DESC_CONFIRM                   (unsigned char) 0xC5 
#define ZDO_POWER_DESC_REQUEST                  (unsigned char) 0xC6 
#define ZDO_POWER_DESC_CONFIRM                  (unsigned char) 0xC7 
#define ZDO_SIMPLE_DESC_REQUEST                 (unsigned char) 0xC8 
#define ZDO_SIMPLE_DESC_CONFIRM                 (unsigned char) 0xC9 
#define ZDO_ACTIVE_EP_DESC_REQUEST              (unsigned char) 0xCA 
#define ZDO_ACTIVE_EP_DESC_CONFIRM              (unsigned char) 0xCB 
#define ZDO_MATCH_DESC_REQUEST                  (unsigned char) 0xCC 
#define ZDO_MATCH_DESC_CONFIRM                  (unsigned char) 0xCD 
#define ZDO_COMPLEX_DESC_REQUEST                (unsigned char) 0xCE 
#define ZDO_COMPLEX_DESC_CONFIRM                (unsigned char) 0xCF 
#define ZDO_USER_DESC_REQUEST                   (unsigned char) 0xD0 
#define ZDO_USER_DESC_CONFIRM                   (unsigned char) 0xD1 
#define ZDO_DISCOVERY_REGISTER_REQUEST          (unsigned char) 0xD2 
#define ZDO_DISCOVERY_REGISTER_CONFIRM          (unsigned char) 0xD3 
#define ZDO_END_DEVICE_ANNCE_REQUEST            (unsigned char) 0xD4 
#define ZDO_END_DEVICE_ANNCE_CONFIRM            (unsigned char) 0xD5 // Note now obsolete 
#define ZDO_USER_DESC_SET_REQUEST               (unsigned char) 0xE8 
#define ZDO_USER_DESC_SET_CONFIRM               (unsigned char) 0xE9 
#define ZDO_MGMT_PERMIT_JOINING_REQUEST         (unsigned char) 0xEA 
#define ZDO_MGMT_PERMIT_JOINING_CONFIRM         (unsigned char) 0xEB 
 
#define ZDO_END_DEVICE_BIND_REQUEST             (unsigned char) 0xD6 
#define ZDO_END_DEVICE_BIND_CONFIRM             (unsigned char) 0xD7 
#define ZDO_BIND_REQUEST                        (unsigned char) 0xD8 
#define ZDO_BIND_CONFIRM                        (unsigned char) 0xD9 
#define ZDO_UNBIND_REQUEST                      (unsigned char) 0xDA 
#define ZDO_UNBIND_CONFIRM                      (unsigned char) 0xDB 
 
#define ZDO_MGMT_NWK_DISC_REQUEST               (unsigned char) 0xDC 
#define ZDO_MGMT_NWK_DISC_CONFIRM               (unsigned char) 0xDD 
#define ZDO_MGMT_LQI_REQUEST                    (unsigned char) 0xDE 
#define ZDO_MGMT_LQI_CONFIRM                    (unsigned char) 0xDF 
#define ZDO_MGMT_RTG_REQUEST                    (unsigned char) 0xE0 
#define ZDO_MGMT_RTG_CONFIRM                    (unsigned char) 0xE1 
#define ZDO_MGMT_BIND_REQUEST                   (unsigned char) 0xE2 
#define ZDO_MGMT_BIND_CONFIRM                   (unsigned char) 0xE3 
#define ZDO_MGMT_LEAVE_REQUEST                  (unsigned char) 0xE4 
#define ZDO_MGMT_LEAVE_CONFIRM                  (unsigned char) 0xE5 
#define ZDO_MGMT_DIRECT_JOIN_REQUEST            (unsigned char) 0xE6 
#define ZDO_MGMT_DIRECT_JOIN_CONFIRM            (unsigned char) 0xE7 
 
#define ZDO_NLME_PERMIT_JOINING_REQUEST         (unsigned char) 0x21 
#define ZDO_NLME_PERMIT_JOINING_CONFIRM         (unsigned char) 0x22 
#define ZDO_NLME_SYNC_REQUEST                   (unsigned char) 0x23 
#define ZDO_NLME_SYNC_CONFIRM                   (unsigned char) 0x24 
#define ZDO_NLME_LEAVE_REQUEST                  (unsigned char) 0x25 
#define ZDO_NLME_LEAVE_CONFIRM                  (unsigned char) 0x26 
#define ZDO_NLME_NETWORK_DISCOVERY_REQUEST      (unsigned char) 0x27 
#define ZDO_NLME_NETWORK_DISCOVERY_CONFIRM      (unsigned char) 0x28 
#define ZDO_RESET_REQUEST                       (unsigned char) 0x29 
#define ZDO_RESET_CONFIRM                       (unsigned char) 0x2A 
#define ZDO_SET_REQUEST                         (unsigned char) 0x2B 
#define ZDO_SET_CONFIRM                         (unsigned char) 0x2C 
#define ZDO_START_REQUEST                       (unsigned char) 0x2D 
#define ZDO_START_CONFIRM                       (unsigned char) 0x2E 
#define ZDO_NLME_LEAVE_INDICATION               (unsigned char) 0x2F 
#define ZDO_NLME_SYNC_INDICATION                (unsigned char) 0x20 
#define ZDO_GET_REQUEST                         (unsigned char) 0xEC 
#define ZDO_GET_CONFIRM                         (unsigned char) 0xED 
#define ZDO_EVENT_REQUEST                       (unsigned char) 0xEE 
#define ZDO_EVENT_INDICATION                    (unsigned char) 0xEF 
 
#define AF_INDIRECT_REQUEST                     (unsigned char) 0xF0 
#define AF_INDIRECT_CONFIRM                     (unsigned char) 0xF1 
#define AF_INDIRECT_INDICATION                  (unsigned char) 0xF2 
#define AF_DIRECT_REQUEST                       (unsigned char) 0xF3 
#define AF_DIRECT_CONFIRM                       (unsigned char) 0xF4 
#define AF_DIRECT_INDICATION                    (unsigned char) 0xF5 
 
 
/* 
 ** ============================================================================ 
 ** Function Prototypes 
 ** ============================================================================ 
 */ 
 
 
#endif /* BISYNC_TOKENS_H */ 
 
/* 
 ** ============================================================================ 
 ** End of $Id: bisync_tokens.h,v 1.5 2005/09/09 08:57:41 burnett Exp $ 
 ** ============================================================================ 
 */