How to Use messageId During Online Codec Development
When messages of the same type are created, such as two data reporting messages, messageId must be configured to distinguish these messages and this parameter in each message must be in the same place on the list. The messageId field applies to the following scenarios:
- There are two or more data reporting messages or command delivery messages.
- A command response can be regarded as a type of data reporting message. Therefore, if a command response exists, messageId must be added to the data reporting message.
- A data reporting response can be regarded as a type of command delivery message. Therefore, if a data reporting response exists, messageId must be added to the command delivery message.
For details on the codec online development, see Codec for Multiple Data Reporting Messages.