© Pradeeka Seneviratne 2019
Pradeeka SeneviratneBeginning LoRa Radio Networks with Arduinohttps://doi.org/10.1007/978-1-4842-4357-2_7

7. Connecting with IoT Servers Using MQTT

Pradeeka Seneviratne1 
(1)
Mulleriyawa, Sri Lanka
 

In this chapter, you will learn how to send data to an IoT server using the MQTT protocol with a LoRa wireless network. The ThingSpeak IoT platform enables clients to update and receive updates from channel feeds through the ThingSpeak MQTT broker. MQTT is a publish/subscribe communication protocol that uses TCP/IP sockets or WebSockets. MQTT over WebSockets can be secured with SSL. A client device connects to the MQTT broker and can publish to a channel or subscribe to updates from that channel.

The network you’ll build consists ...

Get Beginning LoRa Radio Networks with Arduino: Build Long Range, Low Power Wireless IoT Networks now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.