@@ -204,23 +204,25 @@ This is an example message about devices and properties data in event hub or Ser
204
204
"body" :{
205
205
"id" : " <device Id>" ,
206
206
"etag" : " <etag>" ,
207
- "displayName" : " Test Device " ,
207
+ "displayName" : " Sensor 1 " ,
208
208
"instanceOf" : " <device template Id>" ,
209
209
"simulated" : false ,
210
210
"provisioned" : true ,
211
211
"approved" : true ,
212
212
"properties" : {
213
- "testComponent" : {
214
- "testProperty" : " test property value" ,
213
+ "sensorComponent" : {
214
+ "setTemp" : " 30" ,
215
+ "fwVersion" : " 2.0.1" ,
216
+ "status" : { "first" : " first" , "second" : " second" },
215
217
"$metadata" : {
216
- "testProperty " : {
217
- "desiredValue" : " test property value " ,
218
+ "setTemp " : {
219
+ "desiredValue" : " 30 " ,
218
220
"desiredVersion" : 3 ,
219
221
"desiredTimestamp" : " 2020-02-01T17:15:08.9284049Z" ,
220
222
"ackVersion" : 3
221
223
},
222
- "testReadOnly " : { "ackVersion" : 3 },
223
- "testComplex " : {
224
+ "fwVersion " : { "ackVersion" : 3 },
225
+ "status " : {
224
226
"desiredValue" : {
225
227
"first" : " first" ,
226
228
"second" : " second"
@@ -230,11 +232,10 @@ This is an example message about devices and properties data in event hub or Ser
230
232
"ackVersion" : 2
231
233
}
232
234
},
233
- "testReadOnly" : " test read-only property value" ,
234
- "testComplex" : { "first" : " first" , "second" : " second" }
235
+
235
236
}
236
237
},
237
- "cloudProperties " : { "testCloudProperty " : " test cloud property value " }
238
+ "installDate " : { "installDate " : " 2020-02-01 " }
238
239
},
239
240
"annotations" :{
240
241
"iotcentral-message-source" :" devices" ,
@@ -254,25 +255,28 @@ This is an example snapshot containing devices and properties data in Blob Stora
254
255
255
256
``` json
256
257
{
258
+ "body" :{
257
259
"id" : " <device Id>" ,
258
260
"etag" : " <etag>" ,
259
- "displayName" : " Test Device " ,
261
+ "displayName" : " Sensor 1 " ,
260
262
"instanceOf" : " <device template Id>" ,
261
263
"simulated" : false ,
262
264
"provisioned" : true ,
263
265
"approved" : true ,
264
266
"properties" : {
265
- "testComponent" : {
266
- "testProperty" : " test property value" ,
267
+ "sensorComponent" : {
268
+ "setTemp" : " 30" ,
269
+ "fwVersion" : " 2.0.1" ,
270
+ "status" : { "first" : " first" , "second" : " second" },
267
271
"$metadata" : {
268
- "testProperty " : {
269
- "desiredValue" : " test property value " ,
272
+ "setTemp " : {
273
+ "desiredValue" : " 30 " ,
270
274
"desiredVersion" : 3 ,
271
275
"desiredTimestamp" : " 2020-02-01T17:15:08.9284049Z" ,
272
276
"ackVersion" : 3
273
277
},
274
- "testReadOnly " : { "ackVersion" : 3 },
275
- "testComplex " : {
278
+ "fwVersion " : { "ackVersion" : 3 },
279
+ "status " : {
276
280
"desiredValue" : {
277
281
"first" : " first" ,
278
282
"second" : " second"
@@ -282,11 +286,10 @@ This is an example snapshot containing devices and properties data in Blob Stora
282
286
"ackVersion" : 2
283
287
}
284
288
},
285
- "testReadOnly" : " test read-only property value" ,
286
- "testComplex" : { "first" : " first" , "second" : " second" }
289
+
287
290
}
288
291
},
289
- "cloudProperties " : { "testCloudProperty " : " test cloud property value " }
292
+ "installDate " : { "installDate " : " 2020-02-01 " }
290
293
}
291
294
```
292
295
@@ -324,7 +327,7 @@ This is an example message about device templates data in event hub or Service B
324
327
{
325
328
"@id" : " <component Id>" ,
326
329
"@type" : [" InterfaceInstance" ],
327
- "name" : " Sensor component " ,
330
+ "name" : " sensorComponent " ,
328
331
"schema" : {
329
332
"@id" : " <interface Id>" ,
330
333
"@type" : [" Interface" ],
@@ -391,7 +394,7 @@ This is an example message about device templates data in event hub or Service B
391
394
"schema" : " string"
392
395
},
393
396
"displayName" : " Configure sensor" ,
394
- "name" : " sensorconfig "
397
+ "name" : " sensorConfig "
395
398
}
396
399
]
397
400
}
0 commit comments