From 9abd1c4053bbbae4ee52fe5a18ee9dc149493436 Mon Sep 17 00:00:00 2001 From: samson0v Date: Tue, 21 Jul 2026 14:48:30 +0300 Subject: [PATCH 1/2] Added security type env variable description --- src/content/_includes/docs/iot-gateway/config/general.mdx | 1 + 1 file changed, 1 insertion(+) 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 | From 06614b84b53e9fafc1a1a546c40dd2424f6a598f Mon Sep 17 00:00:00 2001 From: samson0v Date: Tue, 21 Jul 2026 14:49:10 +0300 Subject: [PATCH 2/2] Added description for maxRegistersPerRequest parameter in Modbus connector --- src/content/_includes/docs/iot-gateway/config/modbus.mdx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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`**. |