Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

MQTT on devices : geolocation in the IoT world

3,051 views

Published on

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

Published in: Technology

MQTT on devices : geolocation in the IoT world

  1. 1. MQTT on devices: geolocation in the IoT world Paolo Patierno Microsoft MVP Windows Embedded / IoT ppatierno@live.com @ppatierno
  2. 2. 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
  3. 3. Agenda • Location Service • Geofencing • MQTT vs HTTP • Demo time !!
  4. 4. Location Service Location service Core logic Geofencing WinRT API Geofences GNSS WiFi Cell Geofence core Geocoordinate .NET API Geofence software tracking Geolocation WinRT API
  5. 5. Geofencing Location service Geofences storage App ApAppp Create fences Fence notification Trigger task (BG) (FG) Background core Read notification info Geofence tracking for all apps Hardware based tracking GeofenceMonitor Optimized, adaptive software tracking
  6. 6. MQTT vs HTTP • MQTT – Binary – Lightweight – Asynchronous – Publish/Subscribe – Quality of Service • HTTP – ASCII / Text – Complex – Synchronous – Request/Response – No Quality of Service
  7. 7. MQTT vs HTTP Receiving (1024 msg – 1 byte) Sending (1024 msg – 1 byte) http://stephendnicholas.com/archives/1217

×