Set BLE_FILTER_CONNECTABLE default to 0. (#1017)

This commit is contained in:
h2zero authored and GitHub committed 2021-07-11 20:20:48 -05:00
1 parent 45e9ba79d1
commit e244decbed
2 files changed
+6 -2

No files matched your search

+2 -2
View File
@@ -42,9 +42,9 @@ extern int btQueueLengthCount;
bool bleConnect = AttemptBLECOnnect;
// Sets whether to filter publishing of scanned devices that require a connection.
// Default (1) prevents overwriting the publication of the device connection data with the advertised data.
// Setting this to 1 prevents overwriting the publication of the device connection data with the advertised data (Recommended for use with OpenHAB).
# ifndef BLE_FILTER_CONNECTABLE
# define BLE_FILTER_CONNECTABLE 1
# define BLE_FILTER_CONNECTABLE 0
# endif
# include "NimBLEDevice.h"
#endif