-
Notifications
You must be signed in to change notification settings - Fork 0
/
psoc6aiimu-device-template.json
81 lines (81 loc) · 2.19 KB
/
psoc6aiimu-device-template.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
{
"code": "psoc6aiimu",
"name": "psoc6aiimu",
"authType": 2,
"attributes": [
{
"name": "version",
"type": "STRING",
"description": null,
"unit": null
},
{
"name": "class",
"type": "STRING",
"description": "Recognised AI class - standing, sitting, walking, jumping, unlabelled",
"unit": null
},
{
"name": "confidence",
"type": "INTEGER",
"description": "Confidence percentage for the recognised class",
"unit": null
},
{
"name": "accel",
"type": "OBJECT",
"description": null,
"childs": [
{
"name": "x",
"type": "DECIMAL",
"description": "Accelerometer raw reading for X axis",
"unit": null,
"attributeColor": null
},
{
"name": "y",
"type": "DECIMAL",
"description": "Accelerometer raw reading for Y axis",
"unit": null,
"attributeColor": null
},
{
"name": "z",
"type": "DECIMAL",
"description": "Accelerometer raw reading for Z axis",
"unit": null,
"attributeColor": null
}
]
}
],
"commands": [
{
"name": "board-user-led",
"command": "board-user-led",
"requiredParam": true,
"requiredAck": true,
"isOTACommand": false
},
{
"name": "demo-mode",
"command": "demo-mode",
"requiredParam": true,
"requiredAck": true,
"isOTACommand": false
}
],
"messageVersion": "2.1",
"msgCode": "XG4EJRH",
"greenGrass": "0",
"wireless": "0",
"properties": {
"description": null,
"dataFrequency": "5",
"fileSupport": false
},
"_meta": {
"version": "2.0"
}
}