O'Reilly logo

Building Arduino Projects for the Internet of Things: Experiments with Real-World Applications by Adeel Javed

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

© Adeel Javed 2016

Adeel Javed, Building Arduino Projects for the Internet of Things, 10.1007/978-1-4842-1940-9_3

3. Communication Protocols

Adeel Javed

(1)Lake Zurich, Illinois, USA

In Chapter 2, you connected Arduino to the Internet using Ethernet and WiFi respectively. This chapter looks at two protocols used for sending and receiving data. A protocol is an agreed-upon structured format that is used for network communication. It defines what should be sent and received and what actions should be taken.

Learning Objectives

At the end of this chapter, you will be able to:

  • Understand the basics of the HTTP protocol

  • Send an HTTP request to the server

  • Understand the basics of the MQTT protocol

  • Publish and subscribe to an MQTT broker

HTTP

The web uses Hyper ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required