Manojkiran Eda | 2746fb4 | 2021-08-29 10:59:27 +0530 | [diff] [blame] | 1 | // 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 Williams | 70a47ba | 2021-09-02 09:53:31 -0500 | [diff] [blame] | 6 | { |
| 7 | "entries": [ |
| 8 | { |
| 9 | "containerID": 1, |
| 10 | "entityType": 64, |
| 11 | "entityInstance": 1, |
| 12 | "sensorOffset": 0, |
Patrick Williams | 3618064 | 2022-12-08 06:13:03 -0600 | [diff] [blame] | 13 | "event_states": [0, 1], |
Patrick Williams | 70a47ba | 2021-09-02 09:53:31 -0500 | [diff] [blame] | 14 | "dbus": { |
| 15 | "object_path": "/xyz/abc/def", |
| 16 | "interface": "xyz.openbmc_project.example1.value", |
| 17 | "property_name": "value1", |
| 18 | "property_type": "string", |
| 19 | "property_values": [ |
| 20 | "xyz.openbmc_project.State.On", |
| 21 | "xyz.openbmc_project.State.Off" |
| 22 | ] |
| 23 | } |
| 24 | }, |
| 25 | { |
| 26 | "containerID": 1, |
| 27 | "entityType": 64, |
| 28 | "entityInstance": 1, |
| 29 | "sensorOffset": 1, |
Patrick Williams | 3618064 | 2022-12-08 06:13:03 -0600 | [diff] [blame] | 30 | "event_states": [2, 3], |
Patrick Williams | 70a47ba | 2021-09-02 09:53:31 -0500 | [diff] [blame] | 31 | "dbus": { |
| 32 | "object_path": "/xyz/abc/def", |
| 33 | "interface": "xyz.openbmc_project.example2.value", |
| 34 | "property_name": "value2", |
| 35 | "property_type": "uint8_t", |
Patrick Williams | 3618064 | 2022-12-08 06:13:03 -0600 | [diff] [blame] | 36 | "property_values": [9, 10] |
Patrick Williams | 70a47ba | 2021-09-02 09:53:31 -0500 | [diff] [blame] | 37 | } |
| 38 | }, |
| 39 | { |
| 40 | "containerID": 1, |
| 41 | "entityType": 67, |
| 42 | "entityInstance": 1, |
| 43 | "sensorOffset": 0, |
Patrick Williams | 3618064 | 2022-12-08 06:13:03 -0600 | [diff] [blame] | 44 | "event_states": [0, 1], |
Patrick Williams | 70a47ba | 2021-09-02 09:53:31 -0500 | [diff] [blame] | 45 | "dbus": { |
| 46 | "object_path": "/xyz/abc/ghi", |
| 47 | "interface": "xyz.openbmc_project.example3.value", |
| 48 | "property_name": "value3", |
| 49 | "property_type": "bool", |
Patrick Williams | 3618064 | 2022-12-08 06:13:03 -0600 | [diff] [blame] | 50 | "property_values": [false, true] |
Patrick Williams | 70a47ba | 2021-09-02 09:53:31 -0500 | [diff] [blame] | 51 | } |
| 52 | } |
| 53 | ] |
| 54 | } |