bt_profile_config.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*********************************************************************************************
  2. * Filename : bt_profile_config.h
  3. * Description :
  4. * Author : Tongai
  5. * Email : laotongai@zh-jieli.com
  6. * Last modifiled : 2020-07-01 16:31
  7. * Copyright:(c)JIELI 2011-2019 @ , All Rights Reserved.
  8. *********************************************************************************************/
  9. #ifndef BT_PROFILE_H
  10. #define BT_PROFILE_H
  11. #define BT_BTSTACK_CLASSIC BIT(0)
  12. #define BT_BTSTACK_LE_ADV BIT(1)
  13. #define BT_BTSTACK_LE BIT(2)
  14. extern const int config_stack_modules;
  15. #define STACK_MODULES_IS_SUPPORT(x) (config_stack_modules & (x))
  16. extern u8 app_bredr_pool[];
  17. extern u8 app_le_pool[];
  18. extern u8 app_l2cap_pool[];
  19. extern u8 app_bredr_profile[];
  20. extern u16 get_bredr_pool_len(void);
  21. extern u16 get_le_pool_len(void);
  22. extern u16 get_l2cap_stack_len(void);
  23. extern u16 get_profile_pool_len(void);
  24. #endif