forked from eclipse-threadx/getting-started
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gsg-1.json
46 lines (46 loc) · 1.49 KB
/
gsg-1.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"@context": "dtmi:dtdl:context;2",
"@id": "dtmi:azurertos:devkit:gsg;1",
"@type": "Interface",
"displayName": "Getting Started Guide",
"description": "Example model for the Azure RTOS Getting Started Guides",
"contents": [
{
"@type": [
"Telemetry",
"Temperature"
],
"name": "temperature",
"displayName": "Temperature",
"unit": "degreeCelsius",
"schema": "double"
},
{
"@type": "Property",
"name": "telemetryInterval",
"displayName": "Telemetry Interval",
"description": "Specify the interval in seconds for the telemetry.",
"schema": "integer",
"writable": true
},
{
"@type": "Command",
"name": "setLedState",
"displayName": "Set LED state",
"description": "Sets the state of the onboard LED.",
"request": {
"name": "state",
"displayName": "State",
"description": "True is LED on, false is LED off.",
"schema": "boolean"
}
},
{
"@type": "Component",
"schema": "dtmi:azure:DeviceManagement:DeviceInformation;1",
"name": "deviceInformation",
"displayName": "Device Information",
"description": "Interface with basic device hardware information."
}
]
}