Chapter 2. API Reference
CONFIG_FMB_PORT_TASK_STACK_SIZE
Modbus port task stack size
Found in: Component config > Modbus configuration
Modbus port task stack size for rx/tx event processing. It may be adjusted when debugging is enabled
(for example).
Range:
• from 2048 to 8192
Default value:
• 4096
CONFIG_FMB_SERIAL_BUF_SIZE
Modbus serial task RX/TX buffer size
Found in: Component config > Modbus configuration
Modbus serial task RX and TX buffer size for UART driver initialization. This buffer is used for modbus
frame transfer. The Modbus protocol maximum frame size is 256 bytes. Bigger size can be used for
non standard implementations.
Range:
• from 0 to 2048
Default value:
• 256
CONFIG_FMB_SERIAL_ASCII_BITS_PER_SYMB
Number of data bits per ASCII character
Found in: Component config > Modbus configuration
This option defines the number of data bits per ASCII character.
Range:
• from 7 to 8
Default value:
• 8
CONFIG_FMB_SERIAL_ASCII_TIMEOUT_RESPOND_MS
Response timeout for ASCII communication mode (ms)
Found in: Component config > Modbus configuration
This option defines response timeout of slave in milliseconds for ASCII communication mode. Thus the
timeout will expire and allow the master program to handle the error.
Range:
• from 300 to 2000
Default value:
• 1000
CONFIG_FMB_PORT_TASK_PRIO
Modbus port task priority
Found in: Component config > Modbus configuration
Modbus port data processing task priority. The priority of Modbus controller task is equal to (CON-
FIG_FMB_PORT_TASK_PRIO - 1).
Espressif Systems 1142
Submit Document Feedback
Release v4.4