config.h

来自「JENNIC无线传感器网络 ZIGBEE 文件资料」· C头文件 代码 · 共 80 行

H
80
字号
/**************************************************************************** * * MODULE:             config.h * * COMPONENT:          $RCSfile: config.h,v $ * * VERSION:            $Name:  $ * * REVISION:           $Revision: 1.3 $ * * DATED:              $Date: 2007/12/04 12:53:25 $ * * STATUS:             $State: Exp $ * * AUTHOR:             Ian Morris * * DESCRIPTION * * CHANGE HISTORY: * * LAST MODIFIED BY:   $Author: mroyc $ *                     $Modtime: $ * * **************************************************************************** * *  (c) Copyright 2000 JENNIC Ltd * ****************************************************************************/#ifndef  CONFIG_H_INCLUDED#define  CONFIG_H_INCLUDED#if defined __cplusplusextern "C" {#endif/****************************************************************************//***        Include Files                                                 ***//****************************************************************************/#include <jendefs.h>#include "services.h"    /****************************************************************************//***        Macro Definitions                                             ***//****************************************************************************//* Network parameters - these MUST be changed to suit the target application */#define PAN_ID                  0x1234U#define CHANNEL                 12#define SERVICE_PROFILE_ID      0x12345678#define POLL_PERIOD             10 /* in 10ths of a second */    /* UTILS config */#define UTILS_UART              E_AHI_UART_0#define UTILS_UART_BAUD_RATE    E_AHI_UART_RATE_19200/****************************************************************************//***        Type Definitions                                              ***//****************************************************************************//****************************************************************************//***        Exported Functions                                            ***//****************************************************************************//****************************************************************************//***        Exported Variables                                            ***//****************************************************************************/#if defined __cplusplus}#endif#endif  /* CONFIG_H_INCLUDED *//****************************************************************************//***        END OF FILE                                                   ***//****************************************************************************/

⌨️ 快捷键说明

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