![Page 1: MQTT on devices : geolocation in the IoT world](https://reader036.vdocuments.mx/reader036/viewer/2022082410/557d60f4d8b42aba3d8b504b/html5/thumbnails/1.jpg)
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](https://reader036.vdocuments.mx/reader036/viewer/2022082410/557d60f4d8b42aba3d8b504b/html5/thumbnails/2.jpg)
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](https://reader036.vdocuments.mx/reader036/viewer/2022082410/557d60f4d8b42aba3d8b504b/html5/thumbnails/3.jpg)
Agenda• Location Service• Geofencing• MQTT vs HTTP• Demo time !!
![Page 4: MQTT on devices : geolocation in the IoT world](https://reader036.vdocuments.mx/reader036/viewer/2022082410/557d60f4d8b42aba3d8b504b/html5/thumbnails/4.jpg)
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](https://reader036.vdocuments.mx/reader036/viewer/2022082410/557d60f4d8b42aba3d8b504b/html5/thumbnails/5.jpg)
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](https://reader036.vdocuments.mx/reader036/viewer/2022082410/557d60f4d8b42aba3d8b504b/html5/thumbnails/6.jpg)
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](https://reader036.vdocuments.mx/reader036/viewer/2022082410/557d60f4d8b42aba3d8b504b/html5/thumbnails/7.jpg)
MQTT vs HTTP
Receiving
(1024 msg – 1 byte)
Sending
(1024 msg – 1 byte)
http://stephendnicholas.com/archives/1217