This guide describes the device development process using an IoT Platform Enterprise instance in the China (Shenzhen) region.
Procedure
- Create an Enterprise instance: Purchase an Enterprise instance of IoT Platform to connect devices and manage services.
- Create a product and a device: Create a product and a device in the IoT Platform console to obtain the device certificate (ProductKey, DeviceName, and DeviceSecret).
- Connect the device and report data: After you obtain the device certificate (ProductKey, DeviceName, and DeviceSecret), connect the device to the Enterprise instance using the Message Queuing Telemetry Transport (MQTT) protocol.
- Subscribe to device messages on the server: Use the data forwarding feature of the rules engine to forward data to a consumer group.
- Connect an AMQP client: After a device connects to IoT Platform, it reports data to the platform. This data can then stream to your server through an AMQP channel.
- Send instructions from the cloud: Call the IoT Platform cloud API to send instructions to a device.
该文章对您有帮助吗?