Skip to Content
Azure IoT Development Cookbook
book

Azure IoT Development Cookbook

by Yatish Patil
August 2017
Intermediate to advanced
254 pages
6h 10m
English
Packt Publishing
Content preview from Azure IoT Development Cookbook

There's more...

Device twin metadata always maintains the last updated timestamp for any modifications. This is the UTC timestamp maintained in the metadata.

Device twin format is a JSON format in which the tags, desired, and reported properties are stored; here is a sample JSON with different nodes showing how it is stored:

"tags": {  "$etag": "1234321",   "location": {    "country": "India"    "city": "Mumbai",    "zipCode": "400001"  }},"properties": {  "desired": {    "latitude": 18.75,    "longitude": -75.75,    "status": 1,    "$version": 4  },  "reported": {    "latitude": 18.75,    "longitude": -75.75,    "status": 1,    "$version": 4  }}
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Azure Serverless Computing Cookbook - Third Edition

Azure Serverless Computing Cookbook - Third Edition

Praveen Kumar Sreeram, Kasam Shaikh, Greg Leonardo

Publisher Resources

ISBN: 9781787283008Supplemental Content