You can publish cloud-hosted drivers or built-in drivers. Built-in drivers are deployed on gateways. If you want to host drivers on the cloud, you can upload driver files to the Drivers page of the IoT Platform console. This topic describes how to publish cloud-hosted drivers.
Prerequisites
Procedure
What to do next
- On the Custom Drivers tab of the Drivers page, click Version Management in the Actions column.
- On the Version Management page, manage the driver versions. The following table lists the available actions.
Action Description Create Version Click Create Version to create a new version of the driver. For more information, see Configure driver parameters in this topic. Publish Click Publish to publish the specified version. In the Publish Driver dialog box, confirm the driver information, and click Publish. Note After the version of the driver is published, you cannot delete the version of the driver. You can only view the version details or download the version of the driver.Edit Click Edit to edit the driver configurations. For more information about driver configurations, see Configure driver parameters in this topic. You can edit the driver configurations only when the driver version is in the Unpublished state. Download Click Download to download the specified version of the driver. Delete Click Delete to delete the specified version of the driver. You can delete a driver version only when the driver version is in the Unpublished state. View Click View to view the driver version details or modify the configurations of the driver version. For more information, see Configure driver parameters in this topic. You can view the driver version details only when the driver version is in the Published state. - Assign the driver that has been published to the cloud to an edge instance, and assign sub-devices to the driver. Then, you can deploy the driver and its sub-devices to the edge services by deploying the edge instance. For more information, see Debug drivers.