Reader small image

You're reading from  Android Things Projects

Product typeBook
Published inJun 2017
Reading LevelBeginner
PublisherPackt
ISBN-139781787289246
Edition1st Edition
Languages
Right arrow
Author (1)
Francesco Azzola
Francesco Azzola
author image
Francesco Azzola

Francesco Azzola is an electronic engineer with over 15 years of experience in computer programming and JEE architecture. He is SCEA certified (Sun Certified Enterprise Architect), SCWCD, and SCJP. He is an Android and IoT enthusiast. He loves creating IoT projects using Arduino, Raspberry Pi, Android, and other platforms. He is interested in the convergence between IoT and mobile applications. Previously, he worked in the mobile development field for several years. He has created a blog called survivingwithandroid,where he shares posts about coding in Android and IoT projects.
Read more about Francesco Azzola

Right arrow

Installing the MQTT server


The last step of this wide IoT project is installing the MQTT server. As you already know, this is the link between the publisher and the subscriber. We added this step at the end because it is not the main focus of this chapter, but it is important to know how to do it so that you gain a deep knowledge about MQTT and the steps necessary to implement an IoT ecosystem that exchanges data and information using MQTT protocol. As stated before, this IoT project uses Mosquitto an open source MQTT broker (https://mosquitto.org/). There are several versions working on different operating systems. You can find more information about the platforms supported at this link (https://mosquitto.org/download/). In this project, we will use the Raspberry Pi 2, anyway, you are free to use any version you like according to your needs.

Installing the MQTT broker

To install the MQTT broker you have to connect to Raspberry Pi 2 and follow these steps:

  1. The first step is adding a repository...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Android Things Projects
Published in: Jun 2017Publisher: PacktISBN-13: 9781787289246

Author (1)

author image
Francesco Azzola

Francesco Azzola is an electronic engineer with over 15 years of experience in computer programming and JEE architecture. He is SCEA certified (Sun Certified Enterprise Architect), SCWCD, and SCJP. He is an Android and IoT enthusiast. He loves creating IoT projects using Arduino, Raspberry Pi, Android, and other platforms. He is interested in the convergence between IoT and mobile applications. Previously, he worked in the mobile development field for several years. He has created a blog called survivingwithandroid,where he shares posts about coding in Android and IoT projects.
Read more about Francesco Azzola