- Azure IoT Development Cookbook
- Yatish Patil
- 92字
- 2021-07-02 20:50:37
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
}
}
推薦閱讀
- Android Wearable Programming
- GAE編程指南
- Software Defined Networking with OpenFlow
- Maven Build Customization
- 青少年軟件編程基礎與實戰(圖形化編程三級)
- 青少年美育趣味課堂:XMind思維導圖制作
- Building a Recommendation Engine with Scala
- Hands-On Enterprise Automation with Python.
- HDInsight Essentials(Second Edition)
- Python編程實戰
- Java:High-Performance Apps with Java 9
- 從零開始學Linux編程
- Building Machine Learning Systems with Python(Second Edition)
- Spring Security Essentials
- Python函數式編程(第2版)