-
Notifications
You must be signed in to change notification settings - Fork 343
Added documentation section for ftp custom converter functionality #2467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Added documentation section for ftp custom converter functionality #2467
Conversation
|
|
docs/iot-gateway/config/ftp.md
Outdated
|
|
||
| #### Subsection "converter" | ||
|
|
||
| This configuration section is **optional** and is used only when you want to process incoming data with a custom FTP converter instead of the built-in **FTPUplinkConverter**. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove FTPUplinkConverter
docs/iot-gateway/config/ftp.md
Outdated
|
|
||
| Typical use cases: | ||
|
|
||
| - Files with **extensions not supported** by default (.txt, .csv, .json), or Supported extensions, but with a different data structure, for example: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove (.txt, .csv, .json)
because it confuses whether we support them or not
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Supported extensions - supported extensions
docs/iot-gateway/config/ftp.md
Outdated
| **extension-config** fields used in this example | ||
|
|
||
| | **Parameter** | **Example value** | **Description** | | ||
| |--------------------|-------------------| ------------------------------------------------------------------------------------------------------ | | ||
| | devicePatternName | **0** | Column index used to resolve the device name (here: value from column `0`). | | ||
| | devicePatternType | **1** | Column index or literal used to resolve the device type (here: value from column `1`). | | ||
| | attributes | **array** | List of attribute mappings. Each item describes how to read an attribute value from a specific column. | | ||
| | timeseries | **array** | List of timeseries mappings. Each item describes how to read a telemetry value from a specific column. | | ||
|
|
||
| Each item in attributes / timeseries has the following fields: | ||
|
|
||
| | **Field** | **Example value** | **Description** | | ||
| |-----------|-------------------------------------| --------------------------------------------------------------------------- | | ||
| | key | **meterAddress** | Attribute / telemetry key that will appear in ThingsBoard. | | ||
| | column | **0** | Zero-based column index in the CSV line from which the value will be taken. | | ||
| | type | **string** / **int** / **double** | Value type. The custom converter will cast the raw string to this type. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use config example instead of tables
PR description
The documentation updated for Thingsboard IOT gateway FTP connector.
Link checker
The links will be checked by the build agent automatically once you create or update your PR.
You can use the following command to check the broken links locally.