- 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
}
}
推薦閱讀
- 自然語言處理實(shí)戰(zhàn):預(yù)訓(xùn)練模型應(yīng)用及其產(chǎn)品化
- Docker and Kubernetes for Java Developers
- Visual FoxPro程序設(shè)計(jì)教程(第3版)
- Learning Selenium Testing Tools with Python
- PHP 從入門到項(xiàng)目實(shí)踐(超值版)
- Visual Basic程序開發(fā)(學(xué)習(xí)筆記)
- Java技術(shù)手冊(原書第7版)
- 差分進(jìn)化算法及其高維多目標(biāo)優(yōu)化應(yīng)用
- 正則表達(dá)式經(jīng)典實(shí)例(第2版)
- Mastering JavaScript Design Patterns(Second Edition)
- MATLAB for Machine Learning
- Visual Basic程序設(shè)計(jì)實(shí)驗(yàn)指導(dǎo)(第二版)
- Flowable流程引擎實(shí)戰(zhàn)
- Orleans:構(gòu)建高性能分布式Actor服務(wù)
- 玩轉(zhuǎn).NET Micro Framework移植:基于STM32F10x處理器