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

📄 democonfig.h

📁 此程式庫有許多的zigbee程式源碼
💻 H
字号:
/***************************************************************************** * * MODULE:              Demo configuration * * COMPONENT:           $RCSfile: DemoConfig.h,v $ * * VERSION:             $Name: zed003_cd $ * * REVISION:            $Revision: 1.3 $ * * DATED:               $Date: 2006/02/16 13:37:48 $ * * STATUS:              $State: Exp $ * * AUTHOR:              CJG * * DESCRIPTION: * Configuration settings for demo system * * LAST MODIFIED BY:    $Author: cjg $ *                      $Modtime: $ * **************************************************************************** * *  (c) Copyright JENNIC Ltd 2005 * ****************************************************************************/#ifndef  DEMO_CONFIG_INCLUDED#define  DEMO_CONFIG_INCLUDED#if defined __cplusplusextern "C" {#endif/****************************************************************************//***        Include Files                                                 ***//****************************************************************************/#include "jendefs.h"/****************************************************************************//***        Macro Definitions                                             ***//****************************************************************************//* Number of points in graph of previous values. Must be multiple of 2 */#define DEMO_HISTORY_LEN                  32/* Number of endpoints in system */#define DEMO_ENDPOINTS                    4/* Maximum size of labels for each endpoint */#define DEMO_NAME_MAX_LEN                 40/* First byte of payload from coordinator, as frame identity */#define DEMO_BEACON_IDENTIFIER            0xb5/* First byte of payload from endpoint, as frame identity */#define DEMO_ENDPOINT_IDENTIFIER          0x5b/* PAN ID on which demo operates */#define DEMO_PAN_ID                       0x0e1a/* Coordinator short address */#define DEMO_COORD_ADDR                   0x0e02/* Endpoint short address base */#define DEMO_ENDPOINT_ADDR_BASE           0x0e01/* Extended addresses */#define DEMO_EXT_ADDR_HI                  0x00000f1c#define DEMO_COORD_EXT_ADDR_LO            0x00000000#define DEMO_ENDPOINT_EXT_ADDR_LO_BASE    0x00000001/* Channels available */#define CHANNEL_MIN                       11#define CHANNEL_MID                       18#define CHANNEL_MAX                       26#define DEMO_CHANNEL_BITMAP               0x7fff800/****************************************************************************//***        Type Definitions                                              ***//****************************************************************************/typedef enum{    E_SENSOR_TEMP = 0,    E_SENSOR_HTS,    E_SENSOR_ALS,    DEMO_SENSOR_LIST_LEN} teSensor;/****************************************************************************//***        Exported Functions                                            ***//****************************************************************************//****************************************************************************//***        Exported Variables                                            ***//****************************************************************************/#if defined __cplusplus}#endif#endif  /* DEMO_CONFIG_INCLUDED *//****************************************************************************//***        END OF FILE                                                   ***//****************************************************************************/

⌨️ 快捷键说明

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