Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jun 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion main/config_BT.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading