summaryrefslogtreecommitdiff
path: root/apps/modbus/README.txt
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-07-21 15:33:53 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-07-21 15:33:53 +0000
commit814d1451322bba23a1be8ffb07dc00773613c503 (patch)
treee635a2747aae4440090476ee08bf31a801d77e4e /apps/modbus/README.txt
parentfcfd6c4d7ca3cc8d2751652a79a08d64eb8ec5a3 (diff)
downloadnuttx-814d1451322bba23a1be8ffb07dc00773613c503.tar.gz
nuttx-814d1451322bba23a1be8ffb07dc00773613c503.tar.bz2
nuttx-814d1451322bba23a1be8ffb07dc00773613c503.zip
Add FreeModBus to NuttX build system
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4962 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/modbus/README.txt')
-rw-r--r--apps/modbus/README.txt40
1 files changed, 26 insertions, 14 deletions
diff --git a/apps/modbus/README.txt b/apps/modbus/README.txt
index da9b42fd4..1f2c9c3eb 100644
--- a/apps/modbus/README.txt
+++ b/apps/modbus/README.txt
@@ -56,6 +56,7 @@ was integrated into the NuttX configuration system.
The NuttX-named configuration options that are available include:
+ CONFIG_MODBUS - General ModBus support
CONFIG_MB_ASCII_ENABLED - Modbus ASCII support
CONFIG_MB_RTU_ENABLED - Modbus RTU support
CONFIG_MB_TCP_ENABLED - Modbus TCP support
@@ -70,25 +71,36 @@ The NuttX-named configuration options that are available include:
required because some targets are so fast that there is no time between
receiving and transmitting the frame. If the master is to slow with
enabling its receiver then he will not receive the response correctly.
-
CONFIG_MB_FUNC_HANDLERS_MAX - Maximum number of Modbus functions codes the
protocol stack should support. The maximum number of supported Modbus
functions must be greater than the sum of all enabled functions in this
file and custom function handlers. If set to small adding more functions
will fail.
-
- CONFIG_MB_FUNC_OTHER_REP_SLAVEID_BUF - Number of bytes which should be allocated for the Report Slave ID command. This number limits the maximum size of the additional segment in the report slave id function. See eMBSetSlaveID() for more information on how to set this value. It is only used if CONFIG_MB_FUNC_OTHER_REP_SLAVEID_ENABLED is set to 1.
-
- CONFIG_MB_FUNC_OTHER_REP_SLAVEID_ENABLED - If the Report Slave ID function should be enabled.
- CONFIG_MB_FUNC_READ_INPUT_ENABLED - If the Read Input Registers function should be enabled.
- CONFIG_MB_FUNC_READ_HOLDING_ENABLED - If the Read Holding Registers function should be enabled.
- CONFIG_MB_FUNC_WRITE_HOLDING_ENABLED - If the Write Single Register function should be enabled.
- CONFIG_MB_FUNC_WRITE_MULTIPLE_HOLDING_ENABLED - If the Write Multiple registers function should be enabled.
- CONFIG_MB_FUNC_READ_COILS_ENABLED - If the Read Coils function should be enabled.
- CONFIG_MB_FUNC_WRITE_COIL_ENABLED - If the Write Coils function should be enabled.
- CONFIG_MB_FUNC_WRITE_MULTIPLE_COILS_ENABLED - If the Write Multiple Coils function should be enabled.
- CONFIG_MB_FUNC_READ_DISCRETE_INPUTS_ENABLED - If the Read Discrete Inputs function should be enabled.
- CONFIG_MB_FUNC_READWRITE_HOLDING_ENABLED - If the Read/Write Multiple Registers function should be enabled.
+ CONFIG_MB_FUNC_OTHER_REP_SLAVEID_BUF - Number of bytes which should be
+ allocated for the Report Slave ID command. This number limits the
+ maximum size of the additional segment in the report slave id function.
+ See eMBSetSlaveID() for more information on how to set this value. It
+ is only used if CONFIG_MB_FUNC_OTHER_REP_SLAVEID_ENABLED is set to 1.
+ CONFIG_MB_FUNC_OTHER_REP_SLAVEID_ENABLED - If the Report Slave ID
+ function should be enabled.
+ CONFIG_MB_FUNC_READ_INPUT_ENABLED - If the Read Input Registers function
+ should be enabled.
+ CONFIG_MB_FUNC_READ_HOLDING_ENABLED - If the Read Holding Registers
+ function should be enabled.
+ CONFIG_MB_FUNC_WRITE_HOLDING_ENABLED - If the Write Single Register
+ function should be enabled.
+ CONFIG_MB_FUNC_WRITE_MULTIPLE_HOLDING_ENABLED - If the Write Multiple
+ registers function should be enabled.
+ CONFIG_MB_FUNC_READ_COILS_ENABLED - If the Read Coils function should
+ be enabled.
+ CONFIG_MB_FUNC_WRITE_COIL_ENABLED - If the Write Coils function should
+ be enabled.
+ CONFIG_MB_FUNC_WRITE_MULTIPLE_COILS_ENABLED - If the Write Multiple Coils
+ function should be enabled.
+ CONFIG_MB_FUNC_READ_DISCRETE_INPUTS_ENABLED - If the Read Discrete Inputs
+ function should be enabled.
+ CONFIG_MB_FUNC_READWRITE_HOLDING_ENABLED - If the Read/Write Multiple
+ Registers function should be enabled.
Note
====