📄 homedemoprofile.h
字号:
/*****************************************************************************
*
* MODULE: Home Demo App Profile
*
* COMPONENT: $RCSfile: HomeDemoProfile.h,v $
*
* VERSION: $Name: $
*
* REVISION: $Revision: 1.4 $
*
* DATED: $Date: 2007/06/21 08:14:41 $
*
* STATUS: $State: Exp $
*
* AUTHOR: CJG
*
* DESCRIPTION:
*
* LAST MODIFIED BY: $Author: jahme $
* $Modtime: $
*
****************************************************************************
*
* This software is owned by Jennic and/or its supplier and is protected
* under applicable copyright laws. All rights are reserved. We grant You,
* and any third parties, a license to use this software solely and
* exclusively on Jennic products. You, and any third parties must reproduce
* the copyright and warranty notice and any other legend of ownership on each
* copy or partial copy of the software.
*
* THIS SOFTWARE IS PROVIDED "AS IS". JENNIC MAKES NO WARRANTIES, WHETHER
* EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE,
* ACCURACY OR LACK OF NEGLIGENCE. JENNIC SHALL NOT, IN ANY CIRCUMSTANCES,
* BE LIABLE FOR ANY DAMAGES, INCLUDING, BUT NOT LIMITED TO, SPECIAL,
* INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR ANY REASON WHATSOEVER.
*
* Copyright Jennic Ltd 2005, 2006, 2007. All rights reserved
*
****************************************************************************/
#ifndef DEMO_APP_PROFILE_H
#define DEMO_APP_PROFILE_H
#ifdef __cplusplus
extern "C" {
#endif //__cplusplus
/****************************************************************************/
/*** Include Files ***/
/****************************************************************************/
/****************************************************************************/
/*** Macro Definitions ***/
/****************************************************************************/
#define DAP_PROFILE_ID 0x123
#define DAP_CID_SENSOR_READINGS 0x12
#define DAP_CID_SWITCH 0x13
#define DAP_ATTR_SENSOR_DATA 0x01
#define CHANNEL_DEFAULT 18
#define DEMO_PAN_ID 0xc415
/****************************************************************************/
/*** Type Definitions ***/
/****************************************************************************/
/****************************************************************************/
/*** Exported Functions ***/
/****************************************************************************/
/****************************************************************************/
/*** Exported Variables ***/
/****************************************************************************/
#if defined __cplusplus
}
#endif
#endif /* DEMO_APP_PROFILE_H */
/****************************************************************************/
/*** END OF FILE ***/
/****************************************************************************/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -