MQTT Essentials A Lightweight IoT Protocol

Gaston C. Hillar

  • 出版商: Packt Publishing
  • 出版日期: 2017-04-12
  • 售價: $1,380
  • 貴賓價: 9.5$1,311
  • 語言: 英文
  • 頁數: 280
  • 裝訂: Paperback
  • ISBN: 1787287815
  • ISBN-13: 9781787287815
  • 相關分類: Qt物聯網 IoT
  • 立即出貨 (庫存=1)

買這商品的人也買了...

商品描述

Key Features

  • Make your connected devices less prone to attackers by understanding practical security mechanisms
  • Dive deep into one of IoT's extremely lightweight machines to enable connectivity protocol with some real-world examples
  • Learn to take advantage of the features included in MQTT for IoT and Machine-to-Machine communications with complete real-life examples

Book Description

This step-by-step guide will help you gain a deep understanding of the lightweight MQTT protocol. We'll begin with the specific vocabulary of MQTT and its working modes, followed by installing a Mosquitto MQTT broker. Then, you will use best practices to secure the MQTT Mosquitto broker to ensure that only authorized clients are able to publish and receive messages. Once you have secured the broker with the appropriate configuration, you will develop a solution that controls a drone with Python.

Further on, you will use Python on a Raspberry Pi 3 board to process commands and Python on Intel Boards (Joule, Edison and Galileo). You will then connect to the MQTT broker, subscribe to topics, send messages, and receive messages in Python. You will also develop a solution that interacts with sensors in Java by working with MQTT messages.

Moving forward, you will work with an asynchronous API with callbacks to make the sensors interact with MQTT messages. Following the same process, you will develop an iOS app with Swift 3, build a website that uses WebSockets to connect to the MQTT broker, and control home automation devices with HTML5, JavaScript code, Node.js and MQTT messages

What you will learn

  • Understand how MQTTv3.1 and v3.1.1 works in detail
  • Install and secure a Mosquitto MQTT broker by

商品描述(中文翻譯)

《重點特色》
- 通過了解實用的安全機制,使您的連接設備更不容易受到攻擊
- 深入研究物聯網中一種非常輕量級的機器,以實現連接協議,並提供一些實際的例子
- 學習如何利用MQTT中包含的功能以及完整的實際例子,進行物聯網和機器對機器通信

《書籍描述》
這本逐步指南將幫助您深入了解輕量級MQTT協議。我們將從MQTT的特定詞彙和工作模式開始,然後安裝Mosquitto MQTT代理。然後,您將使用最佳實踐來保護MQTT Mosquitto代理,以確保只有授權的客戶端能夠發布和接收消息。一旦您使用適當的配置保護了代理,您將開發一個使用Python控制無人機的解決方案。

接下來,您將在Raspberry Pi 3板上使用Python處理命令,並在Intel Boards(Joule、Edison和Galileo)上使用Python。然後,您將連接到MQTT代理,訂閱主題,發送消息並在Python中接收消息。您還將使用MQTT消息在Java中與傳感器交互,開發一個解決方案。

更進一步,您將使用帶有回調的異步API使傳感器與MQTT消息交互。按照相同的過程,您將使用Swift 3開發iOS應用程序,使用WebSockets連接到MQTT代理的網站,並使用HTML5、JavaScript代碼、Node.js和MQTT消息來控制家庭自動化設備。

《您將學到什麼》
- 詳細了解MQTTv3.1和v3.1.1的工作原理
- 安裝和保護Mosquitto MQTT代理