File tree 3 files changed +12
-8
lines changed 3 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,9 @@ All notable changes to this project will be documented in this file.
8
8
- Compile error when central is disabled, class ` NimBLEServer ` has no member named ` m_pClient ` .
9
9
- Compile error with nRF devices, unresolved symbol ` nimble_port_stop ` .
10
10
11
+ ## Changed
12
+ - Added missing includes for ` NimBLEConnInfo ` and ` NimBLEUtils ` to ` NimBLEDevice.h ` .
13
+
11
14
## [ 2.1.0] 2024-12-14
12
15
13
16
## ** Breaking changes**
Original file line number Diff line number Diff line change 21
21
#include " nimconfig.h"
22
22
#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
23
23
24
- class NimBLEDescriptor ;
25
- class NimBLEDescriptorCallbacks ;
26
-
27
24
# include " NimBLELocalValueAttribute.h"
28
- # include " NimBLECharacteristic.h"
29
- # include " NimBLEUUID.h"
30
- # include " NimBLEAttValue.h"
31
- # include " NimBLEConnInfo.h"
32
-
33
25
# include < string>
34
26
27
+ class NimBLECharacteristic ;
28
+ class NimBLEDescriptorCallbacks ;
29
+
35
30
/* *
36
31
* @brief A model of a BLE descriptor.
37
32
*/
Original file line number Diff line number Diff line change @@ -282,5 +282,11 @@ class NimBLEDevice {
282
282
# endif
283
283
# endif
284
284
285
+ # if defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL) || defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
286
+ # include " NimBLEConnInfo.h"
287
+ # endif
288
+
289
+ # include " NimBLEUtils.h"
290
+
285
291
#endif // CONFIG_BT_ENABLED
286
292
#endif // NIMBLE_CPP_DEVICE_H_
You can’t perform that action at this time.
0 commit comments