Before You Start
1. Overview
The IoT AgentLite (AgentLite for short) provides standard capabilities for intelligent devices to access the IoT platform in smart home, industrial IoT, and Connected Vehicle fields. These intelligent devices, such as IP cameras (IPCs), lightweight gateways, industrial gateways, and head units, have strong computing capabilities.
2. API Overview
The following table lists the functions provided by the AgentLite, the APIs for implementing these functions, and the relationship between the APIs. It helps developers quickly locate APIs that are used to develop specific services.
Function |
API |
Description |
---|---|---|
Access of directly connected devices |
IOTA_Init |
This API is used to initialize AgentLite resources. |
IOTA_Destroy |
Releasing AgentLite Resources |
|
IOTA_ConfigSetXXX |
Binds the configuration. |
|
IOTA_Bind |
Binds devices. |
|
IOTA_TOPIC_CMD_UNBIND_RECEIVE |
Receives device unbinding commands. |
|
IOTA_SetConfig |
Configures relevant parameters. |
|
IOTA_Login |
Connects devices to the IoT platform. |
|
IOTA_Logout |
Disconnects devices from the IoT platform. |
|
Management of non-directly connected devices on a gateway |
IOTA_HubDeviceAdd |
Adds devices. |
IOTA_DeviceStatusUpdate |
Updates device status. |
|
IOTA_HubDeviceRemove |
Deletes devices. |
|
Reporting device service data |
IOTA_ServiceDataReport |
Reports device service data. |
Receiving device service commands |
IOTA_TOPIC_SERVICE_COMMAND_ RECEIVE/{deviceId} |
Receives device service commands. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot