2013年3月12日星期二

M2M Beginner: MQTT Tutorial

    MQTT is the first M2M protocol when i was involved in the realm of M2M. After consulting many references by Google, it's found that MQTT is reliable and easy to use. Following samples provided by Paho  a simple info publishing system can be finished in a day.
 
   What is MQTT? As official website said:
   "MQTT stands for MQ Telemetry Transport. It is a publish/subscribe, extremely simple and lightweight messaging protocol, designed for constrained devices and low-bandwidth, high-latency or unreliable networks. 

      The design principles are to minimise network bandwidth and device resource requirements whilst also attempting to ensure reliability and some degree of assurance of delivery. 

      These principles also turn out to make the protocol ideal of the emerging “machine-to-machine” (M2M) or “Internet of Things” world of connected devices, and for mobile applications where bandwidth and battery power are at a premium."

   Where is MQTT in use? As official website said:
   "MQTT has been widely implemented across a variety of industries since 1999. A few of the more interesting examples are listed on the projects list."
 
   Here lists useful MQTT reference link:


   In IBM Redbook "Building Smarter Planet Solutions with MQTT and IBM WebSphere MQ Telemetry", it refers to that "Instruments + Interconnection + Intelligent Analysis = Smart Planet". See diagram below:

The Three pillars of the Smarter Planet
   Oh, What a magic smarter planet someday!

   Next, we are going to talk about MQTT application in "Smarter Planet".
   Here are our focuses:

  • Understand MQTT protocol internal
  • Implement specific MQTT client in C/Java/Lua based on Paho
  • Integrate Mosquitto with MQTT Client as "Customized Message Push System"
  • Porting Mosquitto & Paho to specific Embedded ARM-Linux platform
  • Integrate MQTT Client into Windows/iOS/Android/WindowsPhone/Embedded Linux Client
  • Deploy from local service to cloud service

没有评论:

发表评论