舉報

會員
Hands-On MQTT Programming with Python
ThisbookisfordeveloperswhowanttolearnabouttheMQTTprotocolfortheirIoTprojects.PriorknowledgeofworkingwithIoTandPythonwillbehelpful.
目錄(103章)
倒序
- 封面
- 版權信息
- Packt Upsell
- Why subscribe?
- PacktPub.com
- About the Author
- About the reviewer
- Packt is searching for authors like you
- Preface
- Who this book is for
- What this book covers
- To get the most out of this book
- Download the example code files
- Download the color images
- Conventions used
- Get in touch
- Reviews
- Installing an MQTT 3.1.1 Mosquitto Server
- Understanding convenient scenarios for the MQTT protocol
- Working with the publish-subscribe pattern
- Working with message filtering
- Understanding the MQTT puzzle – clients servers and connections
- Installing a Mosquitto server on Linux
- Installing a Mosquitto server on macOS
- Installing a Mosquitto server on Windows
- Considerations for running a Mosquitto server in the cloud
- Test your knowledge
- Summary
- Using Command-Line and GUI Tools to Learn How MQTT Works
- Subscribing to topics with a command-line tool
- Subscribing to topics with a GUI tool
- Publishing messages with a command-line tool
- Publishing messages with a GUI tool
- Unsubscribing from topics with a GUI tool
- Learning best practices for topics
- Understanding MQTT wildcards
- Learning about the different QoS levels
- Working with at least once delivery (QoS level 1)
- Working with exactly once delivery (QoS level 2)
- Understanding overhead in the different Quality of Service levels
- Test your knowledge
- Summary
- Securing an MQTT 3.1.1 Mosquitto Server
- Understanding the importance of securing a Mosquitto server
- Generating a private certificate authority to use TLS with Mosquitto
- Creating a certificate for the Mosquitto server
- Configuring TLS transport security in Mosquitto
- Testing the MQTT TLS configuration with command-line tools
- Testing the MQTT TLS configuration with GUI tools
- Creating a certificate for each MQTT client
- Configuring TLS client certificate authentication in Mosquitto
- Testing the MQTT TLS client authentication with command-line tools
- Testing the MQTT TLS configuration with GUI tools
- Forcing the TLS protocol version to a specific number
- Test your knowledge
- Summary
- Writing Code to Control a Vehicle with Python and MQTT Messages
- Understanding the requirements to control a vehicle with MQTT
- Defining the topics and commands
- Creating a virtual environment with Python 3.6.x and PEP 405
- Understanding the directory structure for a virtual environment
- Activating the virtual environment
- Deactivating the virtual environment
- Installing paho-mqtt for Python
- Connecting a client to the secured MQTT server with paho-mqtt
- Understanding callbacks
- Subscribing to topics with Python
- Configuring certificates for IoT boards that will work as clients
- Creating a class to represent a vehicle
- Receiving messages in Python
- Working with multiple calls to the loop method
- Test your knowledge
- Summary
- Testing and Improving Our Vehicle Control Solution in Python
- Processing commands with Python
- Sending messages with Python
- Working with the network loop with Python
- Working with last will and testament with Python
- Working with retained last will messages
- Understanding blocking and non-blocking code
- Using the threaded client interface
- Test your knowledge
- Summary
- Monitoring a Surfing Competition with Cloud-Based Real-Time MQTT Providers and Python
- Understanding the requirements
- Defining the topics and payloads
- Coding a surfboard sensor emulator
- Configuring the PubNub MQTT interface
- Publishing data retrieved from sensors to the cloud-based MQTT server
- Working with multiple MQTT servers
- Running multiple clients
- Building a web-based dashboard with freeboard
- Test your knowledge
- Summary
- Solutions
- Chapter 1: Installing an MQTT 3.1.1 Mosquitto server
- Chapter 2: Using Command-Line and GUI Tools to Learn How MQTT Works
- Chapter 3: Securing an MQTT 3.1.1 Mosquitto Server
- Chapter 4: Writing Code to Control a Vehicle with Python and MQTT Messages
- Chapter 5: Testing and Improving our Vehicle Control Solution in Python
- Chapter 6: Monitoring a Surfing Competition with Cloud-Based Real-Time MQTT Providers and Python
- Other Books You May Enjoy
- Leave a review - let other readers know what you think 更新時間:2021-06-25 22:02:28
推薦閱讀
- 通信工程施工工藝手冊
- 電子線路CAD與實訓
- 移動網(wǎng)絡安全體系架構與防護技術
- 5G移動通信:無線網(wǎng)絡優(yōu)化技術與實踐
- 移動Ad Hoc網(wǎng)絡
- 5G承載網(wǎng)絡運維(中級)
- 信號與系統(tǒng)(第三版)
- TMS320DM642 DSP原理與應用實踐
- 應用商店核心用戶在線評論對消費者更新決策的影響研究
- 電氣控制及變頻技術應用
- NFC技術原理與應用
- 基站天線測試技術與實踐
- 電子愛好者入門
- 微信小程序開發(fā)圖解案例教程(附精講視頻)(第2版)
- 下一代互聯(lián)網(wǎng)IPv6過渡技術與部署實例
- 圖解觸摸屏·PLC·變頻器綜合應用工程實踐
- 雷達人體感知
- 數(shù)字通信技術
- 數(shù)字電子技術與邏輯設計
- 零起點學顯示器維修技術
- 無線通信系統(tǒng)仿真
- 5G時代的承載網(wǎng)
- Android自定義控件高級進階與精彩實例
- Sora:讀懂人工智能新紀元
- 通信光纜與電纜線路工程
- 通信工程項目招標投標理論與實務
- 網(wǎng)絡安全實驗培訓教程
- 東數(shù)西算與算力網(wǎng)絡
- 數(shù)字通信技術及SystemView軟件仿真
- 多重故障光網(wǎng)絡生存性技術