[BT] Enable to define MinimumRSSI from a macro in ini files (#1977)

This commit is contained in:
Florian authored and GitHub committed 2024-06-21 14:03:34 -05:00
1 parent 9af5a2aca0
commit 2d5b8b403e
1 file changed
+3 -1
+3 -1
View File
@@ -64,7 +64,9 @@ extern String stateBTMeasures(bool);
# define BLE_FILTER_CONNECTABLE 0 // Sets whether to filter publishing of scanned devices that require a connection.
#endif // Setting this to 1 prevents overwriting the publication of the device connection data with the advertised data (Recommended for use with OpenHAB).
#define MinimumRSSI -100 //default minimum rssi value, all the devices below -100 will not be reported
#ifndef MinimumRSSI
# define MinimumRSSI -100 //default minimum rssi value, all the devices below -100 will not be reported
#endif
#ifndef Scan_duration
# define Scan_duration 10000 //define the duration for a scan; in milliseconds