forked from eclipse-threadx/getting-started
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gsg-2.json
53 lines (53 loc) · 1.73 KB
/
gsg-2.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
47
48
49
50
51
52
53
{
"@context": "dtmi:dtdl:context;2",
"@id": "dtmi:azurertos:devkit:gsg;2",
"@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": "Property",
"name": "ledState",
"displayName": "LED state",
"description": "Returns the current state of the onboard LED.",
"schema": "boolean"
},
{
"@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."
}
]
}