aboutsummaryrefslogtreecommitdiff
path: root/apps/modbus/README.txt
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-07-22 17:41:19 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-07-22 17:41:19 +0000
commitad37fa6505876fcfeb569ebd25b0971d5badde08 (patch)
tree5d5734278407c48ed17c0a8e0e951d45ee24ec1e /apps/modbus/README.txt
parent81d5f42a18ef2c2c9f7b878ee739b8e338bb6808 (diff)
downloadpx4-firmware-ad37fa6505876fcfeb569ebd25b0971d5badde08.tar.gz
px4-firmware-ad37fa6505876fcfeb569ebd25b0971d5badde08.tar.bz2
px4-firmware-ad37fa6505876fcfeb569ebd25b0971d5badde08.zip
Don't use strerror in apps/modbus; Add CONFIG_MB_TERMIOS to enable/suppress use of termios.h interfaces
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4968 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'apps/modbus/README.txt')
-rw-r--r--apps/modbus/README.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/modbus/README.txt b/apps/modbus/README.txt
index 1f2c9c3eb..46b6b2b0e 100644
--- a/apps/modbus/README.txt
+++ b/apps/modbus/README.txt
@@ -60,6 +60,10 @@ The NuttX-named configuration options that are available include:
CONFIG_MB_ASCII_ENABLED - Modbus ASCII support
CONFIG_MB_RTU_ENABLED - Modbus RTU support
CONFIG_MB_TCP_ENABLED - Modbus TCP support
+ CONFIG_MB_TERMIOS - Serial driver supports termios.h interfaces (tcsetattr,
+ tcflush, etc.). If this is not defined, then the terminal settings (baud,
+ parity, etc.) are not configurable at runtime; serial streams will not be
+ flushed when closed.
CONFIG_MB_ASCII_TIMEOUT_SEC - Character timeout value for Modbus ASCII. The
character timeout value is not fixed for Modbus ASCII and is therefore
a configuration option. It should be set to the maximum expected delay