2024-09-3000
This commit is contained in:
parent
e486eae03f
commit
e5b2a06101
|
@ -143,7 +143,7 @@ class MyAdvertisedDeviceCallbacks: public BLEAdvertisedDeviceCallbacks
|
||||||
Serial.print(" Device name: ");
|
Serial.print(" Device name: ");
|
||||||
Serial.print(advertisedDevice.getName().c_str());
|
Serial.print(advertisedDevice.getName().c_str());
|
||||||
} */
|
} */
|
||||||
if (advertisedDevice.getAddress().equals(*pServerAddress)) // ibeacon Adresse Vergleichen
|
if (advertisedDevice.getAddress().equals(*pServerAddress)and (advertisedDevice.getRSSI() > -85)) // ibeacon Adresse Vergleichen
|
||||||
{
|
{
|
||||||
Serial.print(" Ueberwachte Adresse"); // wenn überwache Adresse gefunden wurde
|
Serial.print(" Ueberwachte Adresse"); // wenn überwache Adresse gefunden wurde
|
||||||
if (advertisedDevice.haveName()) {
|
if (advertisedDevice.haveName()) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user