Book Image

Android Things Projects

By : Francesco Azzola
Book Image

Android Things Projects

By: Francesco Azzola

Overview of this book

Android Things makes developing connected embedded devices easy by providing the same Android development tools, best-in-class Android framework, and Google APIs that make developers successful on mobile. With this book, you will be able to take advantage of the new Android framework APIs to securely build projects using low-level components such as sensors, resistors, capacitors, and display controllers. This book will teach you all you need to know about working with Android Things through practical projects based on home automation, robotics, IoT, and so on. We’ll teach you to make the most of the Android Things and build enticing projects such as a smart greenhouse that controls the climate and environment automatically. You’ll also create an alarm system, integrate Android Things with IoT cloud platforms, and more. By the end of this book, you will know everything about Android Things, and you’ll have built some very cool projects using the latest technology that is driving the adoption of IoT. You will also have primed your mindset so that you can use your knowledge for profitable, practical projects.
Table of Contents (15 chapters)
Title Page
Credits
About the Author
About the Reviewers
www.PacktPub.com
Customer Feedback
Preface

The M2M architecture and the MQTT protocol


By now, in the previous chapters, we have covered how to acquire data from sensors connected to the Android Things board and how to use the Android Things board to manage remote IoT boards that are non-compatible with Android Things. Moreover, we use the Android Things board to send data to the cloud using IoT cloud platforms. There is another important aspect that is important to cover: how to use Android Things in Machine to Machine (M2M) architecture and the role the MQTT protocol plays in this architecture.

M2M is an emerging key component in Internet of things and Industrial Internet of Things (IIoT). M2M is focused on how machines talk to each other when exchanging data and information. In other words, with Machine to Machine terms, we refer to all the technologies and wireless networks that enable real-time data exchanging without human actions. In other words, the machine (or object) exchanges data by itself with other machines. This aspect...