-
Notifications
You must be signed in to change notification settings - Fork 30
Closed
Labels
Description
I've just started using robotframework-mqttlibrary, and I can set up a subscription as per the documentation, then successfully receive messages. If I subscribe to wildcards, e.g...
${message}= Subscribe topic=test/mqtt_test/+ qos=1 timeout=2
...I can successfully receive messages published to test/mqtt_test/apples, test/mqtt_test/oranges, test/mqtt_test/pears etc.
However, ${message} appears to only contain the content of the message payload, and I've been unable to work out if it's possible to determine the exact topic of the received message (e.g. was it test/mqtt_test/apples or test/mqtt_test/pears).
Is there any way to do this with robotframework-mqttlibrary?