2. • Mobile device/App management (it all started with this)
• Parental control - tracking and enforcing policies
• Managing information and entertainment systems
– Healthcare - patients
– Hotel network - loyalty club
• Equipment tracking and management
– Rental equipment (geo-fencing)
– Warehouse equipment (Android wearable)
– Garbage bins - for methodical/effective recycling
A Few Common Use Cases
Customers Use WSO2 IoT Server for
4. The Payment Terminal
The Basic Composition
“Commercial
platform”
(Software Ecosystem)
+ +
• Terminal unit consists of
– Basic payment terminal
– Android tablet
– ‘Commercial-platform’
• PCI-DSS compliant
• Allows third-party developers to
develop apps for ‘commercial
platform’ ecosystem
5. Objectives
Personalized Customer Experience via Sales Terminal
“Commercial
platform”
(Software Ecosystem)
+ +
• Reward customers with loyalty
points
• Display emotional media,
coupons information, etc.
• Leverage beacons for
store-based analytics
• Invite customers to redeem
personalized offers
• Targets small and medium
businesses
6. Payment Terminals
With Legacy Terminal Management System
“Commercial
platform”
(Software Ecosystem)
+ +
• existing Terminal Management
System can be integrated with
the basic payment terminal
• Android devices and ‘commercial
platform’ need an extensible
solution for integration
Existing TMS
(Terminal Management
System)
7. Expectations
Integration of WSO2 IoT Server
“Commercial
platform”
(Software Ecosystem)
+ +
• Monitor device locations
• Detect faulty devices (color
indicators on a centralized
dashboard)
• Integrate app-marketplace
(MAM) and allow installation of
apps to selected devices
• Leverage Android-provided
advantages within the ecosystem
WSO2
IoT Server
Existing TMS
(Terminal Management
System)
8. Tasks Performed
WSO2 IoT Server - What Does it Do?
“Commercial
platform”
(Software Ecosystem)
+ +
• Get device information
• Google OTA update
• APK installation/upgrade/removal
• Lock devices (remote)
• Reboot devices
• Factory reset
• Send notifications
• Send logcat (to the server for
debugging faulty Android
devices)
WSO2
IoT Server
Existing TMS
(Terminal Management
System)
9. Communication Flow
WSO2 IoT Server in Action!
“Commercial
platform”
(Software Ecosystem)
+ +
WSO2
IoT Server
Existing TMS
(Terminal Management
System)
1. Issue Command
to Android Tablet A
2. Sync
3. Poll & Fetch
Commands
4. Return “Success”
5. Return
“Success”
10. Why WSO2 IoT Server?
Versus Commercial Products
“Commercial
platform”
(Software Ecosystem)
+ +
• Cost-effective - it’s 100% free
• Extensibility
• Easy integration with existing
terminal management
infrastructure
• Access to the source code and
ability to modify the Agents or
the Server: 100% open-source
(Apache 2.0)
WSO2
IoT Server
Existing TMS
(Terminal Management
System)
11. Why WSO2 IoT Server?
Additional things to note
“Commercial
platform”
(Software Ecosystem)
+ +
• WSO2 IoT Agents (firmware)
installed on devices
• WSO2 IoT Server capabilities are
utilized through REST APIs
(well-documented with Swagger)
• Seamless integration with
existing WSO2 Identity Server
and LDAP directory
WSO2
IoT Server
Existing TMS
(Terminal Management
System)
12. Device Enrollment
Mutual TLS-Based Self Registration
• Certificate per device
• Provided by own Certificate
Authority Service
• Certificate contains the serial
number of the tablet
• Mutual TLS-based device
enrollment
“Commercial
platform”
(Software Ecosystem)
+ +
WSO2
IoT Server
(own)
Certificate Authority
1. Certificate
Request
2. Certificate 3. Mutual TLS based
enrollment
13. The Deployment Architecture
WSO2 IoT Server Deployment
WSO2 IoT Server
Worker 1
WSO2 IoT Server
Worker 2
WSO2 IoT Server
Worker 3
Auto-scaling group
AWS
ELB
Amazon S3
Amazon RDS
✕ n
15. Objectives
Personalized Customer Experience
• Targets regular customers (loyalty club)
• Makes “in-room” experience personalized
• Collects information for further analytics
– To enhance experience based on preferences and
regular behavioral patterns
16. Information and Entertainment Systems
Device Gateway Pattern - Solutions Architecture
Device
Administration
Device Gateway
Communication
Module
Edge
Device
Communication
Module
Edge
Device
Communication
Module
Edge
Device
WiFi WiFi
17. How It Was Built
Basic Composition Of The Solution
WSO2
IoT Server
AndroidTV
Communication
Module
Meeting reminders
& Alarms
Communication
Module
Music & Messages
Communication
Module
Lighting/Blinds
WiFi WiFi
Edge devices
WSO2 Agent
+ NEXBOX A95X
+ XBee USB explorer Arduino with XBee shield
+ Relay module
18. How It Was Built
Devices and Tasks
WSO2
IoT Server
AndroidTV
Communication
Module
Curtains/Blinds
Communication
Module
Music & Messages
Communication
Module
Lighting
WiFi WiFi
Edge devices
Device gateway
Arduino with XBee shield
+ Relay module
Coordinator
23. Device Enrollment
WSO2
IoT Server
Images : fernlawn.com.au
The device is flashed with
a serial-number
& bootstrapping firmware
in manufacturing
Initiates WSO2-Agent
utility request during the
start-up
WSO2
IoT Server
Fetches and installs
WSO2-Agent
WSO2
IoT Server
Establish permanent
communication channel