mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
some change
This commit is contained in:
@@ -45,20 +45,19 @@ void asyncUdpInit() {
|
||||
|
||||
//packet.printf(ip.c_str(), packet.length());
|
||||
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
//ts.add(
|
||||
// UDP, 10000, [&](void*) {
|
||||
//
|
||||
// //Serial.println("sended");
|
||||
//
|
||||
// //asyncUdp.broadcastTo("Anyone here?", 5351);
|
||||
// //asyncUdp.broadcast("test");
|
||||
// //asyncUdp.print("Hello Server!");
|
||||
//
|
||||
// },
|
||||
// nullptr, true);
|
||||
ts.add(
|
||||
UDP, 10000, [&](void*) {
|
||||
|
||||
Serial.println("sended");
|
||||
asyncUdp.broadcastTo("Anyone here?", 64130);
|
||||
//asyncUdp.broadcast("test");
|
||||
//asyncUdp.print("Hello Server!");
|
||||
|
||||
},
|
||||
nullptr, true);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user