Reputation: 3
this image contains mqtt parameters
this image contains topic & message
this image contains the error
Any insights on how to connect these problem ?
Thanks!
Upvotes: 0
Views: 123
Reputation: 555
the problem is on subscription action. Devices (user use-token-auth) cannot subscribe on topics such as iot-2/evt/event_id/fmt/format_string (e.g iot-2/evt/abc/fmt/json).
Devices can only publish to the event topics in the following format:
iot-2/evt/event_id/fmt/format_string
and devices can only subscribe to command topics in the following format:
iot-2/cmd/command_id/fmt/format_string
You have more details about that here
Remove the subscribing action, or change topic to smth like iot-2/cmd/abc/fmt/json and it should be ok.
Upvotes: 0