mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
19 lines
655 B
C
19 lines
655 B
C
// =================================================================================================
|
|
// eModbus: Copyright 2020 by Michael Harwerth, Bert Melis and the contributors to eModbus
|
|
// MIT license - see license.md for details
|
|
// =================================================================================================
|
|
#ifndef _MODBUS_BRIDGE_WIFI_H
|
|
#define _MODBUS_BRIDGE_WIFI_H
|
|
#include "options.h"
|
|
#include <WiFi.h>
|
|
|
|
#undef SERVER_END
|
|
#define SERVER_END server.end();
|
|
|
|
#include "ModbusServerTCPtemp.h"
|
|
#include "ModbusBridgeTemp.h"
|
|
|
|
using ModbusBridgeWiFi = ModbusBridge<ModbusServerTCP<WiFiServer, WiFiClient>>;
|
|
|
|
#endif
|