Help Center> IoT Device Access> FAQs> Codecs> How Do I Configure a Command Delivery Response During Online Codec Development?

How Do I Configure a Command Delivery Response During Online Codec Development?

After receiving a command, a device sends an ACK message or a command delivery response. The ACK message indicates that the command has reached the device, and the command delivery response indicates the command execution result. If the device needs to return a command delivery response after receiving the command, the messageId and mid fields must be configured:
  • messageId must be configured in both the data reporting message and the command response, and this field in the two messages must be in the same place on the list, so that the codec can distinguish between the two.
  • mid must be configured in the command delivery message and the command response, and this field in the two messages must be in the same place on the list, so that the codec can associate the two.