f8wZCL.cfg 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  1. /*
  2. * f8wZCL.cfg
  3. *
  4. * Compiler command-line options used to define a ZigBee Cluster
  5. * Library (ZCL) poject. To move an option from here to the project
  6. * file, comment out or delete the option from this file and enter
  7. * it into the "Define Symbols" box under the Preprocessor tab of
  8. * the C/C++ Compiler Project Options. New user defined options may
  9. * be added to this file, as necessary.
  10. *
  11. * Each macro is prefixed with '-D'. The entries are to be constructed
  12. * as if they are to be on the compiler command line invocation (which
  13. * they are).
  14. */
  15. /****************************************
  16. * The following are for Foundation only
  17. ****************************************/
  18. /* ZCL Read enables the following commands:
  19. * 1) Read Attributes
  20. * 2) Read Attributes Response
  21. */
  22. -DZCL_READ
  23. /* ZCL Write enables the following commands:
  24. * 1) Write Attributes
  25. * 2) Write Attributes Undivided
  26. * 3) Write Attributes Response
  27. * 4) Write Attributes No Response
  28. */
  29. -DZCL_WRITE
  30. /* ZCL Report enables the following commands:
  31. * 1) Configure Reporting
  32. * 2) Configure Reporting Response
  33. * 3) Read Reporting Response
  34. * 4) Read Reporting Configuration Response
  35. * 5) Report Attributes
  36. */
  37. //-DZCL_REPORT
  38. /* ZCL Discover enables the following commands:
  39. * 1) Discover Attributes
  40. * 2) Discover Attributes Response
  41. */
  42. //-DZCL_DISCOVER
  43. /**********************************************
  44. * The following are for General clusters only
  45. **********************************************/
  46. /* ZCL Basic enables the following command:
  47. * 1) Reset to Factory Defaults
  48. */
  49. -DZCL_BASIC
  50. /* ZCL Identify enables the following commands:
  51. * 1) Identify Query
  52. * 2) Identify Query Response
  53. */
  54. -DZCL_IDENTIFY
  55. /* ZCL Groups enables the following commands:
  56. * 1) Add Group
  57. * 2) View Group
  58. * 3) Get Group Membership
  59. * 4) Remove Group
  60. * 5) Remove All Groups
  61. * 6) Add Group If Identifying
  62. * 7) Add Group Response
  63. * 8) View Group Response
  64. * 9) Get Group Membership Response
  65. * 10) Remove Group Response
  66. */
  67. //-DZCL_GROUPS
  68. /* ZCL Scenes enables the following commands:
  69. * 1) Add Scene
  70. * 2) View Scene
  71. * 3) Remove Group
  72. * 4) Remove All Groups
  73. * 5) Store Scene
  74. * 6) Recall Scene
  75. * 7) Get Scene Membership
  76. * 8) Add Scene Response
  77. * 9) View Scene Response
  78. * 10) Remove Scene Response
  79. * 11) Remove All Scenes Response
  80. * 12) Store Scene Response
  81. * 13) Get Scene Membership Response
  82. */
  83. //-DZCL_SCENES
  84. /* ZCL On/Off enables the following commands:
  85. * 1) On
  86. * 2) Off
  87. * 3) Toggle
  88. */
  89. -DZCL_ON_OFF
  90. /* ZCL Level Control enables the following commands:
  91. * 1) Move to Level
  92. * 2) Move
  93. * 3) Step
  94. */
  95. //-DZCL_LEVEL_CTRL
  96. /* ZCL Alarms enables the following commands:
  97. * 1) Reset Alarm
  98. * 2) Reset All Alarms
  99. * 3) Get Alarm
  100. * 4) Reset Alarm Log
  101. * 5) Alarm
  102. * 6) Get Alarm Response
  103. */
  104. //-DZCL_ALARMS
  105. /* ZCL Location enables the following commands:
  106. * 1) Set Absolute Location
  107. * 2) Set Device Configuration
  108. * 3) Get Device Configuration
  109. * 4) Get Location Data
  110. * 5) Device Configuration Response
  111. * 6) Location Data Response
  112. * 7) Location Data Notification
  113. * 8) Compact Location Data Notification
  114. * 9) RSSI Ping
  115. */
  116. //-DZCL_LOCATION
  117. /* ZCL Door Lock enables the following commands:
  118. * 1) Door Lock
  119. * 2) Door Lock Response
  120. * 3) Door Unlock
  121. * 4) Door Unlock Response
  122. */
  123. //-DZCL_DOORLOCK
  124. /* ZCL Window Covering enables the following commands:
  125. * 1) Up / Open
  126. * 2) Down / Close
  127. * 3) Stop
  128. * 4) Go to Lift Setpoint
  129. * 5) Go to Lift Value
  130. * 6) Go to Lift Percentage
  131. * 7) Go to Tilt Setpoint
  132. * 8) Go to Tilt Value
  133. * 9) Go to Tilt Percentage
  134. * 10) Program Setpoint
  135. */
  136. //-DZCL_WINDOWCOVERING
  137. /******************************************
  138. * The following are for key establishment
  139. *****************************************/
  140. /*
  141. * ZCL_KEY_ESTABLISH enables the ZCL Key Establishment Cluster
  142. */
  143. -DZCL_KEY_ESTABLISH
  144. /* The following constants are used to config the time-out value,
  145. * i.e. during the key establishment, how long should the other
  146. * device to wait before it times out the key establishment session
  147. */
  148. -DZCL_KEY_ESTABLISHMENT_KEY_GENERATE_TIMEOUT=4
  149. -DZCL_KEY_ESTABLISHMENT_MAC_GENERATE_TIMEOUT=10
  150. -DZCL_KEY_ESTABLISHMENT_EKEY_GENERATE_TIMEOUT=10
  151. /**********************************************************
  152. * The following are for Security and Safety clusters only
  153. **********************************************************/
  154. /* ZCL Zone enables the following commands:
  155. * 1) Zone Status Change Notification
  156. * 2) Zone Enroll Request
  157. * 3) Zone Enroll Response
  158. */
  159. //-DZCL_ZONE
  160. /* ZCL ACE enables the following commands:
  161. * 1) Arm
  162. * 2) Bypass
  163. * 3) Emergency
  164. * 4) Fire
  165. * 5) Panic
  166. * 6) Get Zone ID Map
  167. * 7) Get Zone Information
  168. * 8) Arm Response
  169. * 9) Get Zone ID Map Response
  170. * 10) Get Zone Information Response
  171. */
  172. //-DZCL_ACE
  173. /* ZCL WD enables the following commands:
  174. * 1) Start Warning
  175. * 2) Squawk
  176. */
  177. //-DZCL_WD
  178. /**********************************************************
  179. * The following are for SE clusters only
  180. **********************************************************/
  181. /* ZCL_LOAD_CONTROL enables the following commands:
  182. * 1) Load Control Event
  183. * 2) Cancel Load Control Event
  184. * 3) Cancel All Load Control Event
  185. * 4) Report Event Status
  186. */
  187. -DZCL_LOAD_CONTROL
  188. /* ZCL_SIMPLE_METERING enables the following commands:
  189. * 1) Get Profile Command
  190. * 2) Get Profile Response
  191. */
  192. -DZCL_SIMPLE_METERING
  193. /* ZCL_PRICING enables the following commands:
  194. * 1) Get Current Price
  195. * 2) Get Scheduled Price
  196. * 3) Publish Price
  197. */
  198. -DZCL_PRICING
  199. /* ZCL_MESSAGE enables the following commands:
  200. * 1) Display Message
  201. * 2) Cancel Message
  202. * 3) Get Last Message
  203. * 4) Message Confirmation
  204. */
  205. -DZCL_MESSAGE
  206. /* ZCL_TUNNELING enables the following commands:
  207. * 1) Request Tunnel
  208. * 2) Request Tunnel Response
  209. * 3) Close Tunnel
  210. * 4) Transfer Data
  211. * 5) Transfer Data Error
  212. * 6) Ack Transfer Data
  213. * 7) Ready Data
  214. * 8) Get Supported Tunnel Protocols
  215. * 9) Supported Tunnel Protocols Response
  216. */
  217. -DZCL_TUNNELING
  218. /* ZCL_PREPAYMENT enables the following commands:
  219. * 1) Select Available Emergency Credit
  220. * 2) Change Supply
  221. * 3) Supply Status Response
  222. */
  223. //-DZCL_PREPAYMENT
  224. /* ZCL_TOU enables the following commands:
  225. * 1) Publish Calendar
  226. * 2) Publish Day Profile
  227. * 3) Publish Week Profile
  228. * 4) Publish Seasons
  229. * 5) Publish Special Days
  230. * 6) Get Calendar
  231. * 7) Get Day Profile
  232. * 8) Get Week Profiles
  233. * 9) Get Seasons
  234. * 10) Get Special Days
  235. */
  236. -DZCL_TOU
  237. /* ZCL_DEVICE_MGMT enables the following commands:
  238. * 1) Get Change Of Tenancy
  239. * 2) Get Change Of Supplier
  240. * 3) Get Change Supply
  241. * 4) Supply Status Response
  242. * 5) Get Password
  243. * 6) Publish Change of Tenancy
  244. * 7) Publish Change of Supplier
  245. * 8) Change Supply
  246. * 9) Change Password
  247. * 10) Local Change Supply
  248. */
  249. -DZCL_DEVICE_MGMT