fix rssi limit default value
This commit is contained in:
parent
80b8881936
commit
903ffe2759
@ -303,6 +303,7 @@ void setup() {
|
|||||||
// configure BLE sniffing
|
// configure BLE sniffing
|
||||||
configuration.blecounter = cfg.blescan;
|
configuration.blecounter = cfg.blescan;
|
||||||
configuration.blescantime = cfg.blescantime;
|
configuration.blescantime = cfg.blescantime;
|
||||||
|
configuration.ble_rssi_threshold = cfg.rssilimit;
|
||||||
ESP_LOGI(TAG, "BLESCAN: %s", cfg.blescan ? "on" : "off");
|
ESP_LOGI(TAG, "BLESCAN: %s", cfg.blescan ? "on" : "off");
|
||||||
|
|
||||||
int config_update = libpax_update_config(&configuration);
|
int config_update = libpax_update_config(&configuration);
|
||||||
|
Loading…
Reference in New Issue
Block a user