mqtt on devices : geolocation in the iot world

Post on 14-Jun-2015

440 Views

Category:

Technology

3 Downloads

Preview:

Click to see full reader

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

MQTT on devices: geolocation in the IoT

worldPaolo Patierno

Microsoft MVP Windows Embedded / IoTppatierno@live.com

@ppatierno

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

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

Location Service

Location service

Core logic

CellWiFi GNSS

Geofence core

Geofencing WinRT API

Geofences

Geocoordinate .NET API

Geofence

software tracking

Geolocation WinRT API

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

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

Subscribe– Quality of

Service

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

Response– No Quality of

Service

MQTT vs HTTP

Receiving

(1024 msg – 1 byte)

Sending

(1024 msg – 1 byte)

http://stephendnicholas.com/archives/1217

top related