Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Murata IoT Device Models #545

Merged
merged 5 commits into from
Aug 24, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
97 changes: 97 additions & 0 deletions dtmi/murata/b_u585i_iot02a/control_if-1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
{
"@context": [
"dtmi:iotcentral:context;2",
"dtmi:dtdl:context;2"
],
"@id": "dtmi:murata:b_u585i_iot02a:control_if;1",
"@type": "Interface",
"contents": [
{
"@id": "dtmi:murata:b_u585i_iot02a:control_if:Pause;1",
"@type": "Command",
"commandType": "synchronous",
"description": {
"en": "This Commands will put in pause the sensors transmission"
},
"displayName": {
"en": "Pause"
},
"name": "Pause",
"response": {
"@type": "CommandPayload",
"name": "PauseResponse",
"schema": {
"@type": "Object",
"displayName": {
"en": "Object"
},
"fields": [
{
"name": "Result",
"schema": "string"
}
]
}
}
},
{
"@id": "dtmi:murata:b_u585i_iot02a:control_if:Play;1",
"@type": "Command",
"commandType": "synchronous",
"description": {
"en": "This Command will Resume the Sensors transmission"
},
"displayName": {
"en": "Play"
},
"name": "Play",
"response": {
"@type": "CommandPayload",
"name": "PlayResponse",
"schema": {
"@type": "Object",
"displayName": {
"en": "Object"
},
"fields": [
{
"name": "Result",
"schema": "string"
}
]
}
}
},
{
"@id": "dtmi:murata:b_u585i_iot02a:control_if:Reset;1",
"@type": "Command",
"commandType": "synchronous",
"description": {
"en": "Reboot the board"
},
"displayName": {
"en": "Reset"
},
"name": "Reset",
"response": {
"@type": "CommandPayload",
"name": "ResetResponse",
"schema": {
"@type": "Object",
"displayName": {
"en": "Object"
},
"fields": [
{
"name": "Result",
"schema": "string"
}
]
}
}
}
],
"displayName": {
"en": "Control interface for B-U585I-IOT02A"
}
}
19 changes: 19 additions & 0 deletions dtmi/murata/b_u585i_iot02a/standard_fw-1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"@context": "dtmi:dtdl:context;2",
"@id": "dtmi:murata:b_u585i_iot02a:standard_fw;1",
"@type": "Interface",
"displayName": "B-U585I-IOT02A IoT Node 2 discovery kit.",
"contents": [
{
"@type": "Component",
"name": "deviceinfo",
"schema": "dtmi:azure:DeviceManagement:DeviceInformation;1"
},
{
"@type": "Component",
"name": "std_comp",
"schema": "dtmi:murata:b_u585i_iot02a:standard_if;1"
}
]
}

39 changes: 39 additions & 0 deletions dtmi/murata/b_u585i_iot02a/standard_fw-3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"@id": "dtmi:murata:b_u585i_iot02a:standard_fw;3",
"@type": "Interface",
"contents": [
{
"@id": "dtmi:murata:b_u585i_iot02a:standard_fw:std_comp;2",
"@type": "Component",
"displayName": {
"en": "Standard component"
},
"name": "std_comp",
"schema": "dtmi:murata:b_u585i_iot02a:standard_if;2"
},
{
"@id": "dtmi:murata:b_u585i_iot02a:standard_fw:ctrl_comp;2",
"@type": "Component",
"displayName": {
"en": "Control component"
},
"name": "ctrl_comp",
"schema": "dtmi:murata:b_u585i_iot02a:control_if;1"
},
{
"@type": "Component",
"displayName": {
"en": "Device info component"
},
"name": "deviceinfo",
"schema": "dtmi:azure:DeviceManagement:DeviceInformation;1"
}
],
"displayName": {
"en": "B-U585I-IOT02A"
},
"@context": [
"dtmi:iotcentral:context;2",
"dtmi:dtdl:context;2"
]
}
201 changes: 201 additions & 0 deletions dtmi/murata/b_u585i_iot02a/standard_if-1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,201 @@
{
"@context": "dtmi:dtdl:context;2",
"@id": "dtmi:murata:b_u585i_iot02a:standard_if;1",
"@type": "Interface",
"displayName": "Standard interface for B-U585I-IOT02A",
"description": "Reports temperature, relative humidity, pressure, magnetometer, accelerometer and gyroscope.",
"contents": [
{
"@type": [
"Telemetry",
"Temperature"
],
"name": "temperature",
"displayName": {
"en": "Temperature"
},
"description": "Temperature in degrees Celsius from HTS221 temperature sensor",
"schema": "double",
"unit": "degreeCelsius"
},
{
"@type": [
"Telemetry",
"RelativeHumidity"
],
"name": "humidity",
"displayName": {
"en": "Relative Humidity"
},
"description": "relative humidity from HTS221 sensor",
"schema": "double",
"unit": "percent"
},
{
"@type": [
"Telemetry",
"Pressure"
],
"name": "pressure",
"displayName": {
"en": "Pressure"
},
"description": "Pressure from LPS22HB sensor",
"schema": "double",
"unit": "millibar"
},
{
"@type": "Telemetry",
"name": "acceleration",
"displayName": "LSM6DSL Acc Value [mg]",
"comment": "LSM6DSL Acceleration X/Y/Z components [mg]",
"schema": {
"@type": "Object",
"displayName": "Single acceleration sample.",
"description": "Single acceleration sample. I.e.: {a_x, a_y, a_z}.",
"fields": [
{
"name": "a_x",
"schema": "double"
},
{
"name": "a_y",
"schema": "double"
},
{
"name": "a_z",
"schema": "double"
}
]
}
},
{
"@type": "Telemetry",
"name": "gyroscope",
"displayName": "LSM6DSL Gyro Value [mdps]",
"comment": "LSM6DSL Gyroscope X/Y/Z components [mdps]",
"schema": {
"@type": "Object",
"displayName": "Single angular velocity sample.",
"description": "Single angular velocity sample. I.e.: {g_x, g_y, g_z}.",
"fields": [
{
"name": "g_x",
"schema": "double"
},
{
"name": "g_y",
"schema": "double"
},
{
"name": "g_z",
"schema": "double"
}
]
}
},
{
"@type": "Telemetry",
"name": "magnetometer",
"displayName": "LIS3MDL Mag Value [mgauss]",
"comment": "LIS3MDL Magnetometer X/Y/Z components [mgauss]",
"schema": {
"@type": "Object",
"displayName": "Single magnetic field sample.",
"description": "Single magnetic field sample. I.e.: {m_x, m_y, m_z}.",
"fields": [
{
"name": "m_x",
"schema": "double"
},
{
"name": "m_y",
"schema": "double"
},
{
"name": "m_z",
"schema": "double"
}
]
}
},
{
"@type": "Property",
"name": "telemetry_interval",
"displayName": "Transmission period for telemetry data [in seconds]",
"schema": "double",
"writable": true
},
{
"@type": "Property",
"name": "acc_fullscale",
"displayName": "Acc FS",
"description": "Accelerometer Full Scale",
"writable": true,
"schema": {
"@type": "Enum",
"valueSchema": "integer",
"enumValues": [
{
"name": "G2",
"displayName": "2G",
"enumValue": 0
},
{
"name": "G4",
"displayName": "4G",
"enumValue": 1
},
{
"name": "G8",
"displayName": "8G",
"enumValue": 2
},
{
"name": "G16",
"displayName": "16G",
"enumValue": 3
}
]
}
},
{
"@type": "Property",
"name": "gyro_fullscale",
"displayName": "Gyro FS",
"description": "Gyroscope Full Scale",
"writable": true,
"schema": {
"@type": "Enum",
"valueSchema": "integer",
"enumValues": [
{
"name": "dps125",
"displayName": "125dps",
"enumValue": 0
},
{
"name": "dps250",
"displayName": "250dps",
"enumValue": 1
},
{
"name": "dps500",
"displayName": "500dps",
"enumValue": 2
},
{
"name": "dps1000",
"displayName": "1000dps",
"enumValue": 3
},
{
"name": "dps2000",
"displayName": "2000dps",
"enumValue": 4
}
]
}
}
]
}
Loading
Loading