Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ble_dbg_conf.h « App « STM32_WPAN « BLE_HeartRate « BLE « Applications « NUCLEO-WB15CC « Projects - github.com/Flipper-Zero/STM32CubeWB.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 20ff53b14ef98e23676646c8624c6a7f1a2ef80a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
/* USER CODE BEGIN Header */
/**
  ******************************************************************************
  * @file    ble_dbg_conf.h
  * @author  MCD Application Team
  * @brief   Debug configuration file for BLE Middleware.
  ******************************************************************************
  * @attention
  *
  * Copyright (c) 2021 STMicroelectronics.
  * All rights reserved.
  *
  * This software is licensed under terms that can be found in the LICENSE file
  * in the root directory of this software component.
  * If no LICENSE file comes with this software, it is provided AS-IS.
  *
  ******************************************************************************
  */
/* USER CODE END Header */

/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __BLE_DBG_CONF_H
#define __BLE_DBG_CONF_H

/**
 * Enable or Disable traces from BLE
 */

#define BLE_DBG_APP_EN             0
#define BLE_DBG_DIS_EN             1
#define BLE_DBG_HRS_EN             1
#define BLE_DBG_SVCCTL_EN          1
#define BLE_DBG_BLS_EN             0
#define BLE_DBG_HTS_EN             0
#define BLE_DBG_P2P_STM_EN         0

/**
 * Macro definition
 */
#if ( BLE_DBG_APP_EN != 0 )
#define BLE_DBG_APP_MSG             PRINT_MESG_DBG
#else
#define BLE_DBG_APP_MSG             PRINT_NO_MESG
#endif

#if ( BLE_DBG_DIS_EN != 0 )
#define BLE_DBG_DIS_MSG             PRINT_MESG_DBG
#else
#define BLE_DBG_DIS_MSG             PRINT_NO_MESG
#endif

#if ( BLE_DBG_HRS_EN != 0 )
#define BLE_DBG_HRS_MSG             PRINT_MESG_DBG
#else
#define BLE_DBG_HRS_MSG             PRINT_NO_MESG
#endif

#if ( BLE_DBG_P2P_STM_EN != 0 )
#define BLE_DBG_P2P_STM_MSG         PRINT_MESG_DBG
#else
#define BLE_DBG_P2P_STM_MSG         PRINT_NO_MESG
#endif

#if ( BLE_DBG_TEMPLATE_STM_EN != 0 )
#define BLE_DBG_TEMPLATE_STM_MSG         PRINT_MESG_DBG
#else
#define BLE_DBG_TEMPLATE_STM_MSG         PRINT_NO_MESG
#endif

#if ( BLE_DBG_EDS_STM_EN != 0 )
#define BLE_DBG_EDS_STM_MSG         PRINT_MESG_DBG
#else
#define BLE_DBG_EDS_STM_MSG         PRINT_NO_MESG
#endif

#if ( BLE_DBG_LBS_STM_EN != 0 )
#define BLE_DBG_LBS_STM_MSG         PRINT_MESG_DBG
#else
#define BLE_DBG_LBS_STM_MSG         PRINT_NO_MESG
#endif

#if ( BLE_DBG_SVCCTL_EN != 0 )
#define BLE_DBG_SVCCTL_MSG          PRINT_MESG_DBG
#else
#define BLE_DBG_SVCCTL_MSG          PRINT_NO_MESG
#endif

#if (BLE_DBG_CTS_EN != 0)
#define BLE_DBG_CTS_MSG             PRINT_MESG_DBG
#else
#define BLE_DBG_CTS_MSG             PRINT_NO_MESG
#endif

#if (BLE_DBG_HIDS_EN != 0)
#define BLE_DBG_HIDS_MSG            PRINT_MESG_DBG
#else
#define BLE_DBG_HIDS_MSG            PRINT_NO_MESG
#endif

#if (BLE_DBG_PASS_EN != 0)
#define BLE_DBG_PASS_MSG            PRINT_MESG_DBG
#else
#define BLE_DBG_PASS_MSG            PRINT_NO_MESG
#endif

#if (BLE_DBG_BLS_EN != 0)
#define BLE_DBG_BLS_MSG             PRINT_MESG_DBG
#else
#define BLE_DBG_BLS_MSG             PRINT_NO_MESG
#endif

#if (BLE_DBG_HTS_EN != 0)
#define BLE_DBG_HTS_MSG             PRINT_MESG_DBG
#else
#define BLE_DBG_HTS_MSG             PRINT_NO_MESG
#endif

#if (BLE_DBG_ANS_EN != 0)
#define BLE_DBG_ANS_MSG             PRINT_MESG_DBG
#else
#define BLE_DBG_ANS_MSG             PRINT_NO_MESG
#endif

#if (BLE_DBG_ESS_EN != 0)
#define BLE_DBG_ESS_MSG             PRINT_MESG_DBG
#else
#define BLE_DBG_ESS_MSG             PRINT_NO_MESG
#endif

#if (BLE_DBG_GLS_EN != 0)
#define BLE_DBG_GLS_MSG             PRINT_MESG_DBG
#else
#define BLE_DBG_GLS_MSG             PRINT_NO_MESG
#endif

#if (BLE_DBG_BAS_EN != 0)
#define BLE_DBG_BAS_MSG             PRINT_MESG_DBG
#else
#define BLE_DBG_BAS_MSG             PRINT_NO_MESG
#endif

#if (BLE_DBG_RTUS_EN != 0)
#define BLE_DBG_RTUS_MSG            PRINT_MESG_DBG
#else
#define BLE_DBG_RTUS_MSG            PRINT_NO_MESG
#endif

#if (BLE_DBG_HPS_EN != 0)
#define BLE_DBG_HPS_MSG             PRINT_MESG_DBG
#else
#define BLE_DBG_HPS_MSG             PRINT_NO_MESG
#endif

#if (BLE_DBG_TPS_EN != 0)
#define BLE_DBG_TPS_MSG             PRINT_MESG_DBG
#else
#define BLE_DBG_TPS_MSG             PRINT_NO_MESG
#endif

#if (BLE_DBG_LLS_EN != 0)
#define BLE_DBG_LLS_MSG             PRINT_MESG_DBG
#else
#define BLE_DBG_LLS_MSG             PRINT_NO_MESG
#endif

#if (BLE_DBG_IAS_EN != 0)
#define BLE_DBG_IAS_MSG             PRINT_MESG_DBG
#else
#define BLE_DBG_IAS_MSG             PRINT_NO_MESG
#endif

#if (BLE_DBG_WSS_EN != 0)
#define BLE_DBG_WSS_MSG             PRINT_MESG_DBG
#else
#define BLE_DBG_WSS_MSG             PRINT_NO_MESG
#endif

#if (BLE_DBG_LNS_EN != 0)
#define BLE_DBG_LNS_MSG             PRINT_MESG_DBG
#else
#define BLE_DBG_LNS_MSG             PRINT_NO_MESG
#endif

#if (BLE_DBG_SCPS_EN != 0)
#define BLE_DBG_SCPS_MSG            PRINT_MESG_DBG
#else
#define BLE_DBG_SCPS_MSG            PRINT_NO_MESG
#endif

#if (BLE_DBG_DTS_EN != 0)
#define BLE_DBG_DTS_MSG             PRINT_MESG_DBG
#define BLE_DBG_DTS_BUF             PRINT_LOG_BUFF_DBG
#else
#define BLE_DBG_DTS_MSG             PRINT_NO_MESG
#define BLE_DBG_DTS_BUF             PRINT_NO_MESG
#endif

#endif /*__BLE_DBG_CONF_H */