Updated on 2022-08-11 GMT+08:00

Device Twin Acquisition

This topic is used to publish the request for obtaining device twins.

Topic

$hw/events/device/{device_id}/twin/get

Parameter

Type

Description

device_id

String

End device ID.

Usage

Use an MQTT client to publish this topic. This topic must be used together with Device Twin Acquisition Result.

Parameter Description

Parameter

Type

Description

event_id

String

Event ID.

Example

$hw/events/device/ab39361a-6fc0-4c94-b919-72b1e08ca690/twin/get

{
     "event_id":"123456"
 }