Skip to content

Commit

Permalink
Add DTDL files
Browse files Browse the repository at this point in the history
  • Loading branch information
kbeaugrand committed Sep 12, 2021
1 parent c401541 commit 53ece57
Show file tree
Hide file tree
Showing 10 changed files with 855 additions and 168 deletions.
82 changes: 0 additions & 82 deletions dtdl/LoRaDevice.json

This file was deleted.

86 changes: 0 additions & 86 deletions dtdl/VAQA'O Sensor (50-70-168).json

This file was deleted.

Binary file added dtdl/Watecco - S0 Sensor (50-70-001).jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
202 changes: 202 additions & 0 deletions dtdl/Watecco - S0 Sensor (50-70-001).json
Original file line number Diff line number Diff line change
@@ -0,0 +1,202 @@
[
{
"@id": "dtmi:kbeaugrand:watecco:S0;1",
"@type": "Interface",
"contents": [
{
"@id": "dtmi:kbeaugrand:watecco:S0:Index1;1",
"@type": "Telemetry",
"displayName": {
"en": "Pulse Count"
},
"name": "Index1",
"schema": "integer"
},
{
"@id": "dtmi:kbeaugrand:watecco:S0:BatteryLevel;1",
"@type": [
"Telemetry",
"Voltage"
],
"displayName": {
"en": "BatteryLevel"
},
"name": "BatteryLevel",
"schema": "integer",
"unit": "millivolt"
}
],
"displayName": {
"en": "Watecco - S0 (50-70-001)"
},
"extends": [
"dtmi:kbeaugrand:watecco:S0:LoRaDevice;1"
],
"@context": [
"dtmi:iotcentral:context;2",
"dtmi:dtdl:context;2"
]
},
{
"@id": "dtmi:kbeaugrand:watecco:S0:LoRaDevice;1",
"@type": "Interface",
"contents": [
{
"@id": "dtmi:kbeaugrand:watecco:S0:LoRaDevice:AppEUI;1",
"@type": "Property",
"description": {
"en": "This is the unique ID of the Application server."
},
"displayName": {
"en": "AppEUI"
},
"name": "AppEUI",
"schema": "string",
"writable": true
},
{
"@id": "dtmi:kbeaugrand:watecco:S0:LoRaDevice:AppKey;1",
"@type": "Property",
"description": {
"en": "The data encryption key used to \"encode\" the messages between the end nodes and the Application Server"
},
"displayName": {
"en": "AppKey"
},
"name": "AppKey",
"schema": "string",
"writable": true
},
{
"@id": "dtmi:kbeaugrand:watecco:S0:LoRaDevice:SensorDecoder;1",
"@type": "Property",
"description": {
"en": "The name of an integrated decoder function or the URI to a decoder in a custom decoder module in the format: http://modulename/api/decodername."
},
"displayName": {
"en": "SensorDecoder"
},
"name": "SensorDecoder",
"schema": "string",
"writable": true
},
{
"@id": "dtmi:kbeaugrand:watecco:S0:LoRaDevice:RX2DataRate;1",
"@type": "Property",
"description": {
"en": "Rx2DataRate (Receive window 2 data rate, currently only supported for OTAA devices): Any of the allowed data rates."
},
"displayName": {
"en": "RX2DataRate"
},
"name": "RX2DataRate",
"schema": {
"@id": "dtmi:kbeaugrand:watecco:S0:LoRaDevice:RX2DataRate:schema;1",
"@type": "Enum",
"displayName": {
"en": "Enum"
},
"enumValues": [
{
"@id": "dtmi:kbeaugrand:watecco:S0:LoRaDevice:RX2DataRate:schema:SF12BW125;1",
"displayName": {
"en": "SF12BW125"
},
"enumValue": "SF12BW125",
"name": "SF12BW125"
},
{
"@id": "dtmi:kbeaugrand:watecco:S0:LoRaDevice:RX2DataRate:schema:SF11BW125;1",
"displayName": {
"en": "SF11BW125"
},
"enumValue": "SF11BW125",
"name": "SF11BW125"
},
{
"@id": "dtmi:kbeaugrand:watecco:S0:LoRaDevice:RX2DataRate:schema:SF10BW125;1",
"displayName": {
"en": "SF10BW125"
},
"enumValue": "SF10BW125",
"name": "SF10BW125"
},
{
"@id": "dtmi:kbeaugrand:watecco:S0:LoRaDevice:RX2DataRate:schema:SF8BW125;1",
"displayName": {
"en": "SF8BW125"
},
"enumValue": "SF8BW125",
"name": "SF8BW125"
},
{
"@id": "dtmi:kbeaugrand:watecco:S0:LoRaDevice:RX2DataRate:schema:SF7BW250;1",
"displayName": {
"en": "SF7BW250"
},
"enumValue": "SF7BW250",
"name": "SF7BW250"
},
{
"@id": "dtmi:kbeaugrand:watecco:S0:LoRaDevice:RX2DataRate:schema:SF7BW125;1",
"displayName": {
"en": "SF7BW125"
},
"enumValue": "SF7BW125",
"name": "SF7BW125"
},
{
"@id": "dtmi:kbeaugrand:watecco:S0:LoRaDevice:RX2DataRate:schema:SF9BW125;1",
"displayName": {
"en": "SF9BW125"
},
"enumValue": "SF9BW125",
"name": "SF9BW125"
},
{
"@id": "dtmi:kbeaugrand:watecco:S0:LoRaDevice:RX2DataRate:schema:SF8BW500;1",
"displayName": {
"en": "SF8BW500"
},
"enumValue": "SF8BW500",
"name": "SF8BW500"
},
{
"@id": "dtmi:kbeaugrand:watecco:S0:LoRaDevice:RX2DataRate:schema:SF11BW500;1",
"displayName": {
"en": "SF11BW500"
},
"enumValue": "SF11BW500",
"name": "SF11BW500"
},
{
"@id": "dtmi:kbeaugrand:watecco:S0:LoRaDevice:RX2DataRate:schema:SF10BW500;1",
"displayName": {
"en": "SF10BW500"
},
"enumValue": "SF10BW500",
"name": "SF10BW500"
},
{
"@id": "dtmi:kbeaugrand:watecco:S0:LoRaDevice:RX2DataRate:schema:SF9BW500;1",
"displayName": {
"en": "SF9BW500"
},
"enumValue": "SF9BW500",
"name": "SF9BW500"
}
],
"valueSchema": "string"
},
"writable": true
}
],
"displayName": {
"en": "LoRa Interface"
},
"@context": [
"dtmi:iotcentral:context;2",
"dtmi:dtdl:context;2"
]
}
]
Binary file added dtdl/Watecco - Sens'O (50-70-011).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 53ece57

Please sign in to comment.