-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
11 changed files
with
227 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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." | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,163 @@ | ||
{ | ||
"@context": "dtmi:dtdl:context;2", | ||
"@id": "dtmi:azurertos:devkit:gsgmxchip;2", | ||
"@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": "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": "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." | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"aliveStatusCodes": [0, 200] | ||
} |