Home Page Icon
Home Page
Table of Contents for
Front cover
Close
Front cover
by Vladimir Kislicins, Vasfi Gucer, Rahul Gupta, Nguyen Van Duy, Michael P Robertso
Building Real-time Mobile Solutions with MQTT and IBM MessageSight
Front cover
Notices
Trademarks
Preface
Authors
Now you can become a published author, too!
Comments welcome
Stay connected to IBM Redbooks
Chapter 1. Overview of Message Queuing Telemetry Transport (MQTT)
1.1 Building a Smarter Planet world
1.1.1 The Internet of Things (IoT)
1.1.2 Smarter Planet concept
1.1.3 Telemetry and the Internet
1.2 MQTT
1.2.1 Benefits of the MQTT protocol
1.2.2 Basic concepts of the MQTT protocol
1.2.3 The OASIS MQTT Technical Committee
1.2.4 The Eclipse Paho project
1.2.5 Comparison of MQTT and HTTP
1.3 MessageSight
1.4 Benefits of using MQTT
1.5 Where to use MQTT
1.5.1 Connected car
1.5.2 Connected city
1.5.3 Connected home
1.5.4 Connected consumers
Chapter 2. Getting started with Message Queuing Telemetry Transport (MQTT)
2.1 MQTT concepts
2.1.1 MQTT messaging
2.1.2 MQTT client programming
2.2 MQTT server
2.2.1 IBM MessageSight
2.2.2 IBM WebSphere MQ
2.2.3 Really Small Message Broker and MQ Telemetry daemon for devices
2.2.4 Mosquitto
2.3 MQTT clients
2.3.1 Eclipse Paho clients
2.3.2 IBM Mobile Messaging and M2M Client Pack MA9B
2.3.3 Preparation
2.3.4 Building the sample MQTT application
2.3.5 MQTT publisher and subscriber in Java
2.3.6 MQTT publisher and subscriber in JavaScript
Chapter 3. Overview of IBM MessageSight
3.1 Features of MessageSight
3.1.1 MessageSight is a developer-friendly solution
3.1.2 Connections to MessageSight
3.2 Messaging patterns of MessageSight
3.2.1 Fan out broadcast
3.2.2 Fan in per device notification
3.2.3 Fan out per device notification
3.2.4 Fan out per device request-reply
3.2.5 Fan in per device request-reply
3.3 Install the MessageSight virtual appliance (for developers)
3.4 Overview of the MessageSight web UI
3.4.1 Connect to the MessageSight appliance
3.4.2 The MessageSight Home page
3.4.3 Administrator actions using the MessageSight web UI
3.5 Overview of the MessageSight CLI
3.5.1 Connect to the MessageSight appliance
3.5.2 Administrator actions using the MessageSight CLI
3.6 Message hubs, endpoints, and policies
3.6.1 Endpoints
3.6.2 Message hubs
3.6.3 Connection policies
3.6.4 Messaging policies
3.6.5 Endpoints
3.6.6 The DemoHub message hub
3.6.7 Configuring your first message hub using the MessageSight web UI
3.6.8 Configuring a message hub using the MessageSight CLI
3.6.9 Use the MessageSight SSH to deploy message hub configuration
Chapter 4. Typical network topology, messaging patterns, and considerations
4.1 Network topology
4.1.1 The architecture
4.2 Messaging patterns
4.2.1 Fan out broadcast
4.2.2 Fan in per device notification
4.2.3 Fan out per device notification
4.2.4 Fan in per device request reply
4.2.5 Fan out per device request reply
4.3 Messaging considerations
4.3.1 Quality of service
4.3.2 Message size
4.3.3 Message order
4.3.4 Topic namespace
4.3.5 Retained message
Chapter 5. IBM MessageSight and the key fob remote application
5.1 Overview of the key fob remote application
5.1.1 Application overview
5.1.2 Testing the key fob remote application
5.2 MessageSight configurations for the key fob remote application
5.2.1 MessageSight basic configuration
5.3 Security capabilities of the MessageSight appliance
5.3.1 Adding security controls to the key fob remote application
5.3.2 Adding security at the transport level using SSL or TLS
Chapter 6. Overview of the PickMeUp application
6.1 Company A scenario
6.1.1 Company A business problem
6.1.2 Requirements for the PickMeUp application at Company A
6.2 PickMeUp architecture for real-life use
6.2.1 Architecture overview
6.2.2 Considerations for the real-life use of PickMeUp
6.3 Company A solution
6.3.1 Scenario 1: Connecting
6.3.2 Scenario 2: Pairing
6.3.3 Scenario 3: Approaching
6.3.4 Scenario 4: Riding
6.3.5 Scenario 5: Payment
Chapter 7. PickMeUp messaging scenario
7.1 Actors in the PickMeUp solution
7.2 Stages of the PickMeUp solution
7.3 Topics and messages for the PickMeUp scenario
7.3.1 Connecting
7.3.2 Pairing
7.3.3 Approaching
7.3.4 Riding
7.3.5 Payment
7.4 Summary of publication and subscription topics for the PickMeUp solution
7.4.1 Driver app topics
7.4.2 Passenger app topics
7.4.3 Back-end application topics
Chapter 8. PickMeUp Message Queuing Telemetry Transport (MQTT) on iOS
8.1 Advantages of developing a native (iOS) passenger app
8.1.1 Using the iOS MQTT client
8.2 Features of the PickMeUp iOS passenger app
8.2.1 PickMeUp class overview
8.2.2 Chat topic structure
8.2.3 Chat Implementation
8.2.4 The PickMeUp iOS passenger app storyboard
Chapter 9. PickMeUp Message Queuing Telemetry Transport (MQTT) on Android
9.1 Advantages of developing an Android PickMeUp application
9.2 Features of the Android PickMeUp application
9.2.1 PickMeUp class overview
9.2.2 Using the Eclipse Paho Android service
9.2.3 More information about the Android MQTT Client
9.2.4 Payment message flow
Chapter 10. PickMeUp Message Queuing Telemetry Transport (MQTT) in HTML5 applications
10.1 Advantages of developing an HTML5 PickMeUp application
10.2 Features of the HTML5 MQTT application
10.2.1 PickMeUp Messenger overview
10.2.2 PickMeUp Messenger: The Driver and Passenger location flow
Chapter 11. Download, deploy, and run PickMeUp in iOS, Android, and HTML environments
11.1 Set up a PickMeUp iOS project
11.1.1 Prerequisites
11.1.2 Obtain the PickMeUp iOS source code
11.1.3 Open the PickMeUp iOS project
11.1.4 Configure the project build settings
11.1.5 Run the application
11.1.6 Run PickMeUp for your iOS project
11.2 Set up a PickMeUp Android project
11.2.1 Prerequisites
11.2.2 Register with Google Maps API
11.2.3 Android SDK Packages
11.2.4 Run PickMeUp for your Android project
11.3 Set up the PickMeUp back end
11.3.1 Prerequisites
11.3.2 Register with Bluemix
11.3.3 Download, deploy, and run PickMeUp
11.4 Set up the PickMeUp HTML5 project
Appendix A. The Message Queuing Telemetry Transport (MQTT) protocol
Quality of service (QoS) levels and flow
QoS determination
Impact of QoS level on performance
The MQTT client identifier
MQTT durable and non-durable subscribers
MQTT persistence
The MQTT header
The MQTT keep alive timer
Delivery of the MQTT retry message
The MQTT last will and testament
The MQTT retained flag on messages
The TCP/IP stack
Appendix B. Additional material
Locating the web material
Using the web material
Related publications
IBM Redbooks
Online resources
Help from IBM
Back cover
IBM System x Reference Architecture for Hadoop: IBM InfoSphere BigInsights Reference Architecture
Introduction
Business problem and business value
Reference architecture use
Requirements
InfoSphere BigInsights predefined configuration
InfoSphere BigInsights HBase predefined configuration
Deployment considerations
Customizing the predefined configurations
Predefined configuration bill of materials
References
The team who wrote this paper
Now you can become a published author, too!
Stay connected to IBM Redbooks
Notices
Trademarks
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Next
Next Chapter
Note: Before using this information and the product it supports, read the information in “Notices” on page vii.
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset