diff --git a/src/content/_includes/docs/iot-gateway/config/general.mdx b/src/content/_includes/docs/iot-gateway/config/general.mdx index 4ee5f81bd0..d15560f45d 100644 --- a/src/content/_includes/docs/iot-gateway/config/general.mdx +++ b/src/content/_includes/docs/iot-gateway/config/general.mdx @@ -67,6 +67,7 @@ Full list of supported variables: |----------|---------|-------------| | `TB_GW_HOST` | `host.docker.internal` | Hostname or IP address of ThingsBoard server | | `TB_GW_PORT` | `1883` | MQTT service port on ThingsBoard server | +| `TB_GW_SECURITY_TYPE` | `accessToken` | Security type: `accessToken`, `usernamePassword`, `tlsAccessToken` | | `TB_GW_ACCESS_TOKEN` | — | Access token for the gateway | | `TB_GW_CA_CERT` | — | Path to CA certificate file | | `TB_GW_PRIVATE_KEY` | — | Path to private key file | diff --git a/src/content/_includes/docs/iot-gateway/config/modbus.mdx b/src/content/_includes/docs/iot-gateway/config/modbus.mdx index 5d86670683..a04b874fdb 100644 --- a/src/content/_includes/docs/iot-gateway/config/modbus.mdx +++ b/src/content/_includes/docs/iot-gateway/config/modbus.mdx @@ -1799,7 +1799,8 @@ Example of the serial slave configuration: | server.slaves[].attributes[].type | [Data type](/docs/iot-gateway/config/modbus/#data-types) of value. | | server.slaves[].attributes[].functionCode | [Function code](/docs/iot-gateway/config/modbus/#modbus-functions) to use for reading the attribute value from the Modbus slave. | | server.slaves[].attributes[].objectsCount | Number of objects to read from the Modbus slave. | -| server.slaves[].attributes[].address | Address of the object in the Modbus slave. Can be configured for [batch reading](/docs/iot-gateway/config/modbus/#usage-examples). | +| server.slaves[].attributes[].address | Address of the object in the Modbus slave. Can be configured for [batch reading](/docs/iot-gateway/config/modbus/#usage-examples). | +| server.slaves[].attributes[].maxRegistersPerRequest | (Optional) Maximum number of registers to read in a single request. If not specified, the default value is 16. Can be used only with [batch reading](/docs/iot-gateway/config/modbus/#usage-examples) feature. | | server.slaves[].attributes[].divider | (Optional) Divider for the value. If not specified, the value will be sent as is. | | server.slaves[].attributes[].multiplier | (Optional) Multiplier for the value. If not specified, the value will be sent as is. | | server.slaves[].attributes[].bitTargetType | The response type can be either an integer (0/1) or a boolean (True/False). **Used only with type `bits`**. | @@ -1810,6 +1811,7 @@ Example of the serial slave configuration: | server.slaves[].timeseries[].functionCode | [Function code](/docs/iot-gateway/config/modbus/#modbus-functions) to use for reading the time series value from the Modbus slave. | | server.slaves[].timeseries[].objectsCount | Number of objects to read from the Modbus slave. | | server.slaves[].timeseries[].address | Address of the object in the Modbus slave. Can be configured for [batch reading](/docs/iot-gateway/config/modbus/#usage-examples). | +| server.slaves[].timeseries[].maxRegistersPerRequest | (Optional) Maximum number of registers to read in a single request. If not specified, the default value is 16. Can be used only with [batch reading](/docs/iot-gateway/config/modbus/#usage-examples) feature. | | server.slaves[].timeseries[].divider | (Optional) Divider for the value. If not specified, the value will be sent as is. | | server.slaves[].timeseries[].multiplier | (Optional) Multiplier for the value. If not specified, the value will be sent as is. | | server.slaves[].timeseries[].bitTargetType | The response type can be either an integer (0/1) or a boolean (True/False). **Used only with type `bits`**. |