Skip to content

Commit edfc838

Browse files
committed
[Bugfix] allow peripheral and central roles without broadcast/scan.
1 parent f1ead99 commit edfc838

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/nimconfig.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,6 @@
1515
// Allows cpp wrapper to select the correct include paths when using esp-idf
1616
#define CONFIG_NIMBLE_CPP_IDF
1717

18-
/* Cannot use client without scan */
19-
#if defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL) && !defined(CONFIG_BT_NIMBLE_ROLE_OBSERVER)
20-
#define CONFIG_BT_NIMBLE_ROLE_OBSERVER
21-
#endif
22-
23-
/* Cannot use server without advertise */
24-
#if defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL) && !defined(CONFIG_BT_NIMBLE_ROLE_BROADCASTER)
25-
#define CONFIG_BT_NIMBLE_ROLE_BROADCASTER
26-
#endif
27-
2818
/* Enables the use of Arduino String class for attribute values */
2919
#if defined __has_include
3020
# if __has_include (<Arduino.h>)

0 commit comments

Comments
 (0)