Help Center> IoT Device Management> FAQs> Secondary Development> FAQs About Product Development> Plug-In Development> How to Configure a Command Delivery Response During Online Codec Development
Updated on 2022-02-24 GMT+08:00

How to 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, configure the following data:
  • The messageId field 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 the data reporting message from the command response.
  • The mid field 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 command delivery message with the corresponding command response.

For details on the codec online development, see Codec for Containing Command Execution Results.

Plug-In Development FAQs

more