Hands-On MQTT Programming with Python: Work with the lightweight IoT protocol in Python
暫譯: 使用 Python 實作 MQTT 程式設計:在 Python 中操作輕量級 IoT 協議
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,311MQTT Essentials A Lightweight IoT Protocol
-
$352WCF 編程權威指南
-
$210$200 -
$880$695 -
$600$468 -
$580$458 -
$550$429 -
$590$466 -
$620$484 -
$550$363 -
$550$429 -
$600$468 -
$534$507 -
$458用 Python 編程和實踐!區塊鏈教科書
-
$403Python + Office:輕松實現 Python 辦公自動化
-
$680$537 -
$594$564 -
$1,425Blazor WebAssembly By Example : Use practical projects to start building web apps with .NET 7, Blazor WebAssembly, and C#, 2/e (Paperback)
-
$630$498 -
$658利用 FastAPI 構建 Python 微服務
-
$580$458 -
$768$730 -
$407LangChain 大模型應用開發
-
$680$537
相關主題
商品描述
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 在物聯網 (IoT) 和機器對機器 (M2M) 通訊中的功能,並使用現代的 Python 3。
主要特點
- 透過了解安全機制,使您的連接設備不易受到攻擊
- 利用 MQTT 的功能進行物聯網和機器對機器通訊
- 唯一一本以單一語言 Python 涵蓋 MQTT 的書籍
書籍描述
MQTT 是一種輕量級的消息傳遞協議,適用於小型傳感器和移動設備。本書探討最新版本的 MQTT 在物聯網和 M2M 通訊中的功能,如何使用 Python 3,並允許您使用 Python 與傳感器和執行器互動。本書首先介紹 MQTT 的特定詞彙及其工作模式,接著安裝 Mosquitto MQTT 代理。您將使用不同的工具和圖表來理解與 MQTT 相關的最重要概念。您將學習進行所有必要的配置,以便使用數位證書加密在 MQTT 客戶端和伺服器之間傳送的所有數據。您還將處理不同的服務質量 (Quality of Service) 等級,並隨後分析和比較它們的開銷。您將編寫 Python 3.x 代碼來控制通過加密連接 (TLS 1.2) 傳送的 MQTT 消息來控制一輛車輛,並學習如何利用您對 MQTT 協議的知識來構建基於需求的解決方案。在最後,您將編寫 Python 代碼,使用基於雲的實時 MQTT 提供者 PubNub 來監控衝浪比賽。最終,您將擁有一個從零開始構建的解決方案,通過分析需求,然後編寫在連接到衝浪板上多個傳感器的防水物聯網板上運行的 Python 代碼。
您將學習
- 了解 MQTT 及其輕量級消息系統的運作方式
- 理解 MQTT 的拼圖:客戶端、伺服器(以前稱為代理)和連接
- 探索最新版本的 MQTT 在物聯網和 M2M 通訊中的功能
- 使用 Python 發佈和接收 MQTT 消息
- 了解阻塞和線程網絡循環之間的區別
- 利用最後的遺囑和證言功能
- 在 Python 中使用基於雲的 MQTT 介面
本書適合對象
本書適合希望了解 MQTT 協議以用於其物聯網項目的開發人員。具備物聯網和 Python 的先前知識將會有所幫助。