antdefines.h 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346
  1. /*
  2. This software is subject to the license described in the License.txt file
  3. included with this software distribution. You may not use this file except in compliance
  4. with this license.
  5. Copyright (c) Dynastream Innovations Inc. 2013
  6. All rights reserved.
  7. */
  8. #ifndef ANTDEFINES_H
  9. #define ANTDEFINES_H
  10. #include "types.h"
  11. //////////////////////////////////////////////
  12. // ANT Message Payload Size
  13. //////////////////////////////////////////////
  14. #define ANT_STANDARD_DATA_PAYLOAD_SIZE ((UCHAR)8)
  15. //////////////////////////////////////////////
  16. // ANT LIBRARY Extended Data Message Fields
  17. // NOTE: You must check the extended message
  18. // bitfield first to find out which fields
  19. // are present before accessing them!
  20. //////////////////////////////////////////////
  21. #define ANT_EXT_MESG_DEVICE_ID_FIELD_SIZE ((UCHAR)4)
  22. #define ANT_EXT_STRING_SIZE ((UCHAR)27) // increase buffer size to support longer messages (32 extra bytes after ANT standard payload)
  23. //////////////////////////////////////////////
  24. // ANT Extended Data Message Bifield Definitions
  25. //////////////////////////////////////////////
  26. #define ANT_EXT_MESG_BITFIELD_DEVICE_ID ((UCHAR)0x80) // first field after bitfield
  27. // 4 bits free reserved set to 0
  28. #define ANT_EXT_MESG_BIFIELD_EXTENSION ((UCHAR)0x01)
  29. // extended message input bitfield defines
  30. #define ANT_EXT_MESG_BITFIELD_OVERWRITE_SHARED_ADR ((UCHAR)0x10)
  31. #define ANT_EXT_MESG_BITFIELD_TRANSMISSION_TYPE ((UCHAR)0x08)
  32. //////////////////////////////////////////////
  33. // ANT Library Config
  34. //////////////////////////////////////////////
  35. #define ANT_LIB_CONFIG_MASK_ALL ((UCHAR)0xFF)
  36. #define ANT_LIB_CONFIG_RADIO_CONFIG_ALWAYS ((UCHAR)0x01)
  37. #define ANT_LIB_CONFIG_MESG_OUT_INC_TIME_STAMP ((UCHAR)0x20)
  38. #define ANT_LIB_CONFIG_MESG_OUT_INC_RSSI ((UCHAR)0x40)
  39. #define ANT_LIB_CONFIG_MESG_OUT_INC_DEVICE_ID ((UCHAR)0x80)
  40. //////////////////////////////////////////////
  41. // ID Definitions
  42. //////////////////////////////////////////////
  43. #define ANT_ID_SIZE ((UCHAR)4)
  44. #define ANT_ID_TRANS_TYPE_OFFSET ((UCHAR)3)
  45. #define ANT_ID_DEVICE_TYPE_OFFSET ((UCHAR)2)
  46. #define ANT_ID_DEVICE_NUMBER_HIGH_OFFSET ((UCHAR)1)
  47. #define ANT_ID_DEVICE_NUMBER_LOW_OFFSET ((UCHAR)0)
  48. #define ANT_ID_DEVICE_TYPE_PAIRING_FLAG ((UCHAR)0x80)
  49. #define ANT_TRANS_TYPE_SHARED_ADDR_MASK ((UCHAR)0x03)
  50. #define ANT_TRANS_TYPE_1_BYTE_SHARED_ADDRESS ((UCHAR)0x02)
  51. #define ANT_TRANS_TYPE_2_BYTE_SHARED_ADDRESS ((UCHAR)0x03)
  52. //////////////////////////////////////////////
  53. // Assign Channel Parameters
  54. //////////////////////////////////////////////
  55. #define PARAMETER_RX_NOT_TX ((UCHAR)0x00)
  56. #define PARAMETER_TX_NOT_RX ((UCHAR)0x10)
  57. #define PARAMETER_SHARED_CHANNEL ((UCHAR)0x20)
  58. #define PARAMETER_NO_TX_GUARD_BAND ((UCHAR)0x40)
  59. #define PARAMETER_ALWAYS_RX_WILD_CARD_SEARCH_ID ((UCHAR)0x40) //Pre-AP2
  60. #define PARAMETER_RX_ONLY ((UCHAR)0x40)
  61. //////////////////////////////////////////////
  62. // Ext. Assign Channel Parameters
  63. //////////////////////////////////////////////
  64. #define EXT_PARAM_ALWAYS_SEARCH ((UCHAR)0x01)
  65. #define EXT_PARAM_FREQUENCY_AGILITY ((UCHAR)0x04)
  66. //////////////////////////////////////////////
  67. // Radio TX Power Definitions
  68. //////////////////////////////////////////////
  69. #define RADIO_TX_POWER_LVL_MASK ((UCHAR)0x03)
  70. #define RADIO_TX_POWER_LVL_0 ((UCHAR)0x00) //(formerly: RADIO_TX_POWER_MINUS20DB) lowest
  71. #define RADIO_TX_POWER_LVL_1 ((UCHAR)0x01) //(formerly: RADIO_TX_POWER_MINUS10DB)
  72. #define RADIO_TX_POWER_LVL_2 ((UCHAR)0x02) //(formerly: RADIO_TX_POWER_MINUS5DB)
  73. #define RADIO_TX_POWER_LVL_3 ((UCHAR)0x03) //(formerly: RADIO_TX_POWER_0DB) highest
  74. //////////////////////////////////////////////
  75. // Channel Status
  76. //////////////////////////////////////////////
  77. #define STATUS_CHANNEL_STATE_MASK ((UCHAR)0x03)
  78. #define STATUS_UNASSIGNED_CHANNEL ((UCHAR)0x00)
  79. #define STATUS_ASSIGNED_CHANNEL ((UCHAR)0x01)
  80. #define STATUS_SEARCHING_CHANNEL ((UCHAR)0x02)
  81. #define STATUS_TRACKING_CHANNEL ((UCHAR)0x03)
  82. //////////////////////////////////////////////
  83. // Standard capabilities defines
  84. //////////////////////////////////////////////
  85. #define CAPABILITIES_NO_RX_CHANNELS ((UCHAR)0x01)
  86. #define CAPABILITIES_NO_TX_CHANNELS ((UCHAR)0x02)
  87. #define CAPABILITIES_NO_RX_MESSAGES ((UCHAR)0x04)
  88. #define CAPABILITIES_NO_TX_MESSAGES ((UCHAR)0x08)
  89. #define CAPABILITIES_NO_ACKD_MESSAGES ((UCHAR)0x10)
  90. #define CAPABILITIES_NO_BURST_TRANSFER ((UCHAR)0x20)
  91. //////////////////////////////////////////////
  92. // Advanced capabilities defines
  93. //////////////////////////////////////////////
  94. #define CAPABILITIES_OVERUN_UNDERRUN ((UCHAR)0x01) // Support for this functionality has been dropped
  95. #define CAPABILITIES_NETWORK_ENABLED ((UCHAR)0x02)
  96. #define CAPABILITIES_AP1_VERSION_2 ((UCHAR)0x04) // This Version of the AP1 does not support transmit and only had a limited release
  97. #define CAPABILITIES_SERIAL_NUMBER_ENABLED ((UCHAR)0x08)
  98. #define CAPABILITIES_PER_CHANNEL_TX_POWER_ENABLED ((UCHAR)0x10)
  99. #define CAPABILITIES_LOW_PRIORITY_SEARCH_ENABLED ((UCHAR)0x20)
  100. #define CAPABILITIES_SCRIPT_ENABLED ((UCHAR)0x40)
  101. #define CAPABILITIES_SEARCH_LIST_ENABLED ((UCHAR)0x80)
  102. //////////////////////////////////////////////
  103. // Advanced capabilities 2 defines
  104. //////////////////////////////////////////////
  105. #define CAPABILITIES_LED_ENABLED ((UCHAR)0x01)
  106. #define CAPABILITIES_EXT_MESSAGE_ENABLED ((UCHAR)0x02)
  107. #define CAPABILITIES_SCAN_MODE_ENABLED ((UCHAR)0x04)
  108. #define CAPABILITIES_RESERVED ((UCHAR)0x08)
  109. #define CAPABILITIES_PROX_SEARCH_ENABLED ((UCHAR)0x10)
  110. #define CAPABILITIES_EXT_ASSIGN_ENABLED ((UCHAR)0x20)
  111. #define CAPABILITIES_FS_ANTFS_ENABLED ((UCHAR)0x40)
  112. #define CAPABILITIES_FIT1_ENABLED ((UCHAR)0x80)
  113. //////////////////////////////////////////////
  114. // Advanced capabilities 3 defines
  115. //////////////////////////////////////////////
  116. #define CAPABILITIES_SENSRCORE_ENABLED ((UCHAR)0x01)
  117. #define CAPABILITIES_RESERVED_1 ((UCHAR)0x02)
  118. #define CAPABILITIES_RESERVED_2 ((UCHAR)0x04)
  119. #define CAPABILITIES_RESERVED_3 ((UCHAR)0x08)
  120. //////////////////////////////////////////////
  121. // Burst Message Sequence
  122. //////////////////////////////////////////////
  123. #define CHANNEL_NUMBER_MASK ((UCHAR)0x1F)
  124. #define SEQUENCE_NUMBER_MASK ((UCHAR)0xE0)
  125. #define SEQUENCE_NUMBER_ROLLOVER ((UCHAR)0x60)
  126. #define SEQUENCE_FIRST_MESSAGE ((UCHAR)0x00)
  127. #define SEQUENCE_LAST_MESSAGE ((UCHAR)0x80)
  128. #define SEQUENCE_NUMBER_INC ((UCHAR)0x20)
  129. //////////////////////////////////////////////
  130. // Extended Message ID Mask
  131. //////////////////////////////////////////////
  132. #define MSG_EXT_ID_MASK ((UCHAR)0xE0)
  133. //////////////////////////////////////////////
  134. // Control Message Flags
  135. //////////////////////////////////////////////
  136. #define BROADCAST_CONTROL_BYTE ((UCHAR)0x00)
  137. #define ACKNOWLEDGED_CONTROL_BYTE ((UCHAR)0xA0)
  138. //////////////////////////////////////////////
  139. // Response / Event Codes
  140. //////////////////////////////////////////////
  141. #define RESPONSE_NO_ERROR ((UCHAR)0x00)
  142. #define NO_EVENT ((UCHAR)0x00)
  143. #define EVENT_RX_SEARCH_TIMEOUT ((UCHAR)0x01)
  144. #define EVENT_RX_FAIL ((UCHAR)0x02)
  145. #define EVENT_TX ((UCHAR)0x03)
  146. #define EVENT_TRANSFER_RX_FAILED ((UCHAR)0x04)
  147. #define EVENT_TRANSFER_TX_COMPLETED ((UCHAR)0x05)
  148. #define EVENT_TRANSFER_TX_FAILED ((UCHAR)0x06)
  149. #define EVENT_CHANNEL_CLOSED ((UCHAR)0x07)
  150. #define EVENT_RX_FAIL_GO_TO_SEARCH ((UCHAR)0x08)
  151. #define EVENT_CHANNEL_COLLISION ((UCHAR)0x09)
  152. #define EVENT_TRANSFER_TX_START ((UCHAR)0x0A) // a pending transmit transfer has begun
  153. #define EVENT_CHANNEL_ACTIVE ((UCHAR)0x0F)
  154. #define EVENT_TRANSFER_TX_NEXT_MESSAGE ((UCHAR)0x11) // only enabled in FIT1
  155. #define CHANNEL_IN_WRONG_STATE ((UCHAR)0x15) // returned on attempt to perform an action from the wrong channel state
  156. #define CHANNEL_NOT_OPENED ((UCHAR)0x16) // returned on attempt to communicate on a channel that is not open
  157. #define CHANNEL_ID_NOT_SET ((UCHAR)0x18) // returned on attempt to open a channel without setting the channel ID
  158. #define CLOSE_ALL_CHANNELS ((UCHAR)0x19) // returned when attempting to start scanning mode, when channels are still open
  159. #define TRANSFER_IN_PROGRESS ((UCHAR)0x1F) // returned on attempt to communicate on a channel with a TX transfer in progress
  160. #define TRANSFER_SEQUENCE_NUMBER_ERROR ((UCHAR)0x20) // returned when sequence number is out of order on a Burst transfer
  161. #define TRANSFER_IN_ERROR ((UCHAR)0x21)
  162. #define TRANSFER_BUSY ((UCHAR)0x22)
  163. #define INVALID_MESSAGE_CRC ((UCHAR)0x26) // returned if there is a framing error on an incomming message
  164. #define MESSAGE_SIZE_EXCEEDS_LIMIT ((UCHAR)0x27) // returned if a data message is provided that is too large
  165. #define INVALID_MESSAGE ((UCHAR)0x28) // returned when the message has an invalid parameter
  166. #define INVALID_NETWORK_NUMBER ((UCHAR)0x29) // returned when an invalid network number is provided
  167. #define INVALID_LIST_ID ((UCHAR)0x30) // returned when the provided list ID or size exceeds the limit
  168. #define INVALID_SCAN_TX_CHANNEL ((UCHAR)0x31) // returned when attempting to transmit on channel 0 when in scan mode
  169. #define INVALID_PARAMETER_PROVIDED ((UCHAR)0x33) // returned when an invalid parameter is specified in a configuration message
  170. #define EVENT_SERIAL_QUE_OVERFLOW ((UCHAR)0x34)
  171. #define EVENT_QUE_OVERFLOW ((UCHAR)0x35) // ANT event que has overflowed and lost 1 or more events
  172. #define EVENT_CLK_ERROR ((UCHAR)0x36) // debug event for XOSC16M on LE1
  173. #define EVENT_STATE_OVERRUN ((UCHAR)0x37)
  174. #define SCRIPT_FULL_ERROR ((UCHAR)0x40) // error writing to script, memory is full
  175. #define SCRIPT_WRITE_ERROR ((UCHAR)0x41) // error writing to script, bytes not written correctly
  176. #define SCRIPT_INVALID_PAGE_ERROR ((UCHAR)0x42) // error accessing script page
  177. #define SCRIPT_LOCKED_ERROR ((UCHAR)0x43) // the scripts are locked and can't be dumped
  178. #define NO_RESPONSE_MESSAGE ((UCHAR)0x50) // returned to the Command_SerialMessageProcess function, so no reply message is generated
  179. #define RETURN_TO_MFG ((UCHAR)0x51) // default return to any mesg when the module determines that the mfg procedure has not been fully completed
  180. #define FIT_ACTIVE_SEARCH_TIMEOUT ((UCHAR)0x60) // Fit1 only event added for timeout of the pairing state after the Fit module becomes active
  181. #define FIT_WATCH_PAIR ((UCHAR)0x61) // Fit1 only
  182. #define FIT_WATCH_UNPAIR ((UCHAR)0x62) // Fit1 only
  183. #define USB_STRING_WRITE_FAIL ((UCHAR)0x70)
  184. // Internal only events below this point
  185. #define INTERNAL_ONLY_EVENTS ((UCHAR)0x80)
  186. #define EVENT_RX ((UCHAR)0x80) // INTERNAL: Event for a receive message
  187. #define EVENT_NEW_CHANNEL ((UCHAR)0x81) // INTERNAL: EVENT for a new active channel
  188. #define EVENT_PASS_THRU ((UCHAR)0x82) // INTERNAL: Event to allow an upper stack events to pass through lower stacks
  189. #define EVENT_BLOCKED ((UCHAR)0xFF) // INTERNAL: Event to replace any event we do not wish to go out, will also zero the size of the Tx message
  190. ///////////////////////////////////////////////////////
  191. // Script Command Codes
  192. ///////////////////////////////////////////////////////
  193. #define SCRIPT_CMD_FORMAT ((UCHAR)0x00)
  194. #define SCRIPT_CMD_DUMP ((UCHAR)0x01)
  195. #define SCRIPT_CMD_SET_DEFAULT_SECTOR ((UCHAR)0x02)
  196. #define SCRIPT_CMD_END_SECTOR ((UCHAR)0x03)
  197. #define SCRIPT_CMD_END_DUMP ((UCHAR)0x04)
  198. #define SCRIPT_CMD_LOCK ((UCHAR)0x05)
  199. ///////////////////////////////////////////////////////
  200. // USB Descriptor Strings
  201. ///////////////////////////////////////////////////////
  202. #define USB_DESCRIPTOR_VID_PID ((UCHAR) 0x00)
  203. #define USB_DESCRIPTOR_MANUFACTURER_STRING ((UCHAR) 0x01)
  204. #define USB_DESCRIPTOR_DEVICE_STRING ((UCHAR) 0x02)
  205. #define USB_DESCRIPTOR_SERIAL_STRING ((UCHAR) 0x03)
  206. ///////////////////////////////////////////////////////
  207. // Reset Mesg Codes
  208. ///////////////////////////////////////////////////////
  209. #define RESET_FLAGS_MASK ((UCHAR)0xE0)
  210. #define RESET_SUSPEND ((UCHAR)0x80) // this must follow bitfield def
  211. #define RESET_SYNC ((UCHAR)0x40) // this must follow bitfield def
  212. #define RESET_CMD ((UCHAR)0x20) // this must follow bitfield def
  213. #define RESET_WDT ((UCHAR)0x02)
  214. #define RESET_RST ((UCHAR)0x01)
  215. #define RESET_POR ((UCHAR)0x00)
  216. //////////////////////////////////////////////
  217. // PC Application Event Codes
  218. /////////////////////////////////////// ///////
  219. //NOTE: These events are not generated by the embedded ANT module
  220. #define EVENT_RX_BROADCAST ((UCHAR)0x9A) // returned when module receives broadcast data
  221. #define EVENT_RX_ACKNOWLEDGED ((UCHAR)0x9B) // returned when module receives acknowledged data
  222. #define EVENT_RX_BURST_PACKET ((UCHAR)0x9C) // returned when module receives burst data
  223. #define EVENT_RX_EXT_BROADCAST ((UCHAR)0x9D) // returned when module receives broadcast data
  224. #define EVENT_RX_EXT_ACKNOWLEDGED ((UCHAR)0x9E) // returned when module receives acknowledged data
  225. #define EVENT_RX_EXT_BURST_PACKET ((UCHAR)0x9F) // returned when module receives burst data
  226. #define EVENT_RX_RSSI_BROADCAST ((UCHAR)0xA0) // returned when module receives broadcast data
  227. #define EVENT_RX_RSSI_ACKNOWLEDGED ((UCHAR)0xA1) // returned when module receives acknowledged data
  228. #define EVENT_RX_RSSI_BURST_PACKET ((UCHAR)0xA2) // returned when module receives burst data
  229. #define EVENT_RX_FLAG_BROADCAST ((UCHAR)0xA3) // returned when module receives broadcast data with flag attached
  230. #define EVENT_RX_FLAG_ACKNOWLEDGED ((UCHAR)0xA4) // returned when module receives acknowledged data with flag attached
  231. #define EVENT_RX_FLAG_BURST_PACKET ((UCHAR)0xA5) // returned when module receives burst data with flag attached
  232. //////////////////////////////////////////////
  233. // Integrated ANT-FS Client Response/Event Codes
  234. //////////////////////////////////////////////
  235. #define MESG_FS_ANTFS_EVENT_PAIR_REQUEST ((UCHAR)0x01)
  236. #define MESG_FS_ANTFS_EVENT_DOWNLOAD_START ((UCHAR)0x02)
  237. #define MESG_FS_ANTFS_EVENT_UPLOAD_START ((UCHAR)0x03)
  238. #define MESG_FS_ANTFS_EVENT_DOWNLOAD_COMPLETE ((UCHAR)0x04)
  239. #define MESG_FS_ANTFS_EVENT_UPLOAD_COMPLETE ((UCHAR)0x05)
  240. #define MESG_FS_ANTFS_EVENT_ERASE_COMPLETE ((UCHAR)0x06)
  241. #define MESG_FS_ANTFS_EVENT_LINK_STATE ((UCHAR)0x07)
  242. #define MESG_FS_ANTFS_EVENT_AUTH_STATE ((UCHAR)0x08)
  243. #define MESG_FS_ANTFS_EVENT_TRANSPORT_STATE ((UCHAR)0x09)
  244. #define MESG_FS_ANTFS_EVENT_CMD_RECEIVED ((UCHAR)0x0A)
  245. #define MESG_FS_ANTFS_EVENT_CMD_PROCESSED ((UCHAR)0x0B)
  246. #define FS_NO_ERROR_RESPONSE ((UCHAR) 0x00)
  247. #define FS_MEMORY_UNFORMATTED_ERROR_RESPONSE ((UCHAR) 0x01)
  248. #define FS_MEMORY_NO_FREE_SECTORS_ERROR_RESPONSE ((UCHAR) 0x02)
  249. #define FS_MEMORY_READ_ERROR_RESPONSE ((UCHAR) 0x03)
  250. #define FS_MEMORY_WRITE_ERROR_RESPONSE ((UCHAR) 0x04)
  251. #define FS_MEMORY_ERASE_ERROR_RESPONSE ((UCHAR) 0x05)
  252. #define FS_TOO_MANY_FILES_OPEN_RESPONSE ((UCHAR) 0x06)
  253. #define FS_FILE_INDEX_INVALID_ERROR_RESPONSE ((UCHAR) 0x07)
  254. #define FS_FILE_INDEX_EXISTS_ERROR_RESPONSE ((UCHAR) 0x08)
  255. #define FS_AUTO_INDEX_FAILED_TRY_AGAIN_ERROR_RESPONSE ((UCHAR) 0x09)
  256. #define FS_FILE_ALREADY_OPEN_ERROR_RESPONSE ((UCHAR) 0x0A)
  257. #define FS_FILE_NOT_OPEN_ERROR_RESPONSE ((UCHAR) 0x0B)
  258. #define FS_DIR_CORRUPTED_ERROR_RESPONSE ((UCHAR) 0x0C)
  259. #define FS_INVALID_OFFSET_ERROR_RESPONSE ((UCHAR) 0x0D)
  260. #define FS_BAD_PERMISSIONS_ERROR_RESPONSE ((UCHAR) 0x0E)
  261. #define FS_EOF_REACHED_ERROR_RESPONSE ((UCHAR) 0x0F)
  262. #define FS_INVALID_FILE_HANDLE_ERROR_RESPONSE ((UCHAR) 0x10)
  263. #define FS_CRYPTO_OPEN_PERMISSION_ERROR_RESPONSE ((UCHAR) 0x32)
  264. #define FS_CRYPTO_HANDLE_ALREADY_IN_USE_RESPONSE ((UCHAR) 0x33)
  265. #define FS_CRYPTO_USER_KEY_NOT_SPECIFIED_RESPONSE ((UCHAR) 0x34)
  266. #define FS_CRYPTO_USER_KEY_ADD_ERROR_RESPONSE ((UCHAR) 0x35)
  267. #define FS_CRYPTO_USER_KEY_FETCH_ERROR_RESPONSE ((UCHAR) 0x36)
  268. #define FS_CRYPTO_IVNONE_READ_ERROR_RESPONSE ((UCHAR) 0x37)
  269. #define FS_CRYPTO_BLOCK_OFFSET_ERROR_RESPONSE ((UCHAR) 0x38)
  270. #define FS_CRYPTO_BLOCK_SIZE_ERROR_RESPONSE ((UCHAR) 0x39)
  271. #define FS_CRYPTO_CFG_TYPE_NOT_SUPPORTED_RESPONSE ((UCHAR) 0x40)
  272. #define FS_FIT_FILE_HEADER_ERROR_RESPONSE ((UCHAR) 0x64)
  273. #define FS_FIT_FILE_SIZE_INTEGRITY_ERROR_RESPONSE ((UCHAR) 0x65)
  274. #define FS_FIT_FILE_CRC_ERROR_RESPONSE ((UCHAR) 0x66)
  275. #define FS_FIT_FILE_CHECK_PERMISSION_ERROR_RESPONSE ((UCHAR) 0x67)
  276. #define FS_FIT_FILE_CHECK_FILE_TYPE_ERROR_RESPONSE ((UCHAR) 0x68)
  277. #define FS_FIT_FILE_OP_ABORT_ERROR_RESPONSE ((UCHAR) 0x69)
  278. //////////////////////////////////////////////
  279. // ANT EVENT return structure
  280. //////////////////////////////////////////////
  281. typedef struct
  282. {
  283. UCHAR ucChannel;
  284. UCHAR ucEvent;
  285. } ANT_EVENT;
  286. #endif // !ANTDEFINES_H