mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 14:12:16 +03:00
Устраняем пересечение с системным классом UDP
This commit is contained in:
@@ -54,7 +54,7 @@ void asyncUdpInit() {
|
||||
|
||||
//будем отправлять каждые 30 секунд презентацию данного устройства
|
||||
ts.add(
|
||||
UDP, 60000, [&](void*) {
|
||||
UDPP, 60000, [&](void*) {
|
||||
if (isNetworkActive()) {
|
||||
SerialPrint("i", F("UDP"), F("Broadcast device presentation"));
|
||||
asyncUdp.broadcastTo(getThisDevice().c_str(), 4210);
|
||||
|
||||
Reference in New Issue
Block a user