Add back major minor to iBeacon

This commit is contained in:
DTTerastar 2021-09-05 15:14:15 -04:00
parent d706d27872
commit 8c800b8852
2 changed files with 1 additions and 2 deletions

View File

@ -90,7 +90,7 @@ BleFingerprint::BleFingerprint(BLEAdvertisedDevice *advertisedDevice, float fcmi
int major = ENDIAN_CHANGE_U16(oBeacon.getMajor());
int minor = ENDIAN_CHANGE_U16(oBeacon.getMinor());
id = "iBeacon:" + proximityUUID;
id = "iBeacon:" + proximityUUID + "-" + major + "-" + minor;
Serial.printf(", ID: %s", id.c_str());
calRssi = oBeacon.getSignalPower();
if (calRssi > 0) calRssi = defaultTxPower;

View File

@ -78,7 +78,6 @@ bool sendTelemetry(int totalSeen = -1, int totalReported = -1, int totalAdverts
tele["freeHeap"] = ESP.getFreeHeap();
tele["minFreeHeap"] = ESP.getMinFreeHeap();
tele["heapSize"] = ESP.getHeapSize();
tele["maxAllocHeap"] = ESP.getMaxAllocHeap();
tele["resetReason"] = resetReason(rtc_get_reset_reason(0));