Add back major minor to iBeacon
This commit is contained in:
parent
d706d27872
commit
8c800b8852
|
@ -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;
|
||||
|
|
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in New Issue