mqtt on devices : geolocation in the iot world

7
MQTT on devices: geolocation in the IoT world Paolo Patierno Microsoft MVP Windows Embedded / IoT [email protected] @ppatierno

Upload: paolo-patierno

Post on 14-Jun-2015

440 views

Category:

Technology


3 download

DESCRIPTION

Session at Mobile Camp 2014 in Naples that shows a simple usage of MQTT (vs HTTP) for geolocation services on devices based on Windows Phone 8.1 and Windows 8.1

TRANSCRIPT

Page 1: MQTT on devices : geolocation in the IoT world

MQTT on devices: geolocation in the IoT

worldPaolo Patierno

Microsoft MVP Windows Embedded / [email protected]

@ppatierno

Page 2: MQTT on devices : geolocation in the IoT world

Who am I ? Contacts• Senior Software Engineer• Microsoft MVP Windows Embedded / IoT• «DotNetCampania» member

– http://dotnetcampania.org/blogs/paolopat/default.aspx

• «Embedded101» board of director member– http://www.embedded101.com/Blogs/PaoloPatierno.aspx

• «TinyCLR.it» member– http://www.tinyclr.it

• Linkedin– http://it.linkedin.com/in/paolopatierno

• AllSeen Alliance «sponsored» member for AllJoin project• Eclipse «committer» for Paho project

Page 3: MQTT on devices : geolocation in the IoT world

Agenda• Location Service• Geofencing• MQTT vs HTTP• Demo time !!

Page 4: MQTT on devices : geolocation in the IoT world

Location Service

Location service

Core logic

CellWiFi GNSS

Geofence core

Geofencing WinRT API

Geofences

Geocoordinate .NET API

Geofence

software tracking

Geolocation WinRT API

Page 5: MQTT on devices : geolocation in the IoT world

GeofencingLocation serviceGeofences storageAppAppAppCreate fencesTrigger task (BG)Fence notification (FG)Background coreRead notification infoHardware based trackingGeofence tracking for all appsGeofenceMonitorOptimized, adaptive software tracking

Page 6: MQTT on devices : geolocation in the IoT world

MQTT vs HTTP• MQTT– Binary– Lightweight– Asynchronous– Publish/

Subscribe– Quality of

Service

• HTTP– ASCII / Text– Complex– Synchronous– Request/

Response– No Quality of

Service

Page 7: MQTT on devices : geolocation in the IoT world

MQTT vs HTTP

Receiving

(1024 msg – 1 byte)

Sending

(1024 msg – 1 byte)

http://stephendnicholas.com/archives/1217