Hands-On MQTT Programming with Python: Work with the lightweight IoT protocol in Python
Gaston C. Hillar
- 出版商: Packt Publishing
- 出版日期: 2018-05-23
- 售價: $1,500
- 貴賓價: 9.5 折 $1,425
- 語言: 英文
- 頁數: 228
- 裝訂: Paperback
- ISBN: 178913854X
- ISBN-13: 9781789138542
-
相關分類:
Python、程式語言、Qt
立即出貨 (庫存=1)
買這商品的人也買了...
-
$580$458 -
$1,380$1,311 -
$454Python Linux 系統管理與自動化運維
-
$352WCF 編程權威指南
-
$210$200 -
$880$695 -
$600$468 -
$580$435 -
$550$429 -
$590$466 -
$620$484 -
$550$429 -
$550$429 -
$600$468 -
$534$507 -
$458用 Python 編程和實踐!區塊鏈教科書
-
$403Python + Office:輕松實現 Python 辦公自動化
-
$680$537 -
$594$564 -
$458PyTorch 深度學習簡明實戰
-
$1,500$1,425 -
$630$498 -
$774$735 -
$580$458 -
$768$730
相關主題
商品描述
Explore the features included in the latest versions of MQTT for IoT and M2M communications and use them with modern Python 3. Key Features Make your connected devices less prone to attackers by understanding security mechanisms Take advantage of MQTT features for IoT and Machine-to-Machine communications The only book that covers MQTT with a single language, Python Book Description MQTT is a lightweight messaging protocol for small sensors and mobile devices. This book explores the features of the latest versions of MQTT for IoT and M2M communications, how to use them with Python 3, and allow you to interact with sensors and actuators using Python. The book begins with the specific vocabulary of MQTT and its working modes, followed by installing a Mosquitto MQTT broker. You will use different utilities and diagrams to understand the most important concepts related to MQTT. You will learn to make all the necessary configuration to work with digital certificates for encrypting all data sent between the MQTT clients and the server. You will also work with the different Quality of Service levels and later analyze and compare their overheads. You will write Python 3.x code to control a vehicle with MQTT messages delivered through encrypted connections (TLS 1.2), and learn how leverage your knowledge of the MQTT protocol to build a solution based on requirements. Towards the end, you will write Python code to use the PubNub cloud-based real-time MQTT provider to monitor a surfing competition. In the end, you will have a solution that was built from scratch by analyzing the requirements and then write Python code that will run on water-proof IoT boards connected to multiple sensors in surfboards. What you will learn Learn how MQTT and its lightweight messaging system work Understand the MQTT puzzle: clients, servers (formerly known as brokers), and connections Explore the features included in the latest versions of MQTT for IoT and M2M communications Publish and receive MQTT messages with Python Learn the difference between blocking and threaded network loops Take advantage of the last will and testament feature Work with cloud-based MQTT interfaces in Python Who this book is for This book is for developers who want to learn about the MQTT protocol for their IoT projects. Prior knowledge of working with IoT and Python will be helpful.
商品描述(中文翻譯)
探索最新版本的MQTT用於物聯網和機器對機器通信的功能,並使用現代Python 3進行開發。主要特點包括:通過了解安全機制,使您的連接設備更不容易受到攻擊;利用MQTT的功能進行物聯網和機器對機器通信;這是唯一一本使用單一語言Python來介紹MQTT的書籍。
本書探討了MQTT的特定詞彙和工作模式,並介紹了安裝Mosquitto MQTT代理器。您將使用不同的工具和圖表來理解與MQTT相關的最重要的概念。您將學習進行所有必要的配置,以便使用數字證書對MQTT客戶端和服務器之間傳送的所有數據進行加密。您還將使用不同的服務質量級別,並進行分析和比較它們的開銷。您將編寫Python 3.x代碼,通過加密連接(TLS 1.2)使用MQTT消息來控制車輛,並學習如何利用您對MQTT協議的了解來根據需求構建解決方案。最後,您將編寫Python代碼,使用基於雲的實時MQTT提供者PubNub來監控衝浪比賽。最終,您將擁有一個從頭開始構建的解決方案,通過分析需求,然後編寫Python代碼,該代碼將在連接到多個衝浪板上的防水物聯網板上運行。
閱讀本書,您將學習以下內容:了解MQTT及其輕量級消息系統的工作原理;理解MQTT的組成部分:客戶端、服務器(以前稱為代理器)和連接;探索最新版本的MQTT用於物聯網和機器對機器通信的功能;使用Python發布和接收MQTT消息;了解阻塞和線程化網絡循環之間的區別;利用遺囑功能;在Python中使用基於雲的MQTT接口。
本書適合希望了解MQTT協議的開發人員,以應用於其物聯網項目。具備物聯網和Python開發經驗將有所幫助。