forked from eclipse-threadx/getting-started
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gsgmxchip-1.json
156 lines (156 loc) · 4.46 KB
/
gsgmxchip-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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
{
"@context": "dtmi:dtdl:context;2",
"@id": "dtmi:azurertos:devkit:gsgmxchip;1",
"@type": "Interface",
"displayName": "MXCHIP Getting Started Guide",
"description": "Example model for the Azure RTOS MXCHIP Getting Started Guide",
"contents": [
{
"@type": [
"Telemetry",
"Temperature"
],
"name": "temperature",
"displayName": "Temperature",
"unit": "degreeCelsius",
"schema": "double"
},
{
"@type": [
"Telemetry",
"RelativeHumidity"
],
"name": "humidity",
"displayName": "Humidity",
"unit": "percent",
"schema": "double"
},
{
"@type": [
"Telemetry",
"Pressure"
],
"name": "pressure",
"displayName": "Pressure",
"unit": "kilopascal",
"schema": "double"
},
{
"@type": "Telemetry",
"name": "magnetometerX",
"displayName": "Magnetometer X / mgauss",
"schema": "double"
},
{
"@type": "Telemetry",
"name": "magnetometerY",
"displayName": "Magnetometer Y / mgauss",
"schema": "double"
},
{
"@type": "Telemetry",
"name": "magnetometerZ",
"displayName": "Magnetometer Z / mgauss",
"schema": "double"
},
{
"@type": [
"Telemetry",
"Acceleration"
],
"name": "accelerometerX",
"displayName": "Accelerometer X",
"schema": "double",
"unit": "gForce"
},
{
"@type": [
"Telemetry",
"Acceleration"
],
"name": "accelerometerY",
"displayName": "Accelerometer Y",
"schema": "double",
"unit": "gForce"
},
{
"@type": [
"Telemetry",
"Acceleration"
],
"name": "accelerometerZ",
"displayName": "Accelerometer Z",
"schema": "double",
"unit": "gForce"
},
{
"@type": [
"Telemetry",
"AngularVelocity"
],
"name": "gyroscopeX",
"displayName": "Gyroscope X",
"schema": "double",
"unit": "degreePerSecond"
},
{
"@type": [
"Telemetry",
"AngularVelocity"
],
"name": "gyroscopeY",
"displayName": "Gyroscope Y",
"schema": "double",
"unit": "degreePerSecond"
},
{
"@type": [
"Telemetry",
"AngularVelocity"
],
"name": "gyroscopeZ",
"displayName": "Gyroscope Z",
"schema": "double",
"unit": "degreePerSecond"
},
{
"@type": "Property",
"name": "telemetryInterval",
"displayName": "Telemetry Interval",
"description": "Control the frequency of the telemetry loop.",
"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": "Command",
"name": "setDisplayText",
"displayName": "Display Text",
"description": "Display text on screen.",
"request": {
"name": "text",
"displayName": "Text",
"description": "Text displayed on the screen.",
"schema": "string"
}
},
{
"@type": "Component",
"schema": "dtmi:azure:DeviceManagement:DeviceInformation;1",
"name": "deviceInformation",
"displayName": "Device Information",
"description": "Interface with basic device hardware information."
}
]
}