ble_dbg_conf.h 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. /**
  2. ******************************************************************************
  3. * File Name : App/ble_dbg_conf.h
  4. * Description : Debug configuration file for BLE Middleware.
  5. *
  6. ******************************************************************************
  7. * @attention
  8. *
  9. * <h2><center>&copy; Copyright (c) 2020 STMicroelectronics.
  10. * All rights reserved.</center></h2>
  11. *
  12. * This software component is licensed by ST under Ultimate Liberty license
  13. * SLA0044, the "License"; You may not use this file except in compliance with
  14. * the License. You may obtain a copy of the License at:
  15. * www.st.com/SLA0044
  16. *
  17. ******************************************************************************
  18. */
  19. /* Define to prevent recursive inclusion -------------------------------------*/
  20. #ifndef __BLE_DBG_CONF_H
  21. #define __BLE_DBG_CONF_H
  22. /**
  23. * Enable or Disable traces from BLE
  24. */
  25. #define BLE_DBG_APP_EN 1
  26. #define BLE_DBG_DIS_EN 1
  27. #define BLE_DBG_HRS_EN 1
  28. #define BLE_DBG_SVCCTL_EN 1
  29. #define BLE_DBG_BLS_EN 1
  30. #define BLE_DBG_HTS_EN 1
  31. #define BLE_DBG_P2P_STM_EN 1
  32. /**
  33. * Macro definition
  34. */
  35. #if(BLE_DBG_APP_EN != 0)
  36. #define BLE_DBG_APP_MSG PRINT_MESG_DBG
  37. #else
  38. #define BLE_DBG_APP_MSG PRINT_NO_MESG
  39. #endif
  40. #if(BLE_DBG_DIS_EN != 0)
  41. #define BLE_DBG_DIS_MSG PRINT_MESG_DBG
  42. #else
  43. #define BLE_DBG_DIS_MSG PRINT_NO_MESG
  44. #endif
  45. #if(BLE_DBG_HRS_EN != 0)
  46. #define BLE_DBG_HRS_MSG PRINT_MESG_DBG
  47. #else
  48. #define BLE_DBG_HRS_MSG PRINT_NO_MESG
  49. #endif
  50. #if(BLE_DBG_P2P_STM_EN != 0)
  51. #define BLE_DBG_P2P_STM_MSG PRINT_MESG_DBG
  52. #else
  53. #define BLE_DBG_P2P_STM_MSG PRINT_NO_MESG
  54. #endif
  55. #if(BLE_DBG_TEMPLATE_STM_EN != 0)
  56. #define BLE_DBG_TEMPLATE_STM_MSG PRINT_MESG_DBG
  57. #else
  58. #define BLE_DBG_TEMPLATE_STM_MSG PRINT_NO_MESG
  59. #endif
  60. #if(BLE_DBG_EDS_STM_EN != 0)
  61. #define BLE_DBG_EDS_STM_MSG PRINT_MESG_DBG
  62. #else
  63. #define BLE_DBG_EDS_STM_MSG PRINT_NO_MESG
  64. #endif
  65. #if(BLE_DBG_LBS_STM_EN != 0)
  66. #define BLE_DBG_LBS_STM_MSG PRINT_MESG_DBG
  67. #else
  68. #define BLE_DBG_LBS_STM_MSG PRINT_NO_MESG
  69. #endif
  70. #if(BLE_DBG_SVCCTL_EN != 0)
  71. #define BLE_DBG_SVCCTL_MSG PRINT_MESG_DBG
  72. #else
  73. #define BLE_DBG_SVCCTL_MSG PRINT_NO_MESG
  74. #endif
  75. #if(BLE_DBG_CTS_EN != 0)
  76. #define BLE_DBG_CTS_MSG PRINT_MESG_DBG
  77. #else
  78. #define BLE_DBG_CTS_MSG PRINT_NO_MESG
  79. #endif
  80. #if(BLE_DBG_HIDS_EN != 0)
  81. #define BLE_DBG_HIDS_MSG PRINT_MESG_DBG
  82. #else
  83. #define BLE_DBG_HIDS_MSG PRINT_NO_MESG
  84. #endif
  85. #if(BLE_DBG_PASS_EN != 0)
  86. #define BLE_DBG_PASS_MSG PRINT_MESG_DBG
  87. #else
  88. #define BLE_DBG_PASS_MSG PRINT_NO_MESG
  89. #endif
  90. #if(BLE_DBG_BLS_EN != 0)
  91. #define BLE_DBG_BLS_MSG PRINT_MESG_DBG
  92. #else
  93. #define BLE_DBG_BLS_MSG PRINT_NO_MESG
  94. #endif
  95. #if(BLE_DBG_HTS_EN != 0)
  96. #define BLE_DBG_HTS_MSG PRINT_MESG_DBG
  97. #else
  98. #define BLE_DBG_HTS_MSG PRINT_NO_MESG
  99. #endif
  100. #if(BLE_DBG_ANS_EN != 0)
  101. #define BLE_DBG_ANS_MSG PRINT_MESG_DBG
  102. #else
  103. #define BLE_DBG_ANS_MSG PRINT_NO_MESG
  104. #endif
  105. #if(BLE_DBG_ESS_EN != 0)
  106. #define BLE_DBG_ESS_MSG PRINT_MESG_DBG
  107. #else
  108. #define BLE_DBG_ESS_MSG PRINT_NO_MESG
  109. #endif
  110. #if(BLE_DBG_GLS_EN != 0)
  111. #define BLE_DBG_GLS_MSG PRINT_MESG_DBG
  112. #else
  113. #define BLE_DBG_GLS_MSG PRINT_NO_MESG
  114. #endif
  115. #if(BLE_DBG_BAS_EN != 0)
  116. #define BLE_DBG_BAS_MSG PRINT_MESG_DBG
  117. #else
  118. #define BLE_DBG_BAS_MSG PRINT_NO_MESG
  119. #endif
  120. #if(BLE_DBG_RTUS_EN != 0)
  121. #define BLE_DBG_RTUS_MSG PRINT_MESG_DBG
  122. #else
  123. #define BLE_DBG_RTUS_MSG PRINT_NO_MESG
  124. #endif
  125. #if(BLE_DBG_HPS_EN != 0)
  126. #define BLE_DBG_HPS_MSG PRINT_MESG_DBG
  127. #else
  128. #define BLE_DBG_HPS_MSG PRINT_NO_MESG
  129. #endif
  130. #if(BLE_DBG_TPS_EN != 0)
  131. #define BLE_DBG_TPS_MSG PRINT_MESG_DBG
  132. #else
  133. #define BLE_DBG_TPS_MSG PRINT_NO_MESG
  134. #endif
  135. #if(BLE_DBG_LLS_EN != 0)
  136. #define BLE_DBG_LLS_MSG PRINT_MESG_DBG
  137. #else
  138. #define BLE_DBG_LLS_MSG PRINT_NO_MESG
  139. #endif
  140. #if(BLE_DBG_IAS_EN != 0)
  141. #define BLE_DBG_IAS_MSG PRINT_MESG_DBG
  142. #else
  143. #define BLE_DBG_IAS_MSG PRINT_NO_MESG
  144. #endif
  145. #if(BLE_DBG_WSS_EN != 0)
  146. #define BLE_DBG_WSS_MSG PRINT_MESG_DBG
  147. #else
  148. #define BLE_DBG_WSS_MSG PRINT_NO_MESG
  149. #endif
  150. #if(BLE_DBG_LNS_EN != 0)
  151. #define BLE_DBG_LNS_MSG PRINT_MESG_DBG
  152. #else
  153. #define BLE_DBG_LNS_MSG PRINT_NO_MESG
  154. #endif
  155. #if(BLE_DBG_SCPS_EN != 0)
  156. #define BLE_DBG_SCPS_MSG PRINT_MESG_DBG
  157. #else
  158. #define BLE_DBG_SCPS_MSG PRINT_NO_MESG
  159. #endif
  160. #if(BLE_DBG_DTS_EN != 0)
  161. #define BLE_DBG_DTS_MSG PRINT_MESG_DBG
  162. #define BLE_DBG_DTS_BUF PRINT_LOG_BUFF_DBG
  163. #else
  164. #define BLE_DBG_DTS_MSG PRINT_NO_MESG
  165. #define BLE_DBG_DTS_BUF PRINT_NO_MESG
  166. #endif
  167. #endif /*__BLE_DBG_CONF_H */
  168. /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/