blob: 9206782d839757d177c8cf43461bdbe543a94128 [file] [log] [blame]
Chicago Duan3ff4a702020-06-12 16:24:41 +08001description: >
Patrick Williamsa1347412022-12-06 10:56:22 -06002 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 Duan3ff4a702020-06-12 16:24:41 +08006
Patrick Williamsa1347412022-12-06 10:56:22 -06007 When the PLDM daemon receives a sensorEvent of type stateSensorState, it
8 emits the StateSensorEvent signal.
Chicago Duan3ff4a702020-06-12 16:24:41 +08009
Patrick Williamsa1347412022-12-06 10:56:22 -060010 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 Duan3ff4a702020-06-12 16:24:41 +080012
Patrick Williamsa1347412022-12-06 10:56:22 -060013 More information about PLDM Event Messages can be found at DSP0248 version
14 1.2.0 section 13.
Chicago Duan3ff4a702020-06-12 16:24:41 +080015
16signals:
17 - name: StateSensorEvent
18 description: >
Patrick Williamsa1347412022-12-06 10:56:22 -060019 Signal indicating that a state sensor change EventMessage is received.
Chicago Duan3ff4a702020-06-12 16:24:41 +080020 More information about properties can be found at DSP0248 version
21 1.2.0 table 19.
22 properties:
Patrick Williams8da396c2022-03-14 14:21:02 -050023 - name: TID
24 type: byte
25 description: >
26 A terminus id.
Chicago Duan3ff4a702020-06-12 16:24:41 +080027
Patrick Williams8da396c2022-03-14 14:21:02 -050028 - 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 Duan3ff4a702020-06-12 16:24:41 +080034
Patrick Williams8da396c2022-03-14 14:21:02 -050035 - 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 Duan3ff4a702020-06-12 16:24:41 +080040
Patrick Williams8da396c2022-03-14 14:21:02 -050041 - name: eventState
42 type: byte
43 description: >
Patrick Williamsa1347412022-12-06 10:56:22 -060044 The event state value from the state change that triggered the
45 event message.
Chicago Duan3ff4a702020-06-12 16:24:41 +080046
Patrick Williams8da396c2022-03-14 14:21:02 -050047 - name: previousEventState
48 type: byte
49 description: >
Patrick Williamsa1347412022-12-06 10:56:22 -060050 The event state value for the state from which the present event
51 state was entered.