se.h 3.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. /**************************************************************************************************
  2. Filename: se.h
  3. Revised: $Date: 2012-04-02 17:02:19 -0700 (Mon, 02 Apr 2012) $
  4. Revision: $Revision: 29996 $
  5. Description: This file contains the Advanced Metering Initiative (SE)
  6. Profile definitions.
  7. Copyright 2006-2012 Texas Instruments Incorporated. All rights reserved.
  8. IMPORTANT: Your use of this Software is limited to those specific rights
  9. granted under the terms of a software license agreement between the user
  10. who downloaded the software, his/her employer (which must be your employer)
  11. and Texas Instruments Incorporated (the "License"). You may not use this
  12. Software unless you agree to abide by the terms of the License. The License
  13. limits your use, and you acknowledge, that the Software may not be modified,
  14. copied or distributed unless embedded on a Texas Instruments microcontroller
  15. or used solely and exclusively in conjunction with a Texas Instruments radio
  16. frequency transceiver, which is integrated into your product. Other than for
  17. the foregoing purpose, you may not use, reproduce, copy, prepare derivative
  18. works of, modify, distribute, perform, display or sell this Software and/or
  19. its documentation for any purpose.
  20. YOU FURTHER ACKNOWLEDGE AND AGREE THAT THE SOFTWARE AND DOCUMENTATION ARE
  21. PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED,
  22. INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY, TITLE,
  23. NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL
  24. TEXAS INSTRUMENTS OR ITS LICENSORS BE LIABLE OR OBLIGATED UNDER CONTRACT,
  25. NEGLIGENCE, STRICT LIABILITY, CONTRIBUTION, BREACH OF WARRANTY, OR OTHER
  26. LEGAL EQUITABLE THEORY ANY DIRECT OR INDIRECT DAMAGES OR EXPENSES
  27. INCLUDING BUT NOT LIMITED TO ANY INCIDENTAL, SPECIAL, INDIRECT, PUNITIVE
  28. OR CONSEQUENTIAL DAMAGES, LOST PROFITS OR LOST DATA, COST OF PROCUREMENT
  29. OF SUBSTITUTE GOODS, TECHNOLOGY, SERVICES, OR ANY CLAIMS BY THIRD PARTIES
  30. (INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF), OR OTHER SIMILAR COSTS.
  31. Should you have any questions regarding your right to use this Software,
  32. contact Texas Instruments Incorporated at www.TI.com.
  33. **************************************************************************************************/
  34. #ifndef SE_H
  35. #define SE_H
  36. #ifdef __cplusplus
  37. extern "C"
  38. {
  39. #endif
  40. /*********************************************************************
  41. * INCLUDES
  42. */
  43. /*********************************************************************
  44. * CONSTANTS
  45. */
  46. // Zigbee SE Profile Identification
  47. #define ZCL_SE_PROFILE_ID 0x0109
  48. // Generic Device IDs
  49. #define ZCL_SE_DEVICEID_RANGE_EXTENDER 0x0008
  50. // SE Device IDs
  51. #define ZCL_SE_DEVICEID_ESP 0x0500
  52. #define ZCL_SE_DEVICEID_METER 0x0501
  53. #define ZCL_SE_DEVICEID_IN_PREMISE_DISPLAY 0x0502
  54. #define ZCL_SE_DEVICEID_PCT 0x0503
  55. #define ZCL_SE_DEVICEID_LOAD_CTRL_EXTENSION 0x0504
  56. #define ZCL_SE_DEVICEID_SMART_APPLIANCE 0x0505
  57. #define ZCL_SE_DEVICEID_PREPAY_TERMINAL 0x0506
  58. #define ZCL_SE_DEVICEID_PHYSICAL 0x0507
  59. /*********************************************************************
  60. * MACROS
  61. */
  62. /*********************************************************************
  63. * TYPEDEFS
  64. */
  65. /*********************************************************************
  66. * FUNCTIONS
  67. */
  68. /*
  69. * ZCL SE Profile initialization function
  70. */
  71. extern void zclSE_Init( SimpleDescriptionFormat_t *simpleDesc );
  72. /*********************************************************************
  73. *********************************************************************/
  74. #ifdef __cplusplus
  75. }
  76. #endif
  77. #endif /* ZCL_SE_H */