Add missing NimBLEUtils and NimBLEConnInfo includes to NimBLEDevice.h

In some cases compilation of examples would fail due to missing these headers so they should be included in NimBLEDevice.h
This commit is contained in:
h2zero authored and Ryan Powell committed 2024-12-16 18:27:45 -07:00
1 parent 3e0ce87a94
commit ec4d4c43e1
3 files changed
+13 -9

No files matched your search

+6
View File
@@ -282,5 +282,11 @@ class NimBLEDevice {
# endif
# endif
# if defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL) || defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
# include "NimBLEConnInfo.h"
# endif
# include "NimBLEUtils.h"
#endif // CONFIG_BT_ENABLED
#endif // NIMBLE_CPP_DEVICE_H_