antfs_interface.h 927 B

123456789101112131415161718192021222324252627282930313233
  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. 2014
  6. All rights reserved.
  7. */
  8. #if !defined(ANTFS_INTERFACE_H)
  9. #define ANTFS_INTERFACE_H
  10. //////////////////////////////////////////////////////////////////////////////////
  11. // Public ANT-FS Definitions
  12. //////////////////////////////////////////////////////////////////////////////////
  13. // String lengths
  14. #define FRIENDLY_NAME_MAX_LENGTH 255
  15. #define TX_PASSWORD_MAX_LENGTH 255
  16. #define PASSWORD_MAX_LENGTH 255
  17. #define ANTFS_AUTO_FREQUENCY_SELECTION ((UCHAR) MAX_UCHAR)
  18. #define ANTFS_DEFAULT_TRANSPORT_FREQ ANTFS_AUTO_FREQUENCY_SELECTION
  19. typedef enum
  20. {
  21. ANTFS_RETURN_FAIL = 0,
  22. ANTFS_RETURN_PASS,
  23. ANTFS_RETURN_BUSY
  24. } ANTFS_RETURN;
  25. #endif // ANTFS_INTERFACE_H