[BT] "track" tag removal (#1562)
"track" tag removal when pubAdvData is false
This commit is contained in:
1 parent
b7b3bbb91a
commit
85d6494d62
1 file changed
+1
@@ -1105,6 +1105,7 @@ void PublishDeviceData(JsonObject& BLEdata, bool processBLEData) {
|
||||
BLEdata.remove("cidc");
|
||||
BLEdata.remove("acts");
|
||||
BLEdata.remove("cont");
|
||||
BLEdata.remove("track");
|
||||
}
|
||||
if (!BTConfig.pubOnlySensors || BLEdata.containsKey("model") || BLEdata.containsKey("distance")) { // Identified device
|
||||
pubBT(BLEdata);
|
||||
|
||||
Reference in new issue
Block a user