IoT Protocols: MQTT, CoAP and AMQP
Lightweight messaging for devices: MQTT (publish/subscribe), CoAP (REST for constrained devices), AMQP (enterprise queues).
Intermediate
import paho.mqtt.publish as publish
publish.single("lab/temp", "24.6", hostname="broker.local")
Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.
Discussion (0)
Sign in or join free to ask questions and discuss this topic.