Chicago Duan | 3ff4a70 | 2020-06-12 16:24:41 +0800 | [diff] [blame] | 1 | description: > |
Patrick Williams | a134741 | 2022-12-06 10:56:22 -0600 | [diff] [blame] | 2 | Implement to emit D-Bus signal for PLDM Event Messages. PLDM Event Messages |
| 3 | are PLDM monitoring and control messages that are used by a PLDM terminus to |
| 4 | synchronously or asynchronously report PLDM events to a central party called |
| 5 | the PLDM Event Receiver. |
Chicago Duan | 3ff4a70 | 2020-06-12 16:24:41 +0800 | [diff] [blame] | 6 | |
Patrick Williams | a134741 | 2022-12-06 10:56:22 -0600 | [diff] [blame] | 7 | When the PLDM daemon receives a sensorEvent of type stateSensorState, it |
| 8 | emits the StateSensorEvent signal. |
Chicago Duan | 3ff4a70 | 2020-06-12 16:24:41 +0800 | [diff] [blame] | 9 | |
Patrick Williams | a134741 | 2022-12-06 10:56:22 -0600 | [diff] [blame] | 10 | This signal would be used by PLDM Requester apps on the BMC, which will rely |
| 11 | on this signal to determine state changes on a connected PLDM entity. |
Chicago Duan | 3ff4a70 | 2020-06-12 16:24:41 +0800 | [diff] [blame] | 12 | |
Patrick Williams | a134741 | 2022-12-06 10:56:22 -0600 | [diff] [blame] | 13 | More information about PLDM Event Messages can be found at DSP0248 version |
| 14 | 1.2.0 section 13. |
Chicago Duan | 3ff4a70 | 2020-06-12 16:24:41 +0800 | [diff] [blame] | 15 | |
| 16 | signals: |
| 17 | - name: StateSensorEvent |
| 18 | description: > |
Patrick Williams | a134741 | 2022-12-06 10:56:22 -0600 | [diff] [blame] | 19 | Signal indicating that a state sensor change EventMessage is received. |
Chicago Duan | 3ff4a70 | 2020-06-12 16:24:41 +0800 | [diff] [blame] | 20 | More information about properties can be found at DSP0248 version |
| 21 | 1.2.0 table 19. |
| 22 | properties: |
Patrick Williams | 8da396c | 2022-03-14 14:21:02 -0500 | [diff] [blame] | 23 | - name: TID |
| 24 | type: byte |
| 25 | description: > |
| 26 | A terminus id. |
Chicago Duan | 3ff4a70 | 2020-06-12 16:24:41 +0800 | [diff] [blame] | 27 | |
Patrick Williams | 8da396c | 2022-03-14 14:21:02 -0500 | [diff] [blame] | 28 | - name: sensorID |
| 29 | type: uint16 |
| 30 | description: > |
| 31 | The sensorID is the value that is used in PDRs and PLDM sensor |
| 32 | access commands to identify and access a particular sensor |
| 33 | within a terminus. |
Chicago Duan | 3ff4a70 | 2020-06-12 16:24:41 +0800 | [diff] [blame] | 34 | |
Patrick Williams | 8da396c | 2022-03-14 14:21:02 -0500 | [diff] [blame] | 35 | - name: sensorOffset |
| 36 | type: byte |
| 37 | description: > |
| 38 | Identifies which state sensor within a composite state sensor |
| 39 | the event is being returned for. |
Chicago Duan | 3ff4a70 | 2020-06-12 16:24:41 +0800 | [diff] [blame] | 40 | |
Patrick Williams | 8da396c | 2022-03-14 14:21:02 -0500 | [diff] [blame] | 41 | - name: eventState |
| 42 | type: byte |
| 43 | description: > |
Patrick Williams | a134741 | 2022-12-06 10:56:22 -0600 | [diff] [blame] | 44 | The event state value from the state change that triggered the |
| 45 | event message. |
Chicago Duan | 3ff4a70 | 2020-06-12 16:24:41 +0800 | [diff] [blame] | 46 | |
Patrick Williams | 8da396c | 2022-03-14 14:21:02 -0500 | [diff] [blame] | 47 | - name: previousEventState |
| 48 | type: byte |
| 49 | description: > |
Patrick Williams | a134741 | 2022-12-06 10:56:22 -0600 | [diff] [blame] | 50 | The event state value for the state from which the present event |
| 51 | state was entered. |