Raw data from some devices that have limited resources and low specifications cannot be converted to Thing Specification Language (TSL) models in the JSON format. Therefore, these devices cannot communicate with IoT Platform. To fix the issue, you can pass through raw data from devices to IoT Platform. IoT Platform converts raw device data to Alink JSON data by using data parsing scripts that you submit. Then, you can perform subsequent operations on the converted data.
Background information
The following figure shows how data flows between devices and enterprise servers.

Connect a device to IoT Platform
This article uses a device that collects environmental data as an example.
Create a data parsing script
In the IoT Platform console, edit and submit a data parsing script, and test data parsing.
After you submit the script, IoT Platform uses the script to parse subsequent upstream data. After upstream data is parsed, the data is displayed on the Status tab of the Device Details page.
