2020-07-21 16:34:04 +00:00
|
|
|
#
|
|
|
|
# Modbus configuration
|
|
|
|
#
|
|
|
|
CONFIG_FMB_COMM_MODE_TCP_EN=y
|
|
|
|
CONFIG_FMB_TCP_PORT_DEFAULT=502
|
|
|
|
CONFIG_FMB_TCP_CONNECTION_TOUT_SEC=20
|
|
|
|
CONFIG_FMB_PORT_TASK_STACK_SIZE=4096
|
|
|
|
CONFIG_FMB_PORT_TASK_PRIO=10
|
|
|
|
CONFIG_FMB_COMM_MODE_RTU_EN=n
|
|
|
|
CONFIG_FMB_COMM_MODE_ASCII_EN=n
|
|
|
|
CONFIG_FMB_MASTER_TIMEOUT_MS_RESPOND=1000
|
|
|
|
CONFIG_FMB_MASTER_DELAY_MS_CONVERT=300
|
|
|
|
CONFIG_FMB_TIMER_PORT_ENABLED=y
|
|
|
|
CONFIG_MB_MDNS_IP_RESOLVER=n
|
|
|
|
CONFIG_MB_SLAVE_ADDR=1
|
|
|
|
CONFIG_LOG_DEFAULT_LEVEL_DEBUG=y
|
2020-11-10 07:40:01 +00:00
|
|
|
CONFIG_EXAMPLE_CONNECT_IPV6=n
|
2021-10-12 15:06:13 +00:00
|
|
|
CONFIG_FMB_TIMER_USE_ISR_DISPATCH_METHOD=y
|