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.
Parent topic: Plug-In Development
Plug-In Development FAQs
- How to Develop Codecs
- Failed to Deploy a Plug-in That Is Developed Online
- What Is the Code Rule for Fields of the string and varstring Types
- What Is the Code Rule for Fields of the array and variant Types
- Whether Plug-Ins That Are Developed Online Support Transparent Transmission
- How to Use messageId During Online Codec Development
- How to Configure a Command Delivery Response During Online Codec Development
- Failed to Deploy a Plug-in That Is Developed Offline
- Failed to Upload a Plug-in That Is Developed Offline
- Plug-In Package Developed Offline Has Been Checked But Cannot Be Found When Uploading to the IoT Platform
- Codec Exception Occurs After a Plug-In Package Developed Offline That Has Been Checked Is Uploaded to the IoT Platform
- Offline Signature Fails
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.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbotmore