
Install and run the mosquitto broker on Windows, use mosquitto_pub and mosquitto_sub to publish and subscribe to topic one, and configure the IP address and listener for local access.
Adapt a mosquitto mqtt client to run on Linux Raspberry Pi by installing development libraries, building mqtt.cpp in Geany IDE, and configuring IP addresses and delays to publish and subscribe.
In this lecture, I will show how to generate TLS certificate and keys. Then we will test the mosquitto broker with them.
Attach certificates to Windows and Linux MQTT clients using mosquitto_tls_set and set the broker port to 8883. Update the ESP32 certificates and broker address to enable TLS and test publish.
Learn to use aws iot core as a cloud mqtt broker by creating a thing, generating a certificate, and attaching a policy with connect, subscribe, publish, and receive actions.
Configure an ESP32 sketch to connect to AWS IoT Core using mqtt with certificate authentication, endpoint and port 8883, then publish and subscribe to topics via the mqtt test client.
In this course, I will look at the main points that allow your devices to exchange messages with each other over the MQTT protocol.
First, I will tell you about the MQTT protocol itself and the basic principles of its operation, I will explain what MQTT broker is. Then we will download and install the most popular MQTT mosquito broker for Windows and learn how to configure it. First we will do it on your machine, and then through the local network. Next, we will write a program for ESP32 that allows you to communicate with mosquitto broker, connect it via WiFi and test how the program works with mosquito broker. After that, we will install the mosquitto under linux on Raspberry Pi and connect ESP32 to it. We will also write a client that works through mosquito API, which you can embed into your programs.
And then we will learn how to work with the most popular cloud service for the Internet of Things Amazon Web Services IoT core. You will learn how to connect your devices to it and create a certificate and a policy for them. Next, we will modify our program for ESP32 so that it can work with the Amazon Web Services IoT Core. Then I'll show you how you can use one certificate and policy for multiple devices.