?? democonfig.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 + -