The rule engine is a backend module that can process the messages reported by devices and forward them to other Tencent Cloud components. It can filter messages by topic or message content and extract the specified fields into new messages for forwarding to Tencent Cloud components responsible for tasks such as message storage and computation.
Currently, messages forwarded by the rule engine can be in JSON or binary format. JSON messages can be filtered, while binary messages can only be passed through for forwarding.
After a device reports a payload message, it will be encapsulated in JSON format in the console before being forwarded to other Tencent Cloud services by the rule engine. The Payload
field in the encapsulated message indicates the original payload message reported by the device, and the console will use different methods to process it based on the forwarding scenario:
Payload
field will be Base64-encoded and needs to be Base64-decoded when the correct data is extracted.You can check the cloud logs of message forwarding in the IoT Hub console to confirm the forwarding situation.
Common causes of message forwarding failures include:
Was this page helpful?