[BT] "track" tag removal (#1562)

"track" tag removal when pubAdvData is false
This commit is contained in:
DigiH authored and GitHub committed 2023-03-22 13:01:49 -05:00
1 parent b7b3bbb91a
commit 85d6494d62
1 file changed
+1
+1
View File
@@ -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);