Skip to Main Content
Hands-On Internet of Things with MQTT
book

Hands-On Internet of Things with MQTT

by Tim Pulver
October 2019
Intermediate to advanced content levelIntermediate to advanced
350 pages
9h 5m
English
Packt Publishing
Content preview from Hands-On Internet of Things with MQTT

Sending messages via MQTT

Our device is now ready to receive messages via MQTT. The MQTT server we are using features an MQTT, as well as an HTTP-interface. There are many different ways that we can now send messages to our device:

  • Via Terminal/PowerShell as MQTT messages using an MQTT client such as Mosquitto
  • Via Terminal/PowerShell as HTTP messages using curl
  • Via a third-party iOS/Android app
  • Via a third-party macOS/Windows/Linux app
  • Via a third-party web-based client (for example, http://www.hivemq.com/demos/websocket-client/)
  • Via a custom-made website using a JavaScript-MQTT client
  • Via a custom Android/iOS/macOS/Linux/Windows app using MQTT-client

Basically everything is possible depending on how you send text to your device. MQTT is ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Practical IoT Hacking

Practical IoT Hacking

Fotios Chantzis, Ioannis Stais, Paulino Calderon
Internet of Things (IoT) Fundamentals

Internet of Things (IoT) Fundamentals

Jerome Henry / Rob Barton

Publisher Resources

ISBN: 9781789341782Supplemental Content