Introduction to device connection
Device connection is a core feature of IoT Edge. In IoT Edge, the module that handles device connections is called a driver. All devices must use a driver to connect to IoT Edge.
The following figure shows the device connection driver within the IoT Edge framework.
Device connection driver
- Connection management
Connection management establishes a communication link between a device and the gateway. IoT Edge does not restrict the communication protocol. You can choose a protocol as needed.
- Data transformation
The driver transforms device data into the data format defined by the Alibaba Cloud IoT Platform Thing Specification Language (TSL) model. The driver then sends this data to the IoT Platform. For more information about the TSL model, see Thing Specification Language model.
- Data and command processing
The driver processes operation requests from the cloud. It invokes services on the device, handles the results, and returns the results to the IoT Platform.

Introduction to using drivers
- Official drivers provided by IoT Edge for common protocols, such as Modbus and OPC UA.
- A software development kit (SDK) for creating custom drivers. Device vendors and developers can use the SDK to develop drivers for proprietary protocols.

To quickly learn how to use drivers, see the two official examples in the Example drivers section.
IoT Edge provides official drivers from Alibaba Cloud for communication protocols such as Modbus and OPC UA. To connect devices using these drivers, see the Official drivers section.
IoT Edge also provides a device connection SDK. You can use the SDK to develop custom drivers for your protocols. For more information about developing custom drivers, see Driver development.