2024-10-0100
This commit is contained in:
parent
a4817f27f1
commit
1f3d7cb82c
|
@ -16,13 +16,15 @@ board_build.partitions = huge_app.csv
|
|||
upload_port = /dev/ttyUSB0
|
||||
monitor_port = /dev/ttyUSB0
|
||||
monitor_speed = 115200
|
||||
monitor_filters = time
|
||||
lib_deps =
|
||||
knolleary/PubSubClient @ 2.8
|
||||
|
||||
|
||||
[env:debug] ; Entwicklungssystem
|
||||
build_flags = ${env.build_flags}
|
||||
-DTRANSPONDER=\"fa:e7:8e:f8:fd:42\"
|
||||
-DTRANSPONDER=\"fa:e7:8e:f8:fd:42\" ; MAC des Transponders
|
||||
-DKDB=-85 ; Mindest Signalstärke
|
||||
-DORT=\"HJK\"
|
||||
-DDEBUG=0
|
||||
-DNOADS=0
|
||||
|
|
|
@ -144,7 +144,7 @@ class MyAdvertisedDeviceCallbacks: public BLEAdvertisedDeviceCallbacks
|
|||
Serial.print(" Device name: ");
|
||||
Serial.print(advertisedDevice.getName().c_str());
|
||||
} */
|
||||
if (advertisedDevice.getAddress().equals(*pServerAddress)and (advertisedDevice.getRSSI() > -85)) // ibeacon Adresse Vergleichen
|
||||
if (advertisedDevice.getAddress().equals(*pServerAddress)and (advertisedDevice.getRSSI() > KDB)) // ibeacon Adresse Vergleichen
|
||||
{
|
||||
Serial.print(" Ueberwachte Adresse"); // wenn überwache Adresse gefunden wurde
|
||||
if (advertisedDevice.haveName()) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user