mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 16:29:51 +03:00
feat: add Modbus support
This commit is contained in:
@@ -121,6 +121,22 @@
|
||||
#define EMSESP_DEFAULT_TELNET_ENABLED true
|
||||
#endif
|
||||
|
||||
#ifndef EMSESP_DEFAULT_MODBUS_ENABLED
|
||||
#define EMSESP_DEFAULT_MODBUS_ENABLED false
|
||||
#endif
|
||||
|
||||
#ifndef EMSESP_DEFAULT_MODBUS_PORT
|
||||
#define EMSESP_DEFAULT_MODBUS_PORT 502
|
||||
#endif
|
||||
|
||||
#ifndef EMSESP_DEFAULT_MODBUS_MAX_CLIENTS
|
||||
#define EMSESP_DEFAULT_MODBUS_MAX_CLIENTS 10
|
||||
#endif
|
||||
|
||||
#ifndef EMSESP_DEFAULT_MODBUS_TIMEOUT
|
||||
#define EMSESP_DEFAULT_MODBUS_TIMEOUT 10000
|
||||
#endif
|
||||
|
||||
#ifndef EMSESP_DEFAULT_BOARD_PROFILE
|
||||
#define EMSESP_DEFAULT_BOARD_PROFILE "default"
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user