课程: Raspberry Pi Weekly

免费学习该课程!

今天就开通帐号,24,600 门业界名师课程任您挑!

Build an MQTT client

Build an MQTT client

- MQTT or Message Queuing Telemetry Transport is a protocol used by the Internet of Things to exchange messages and notify other devices of important changes. With MQTT, a publisher sends a message with a topic to a broker. The broker then sends that message to any interested clients which have subscribed to a particular topic. Last week, we created an MQTT publisher. This week, let's build an MQTT client with a Raspberry Pi. Hi, I'm Mark Niemann-Ross and welcome to this week's edition of Raspberry Pi Weekly. Every week, we explore the Raspberry Pi and share useful tips. In this session, I'll keep the MQTT publisher project we created last week and use a different Raspberry Pi as a client. To create a Raspberry Pi MQTT client, we'll update and install some software. Start by updating your existing software sudo apt -get update. When the update is done, be sure to do a sudo apt -get upgrade. After you've done an…

内容