For devices that use transparent transmission format or custom data format, you need to write data parsing scripts in the cloud to convert the binary data or custom JSON data reported by the device into JSON data format supported by IoT Platform. Converts the JSON data delivered by the platform to a format supported by the device.
TCP conversion script
Added conversion scripts
Click Add Conversion Script to add an upstream data parsing script and an authentication script.
TCP conversion script parameters | Parameter description |
name |
|
Script type |
|
Screenplay content |
|
remark |
|
prompt
This feature is only available for TCP transport protocol. The upstream data parsing script refers to the parsing of the device TSM, and the authentication script is the parsing of the device credentials.
edit
Select the conversion script to modify the content.
prompt
TCP conversion scripts cannot be edited until they are disabled.
Test
When TCP script test is added, you can select different script types to test, or click the Test button to test after the new test.
enable
After adding script management, click the Enable button for the script conversion to take effect.
prompt
When status is enabled, it cannot be edited and deleted.
Search
Query specific data based on script management name, status, and creation time.
Delete
Single item or batch deletion script management.
Rule chain conversion script
Added conversion scripts
Click Add Conversion Script, fill in the relevant information, and confirm.
The rulechain script manages parameters | Parameter description |
name |
|
illustrate |
|
Transfer function functionality |
|
edit
Select the rule chain script to edit it.
Test the conversion script
Test the transfer function functionality when adding or editing.
enable
Enable rule chain conversion scripts.
Search
Search for data based on name, status, and creation time.
Delete
Delete conversion scripts individually or in bulk.