Raspberry Pi - MQTT for IoT
What will be the output of this Python MQTT client code snippet when publishing a message with QoS 1?
import paho.mqtt.client as mqtt
client = mqtt.Client()
client.connect('broker.hivemq.com', 1883)
result = client.publish('test/topic', 'Hello', qos=1)
print(result.rc)