blob: 17ce7518dc3f13cd41be24163e121d48f7dae7f1 [file] [log] [blame]
Manojkiran Eda2746fb42021-08-29 10:59:27 +05301// Each entry is to uniquely identify a remote state sensor(there are separate
2// entry for each sensor in a composite sensor) and the supported event states.
3// The "dbus" section contains information about the corresponding D-Bus
4// property for the sensor and "property_values" are the D-Bus property values
5// for each corresponding entry in the "event_states"
Patrick Williams70a47ba2021-09-02 09:53:31 -05006{
7 "entries": [
8 {
9 "containerID": 1,
10 "entityType": 64,
11 "entityInstance": 1,
12 "sensorOffset": 0,
13 "event_states": [
14 0,
15 1
16 ],
17 "dbus": {
18 "object_path": "/xyz/abc/def",
19 "interface": "xyz.openbmc_project.example1.value",
20 "property_name": "value1",
21 "property_type": "string",
22 "property_values": [
23 "xyz.openbmc_project.State.On",
24 "xyz.openbmc_project.State.Off"
25 ]
26 }
27 },
28 {
29 "containerID": 1,
30 "entityType": 64,
31 "entityInstance": 1,
32 "sensorOffset": 1,
33 "event_states": [
34 2,
35 3
36 ],
37 "dbus": {
38 "object_path": "/xyz/abc/def",
39 "interface": "xyz.openbmc_project.example2.value",
40 "property_name": "value2",
41 "property_type": "uint8_t",
42 "property_values": [
43 9,
44 10
45 ]
46 }
47 },
48 {
49 "containerID": 1,
50 "entityType": 67,
51 "entityInstance": 1,
52 "sensorOffset": 0,
53 "event_states": [
54 0,
55 1
56 ],
57 "dbus": {
58 "object_path": "/xyz/abc/ghi",
59 "interface": "xyz.openbmc_project.example3.value",
60 "property_name": "value3",
61 "property_type": "bool",
62 "property_values": [
63 false,
64 true
65 ]
66 }
67 }
68 ]
69}