最新公告
  • 欢迎您光临IO源码网,本站秉承服务宗旨 履行“站长”责任,销售只是起点 服务永无止境!立即加入我们
  • MQTT Essentials – A Lightweight IoT Protocol PDF 下载

    MQTT Essentials – A Lightweight IoT Protocol PDF 下载

    本站整理下载:
    链接:https://pan.baidu.com/s/11xaewKeb4Fu3vOj-rcglng 
    提取码:yiiy 
     
     
    相关截图:
     
    主要内容:

    Preface
    MQTT is the preferred IoT publish-subscribe lightweight messaging protocol. If you develop IoT,
    web applications, mobile apps, or a combination of these solutions, you must learn how MQTT and
    its lightweight messaging system work. Of course, it is extremely important to take security into
    account when working with this protocol.
    Most of the times, when you work with IoT solutions, you won’t be using a single programming
    language. Instead, you will use a combination of different programming languages and code running
    on different IoT boards that might use diverse operating systems. MQTT has its own specific
    vocabulary and different working modes. Learning MQTT is challenging because it includes too many
    abstract concepts that require real-life examples to be easy to understand.
    This book will allow you to dive deep into the latest version of the MQTT protocol: 3.1.1. You will
    learn to work with Mosquitto MQTT server, command-line tools, and GUI tools to allow you to
    understand how everything works with MQTT and the possibilities that this protocol provides for
    your projects. You will learn security best practices and you will use them for a Mosquitto MQTT
    server.
    This book will provide you with examples in the following programming languages, which are
    extremely popular in IoT, web applications, and mobile apps: Python, Java, HTML 5, JavaScript,
    Node.js, and Swift 3. You will control a drone, interact with sensors, control home automation, and
    interact with actuators by exchanging MQTT messages with the different programming languages and
    client libraries.
    You will be able to run the examples on a wide range of modern IoT boards, such as Raspberry Pi 3,
    Raspberry Pi 2 Model B, Raspberry Pi Zero, Intel Joule, Intel Edison, and Intel Galileo Gen 2.
    However, any other board that supports the programming languages explained in the book will be
    able to run the samples.
    What this book covers
    Chapter 1, Lightweight Messaging with MQTT 3.1.1 and Mosquitto, starts our journey towards
    understanding the MQTT protocol. You will learn convenient scenarios for this protocol, the details
    of the publish-subscribe pattern, and message filtering. You will learn basic concepts related to
    MQTT and understand the different components: clients, brokers or servers, and connections. You
    will learn to install a Mosquitto broker or server on Linux, macOS, and Windows. You will learn
    best practices related to topics and single-level and multilevel wildcards. We will study in detail the
    different Quality of Service levels supported by MQTT and when it is convenient to use each of them.
    We will analyze their advantages and disadvantages.
    Chapter 2, Securing an MQTT Mosquitto Server, covers generating a private certificate authority, a
    server certificate, and client certificates to enable TLS transport security and TLS client
    authentication with Mosquitto. Communications between the MQTT clients and the MQTT server
    will be encrypted. We will work with OpenSSL to generate the digital certificates. We will test the
    MQTT TLS configuration with MQTT.fx, MQTT-spy, and the Mosquitto command-line utilities. We
    will force Mosquitto to use only a specific TLS version. This way, we will understand how to
    encrypt communications between the MQTT clients and the Mosquitto MQTT server.
    Chapter 3, Controling a Drone with Python, analyzes the requirements for controlling a drone with
    MQTT messages. We will define the topics that we will use and the commands that will be part of the
    messages’ payloads to control a drone. Then, we will work with the Paho Python Client to write
    Python code that connects an MQTT client to the MQTT server. We will understand the methods we
    need to call for the Paho Python Client and their parameters. We will analyze how callbacks work
    and we will be able to publish messages to topics, subscribe to topic filters, and receive and process
    messages. We will write code that processes commands for a drone with Python. The code will be
    able to run on different IoT platforms, including Intel Joule boards and Raspberry Pi 3, and also on
    any computer that is capable of executing Python 2.7.x or Python 3.x. We will work with the network
    loop for the MQTT client in Python. We will work with a GUI utility, command-line-based utilities,
    and, finally, with Python code to control the drone and display the feedback provided by the drone.
    Chapter 4, Interacting with Sensors in Java, analyzes the requirements for controlling sensors wired
    to different IoT boards with MQTT messages and Java code. We will define the topics that we will
    use and the commands that will be part of the messages’ payloads to control sensors. We will take
    advantage of the last will and testament feature of MQTT with Java. We will work with the Eclipse
    Paho Java Client to write Java code that will connect a non-blocking (asynchronous) MQTT client to
    the MQTT server. We will create a security helper class to establish a TLS secured connection, and
    we will work with asynchronous notifications and callbacks in Java. We will subscribe to topics,
    understand how notification events work, and we will write code that processes commands that
    interact with sensors. Finally, we will work with a GUI utility to interact with our Java application
    through MQTT messages. We will be able to turn on and turn off the sensors and retrieve data from
    them.
     

    *** 次数:10600 已用完,请联系开发者***

    1. 本站所有资源来源于用户上传和网络,因此不包含技术服务请大家谅解!如有侵权请邮件联系客服!384324621@qq.com
    2. 本站不保证所提供下载的资源的准确性、安全性和完整性,资源仅供下载学习之用!如有链接无法下载、失效或广告,请联系客服处理,有奖励!
    3. 您必须在下载后的24个小时之内,从您的电脑中彻底删除上述内容资源!如用于商业或者非法用途,与本站无关,一切后果请用户自负!
    4. 如果您也有好的资源或教程,您可以投稿发布,成功分享后有★币奖励和额外收入!

    IO 源码网 » MQTT Essentials – A Lightweight IoT Protocol PDF 下载

    常见问题FAQ

    免费下载或者VIP会员专享资源能否直接商用?
    本站所有资源版权均属于原作者所有,这里所提供资源均只能用于参考学习用,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。更多说明请参考 VIP介绍。
    提示下载完但解压或打开不了?
    最常见的情况是下载不完整: 可对比下载完压缩包的与网盘上的容量,若小于网盘提示的容量则是这个原因。这是浏览器下载的bug,建议用百度网盘软件或迅雷下载。若排除这种情况,可在对应资源底部留言,或 联络我们.。
    找不到素材资源介绍文章里的示例图片?
    对于PPT,KEY,Mockups,APP,网页模版等类型的素材,文章内用于介绍的图片通常并不包含在对应可供下载素材包内。这些相关商业图片需另外购买,且本站不负责(也没有办法)找到出处。 同样地一些字体文件也是这种情况,但部分素材会在素材包内有一份字体下载链接清单。
    IO源码吧
    一个高级程序员模板开发平台

    发表评论

    • 84会员总数(位)
    • 10537资源总数(个)
    • 68本周发布(个)
    • 8 今日发布(个)
    • 400稳定运行(天)

    提供最优质的资源集合

    立即查看 了解详情