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

Create AVR128DB48_CNANO;1 #541

Merged
merged 41 commits into from
Aug 10, 2023
Merged
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
04e20ae
Create wfi32_iot_wm-1.json
randywu763 Jul 29, 2022
e052bc7
Update wfi32_iot_wm-1.json
randywu763 Jul 31, 2022
42b8d10
Update wfi32_iot_wm-1.json
randywu763 Aug 1, 2022
243ba59
Update wfi32_iot_wm-1.json
randywu763 Aug 2, 2022
de8748c
Update wfi32_iot_wm-1.json
randywu763 Aug 19, 2022
45ecbc4
Corrected enum values for LED Off/On
randywu763 Aug 19, 2022
d7e28d3
Merge branch 'main' into main
randywu763 Aug 20, 2022
3bb57f8
Create WFI32_IoT_WM;2
randywu763 Aug 20, 2022
a84691b
Merge branch 'main' of https://github.com/randywu763/iot-plugandplay-…
randywu763 Aug 20, 2022
fd65791
Add send text message command
randywu763 Aug 20, 2022
95c449d
Update wfi32_iot_wm-2.json
randywu763 Aug 25, 2022
235d4cb
Revert back to original WFI32_IoT_WM;1
randywu763 Aug 25, 2022
48f424b
Update wfi32_iot_wm-2.json
randywu763 Aug 26, 2022
e0610ad
Merge branch 'Azure:main' into main
randywu763 Dec 25, 2022
59566d5
Add 2 device models
randywu763 Dec 26, 2022
8aa1abd
Update total press count
randywu763 Dec 27, 2022
5118cc5
Update WFI32 models
randywu763 Dec 28, 2022
70620c7
Merge branch 'Azure:main' into main
randywu763 Jan 8, 2023
b3b43b2
Create pic32cmls60_curiosity-1.json
randywu763 Jan 8, 2023
b157441
Merge branch 'main' of https://github.com/randywu763/iot-plugandplay-…
randywu763 Jan 8, 2023
02ddf16
Merge branch 'Azure:main' into main
randywu763 Jan 12, 2023
7e67a93
Create avr_iot_cellular-1.json
randywu763 Jan 12, 2023
dfa3699
Merge branch 'Azure:main' into main
randywu763 Jan 16, 2023
1207e01
Create wbz451_curiosity-1.json
randywu763 Jan 16, 2023
781e978
Merge branch 'main' of https://github.com/randywu763/iot-plugandplay-…
randywu763 Jan 16, 2023
853fd03
Delete avr_iot_cellular-1.json
randywu763 Jan 16, 2023
2d96937
Update WBZ451 Curiosity
randywu763 Jan 16, 2023
7aefd32
Update WBZ451_Curiosity;1
randywu763 Jan 17, 2023
8792ad1
Merge branch 'Azure:main' into main
randywu763 Jan 17, 2023
a98355f
Merge branch 'Azure:main' into main
randywu763 Jan 18, 2023
e412553
Merge branch 'Azure:main' into main
randywu763 Apr 24, 2023
d82801e
Create pic18F57q84_cnano-1.json
randywu763 Apr 24, 2023
54443fb
Update pic18F57q84_cnano-1.json
randywu763 Apr 25, 2023
23c3138
Delete pic18F57q84_cnano-1.json
randywu763 Apr 25, 2023
594f6fc
Create pic18f57q84_cnano-1.json
randywu763 Apr 25, 2023
8f4e5b2
Merge branch 'Azure:main' into main
randywu763 Apr 26, 2023
78823c1
Create wbz451_curiosity-2.json
randywu763 Apr 30, 2023
e022fa1
Update wbz451_curiosity-2.json
randywu763 May 2, 2023
d859afe
Merge branch 'Azure:main' into main
randywu763 May 2, 2023
2392bf9
Merge branch 'Azure:main' into main
randywu763 Aug 1, 2023
c36cf92
Create avr128db48_cnano-1.json
randywu763 Aug 1, 2023
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
241 changes: 241 additions & 0 deletions dtmi/com/microchip/avr128db48_cnano-1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,241 @@
{
"@id": "dtmi:com:Microchip:AVR128DB48_CNANO;1",
"@type": "Interface",
"contents": [
{
"@type": "Telemetry",
"description": {
"en": "Incrementing counter value"
},
"displayName": {
"en": "Counter"
},
"name": "counter",
"schema": "integer"
},
{
"@type": "Telemetry",
"description": {
"en": "Event triggered when a button is pressed"
},
"displayName": {
"en": "Button Press"
},
"name": "buttonEvent",
"schema": {
"@type": "Object",
"fields": [
{
"name": "button_name",
"schema": "string"
},
{
"name": "press_count",
"schema": "integer"
}
]
}
},
{
"@type": [
"Property",
"StringValue"
],
"description": {
"en": "IP Address"
},
"displayName": {
"en": "IP Address"
},
"name": "ipAddress",
"schema": "string",
"writable": false
},
{
"@type": [
"Property",
"Initialized"
],
"description": {
"en": "The current state of LED0"
},
"displayName": {
"en": "LED0"
},
"name": "LED0",
"schema": "dtmi:com:Microchip:AVR128DB48_CNANO:LedState;1",
"writable": true,
"initialValue": 3
},
{
"@type": [
"Property",
"NumberValue",
"TimeSpan"
],
"description": {
"en": "Sets interval to send telemetry in seconds"
},
"displayName": {
"en": "Telemetry Reporting Rate"
},
"name": "reportRate",
"schema": "integer",
"unit": "second",
"writable": true,
"initialValue": 1
},
{
"@type": "Command",
"description": {
"en": "Reboot with the specified delay (e.g. PT5S for 5 seconds)"
},
"displayName": {
"en": "Reboot"
},
"name": "reboot",
"request": {
"@type": "CommandPayload",
"description": {
"en": "Number of seconds to delay reboot (e.g. PT5S for 5 seconds)"
},
"displayName": {
"en": "Reboot Delay"
},
"name": "payload",
"schema": {
"@type": "Object",
"fields": [
{
"displayName": {
"en": "Delay before reboot operation"
},
"name": "delay",
"schema": "duration"
}
]
}
},
"response": {
"@type": "CommandPayload",
"displayName": {
"en": "Response for command"
},
"name": "response",
"schema": {
"@type": "Object",
"fields": [
{
"displayName": {
"en": "Message from reboot handler"
},
"name": "status",
"schema": "string"
},
{
"displayName": {
"en": "Number of seconds to delay the reboot"
},
"name": "delay",
"schema": "integer"
}
]
}
}
},
{
"@type": "Command",
"description": {
"en": "Echo a text message sent from the cloud"
},
"displayName": {
"en": "Echo Message"
},
"name": "echo",
"request": {
"@type": "CommandPayload",
"description": {
"en": "Message to echo"
},
"displayName": {
"en": "Message"
},
"name": "payload",
"schema": {
"@type": "Object",
"fields": [
{
"displayName": {
"en": "Message to echo"
},
"name": "echoString",
"schema": "string"
}
]
}
},
"response": {
"@type": "CommandPayload",
"displayName": {
"en": "Response for command"
},
"name": "response",
"schema": {
"@type": "Object",
"fields": [
{
"displayName": {
"en": "Message from the echo message handler"
},
"name": "echoString",
"schema": "string"
}
]
}
}
}
],
"description": {
"en": "AVR128DB48 Curiosity Nano Development Board"
},
"displayName": {
"en": "AVR128DB48 Curiosity Nano Development Board"
},
"schemas": [
{
"@id": "dtmi:com:Microchip:AVR128DB48_CNANO:LedState;1",
"@type": "Enum",
"enumValues": [
{
"@id": "dtmi:com:Microchip:AVR128DB48_CNANO:LedState:On;1",
"displayName": {
"en": "On"
},
"enumValue": 1,
"name": "On"
},
{
"@id": "dtmi:com:Microchip:AVR128DB48_CNANO:LedState:Off;1",
"displayName": {
"en": "Off"
},
"enumValue": 2,
"name": "Off"
},
{
"@id": "dtmi:com:Microchip:AVR128DB48_CNANO:LedState:Blink;1",
"displayName": {
"en": "Blinking"
},
"enumValue": 3,
"name": "Blink"
}
],
"valueSchema": "integer"
}
],
"@context": [
"dtmi:iotcentral:context;2",
"dtmi:dtdl:context;2"
]
}
Loading