1description: >
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.
6
7    When the PLDM daemon receives a sensorEvent of type stateSensorState, it
8    emits the StateSensorEvent signal.
9
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.
12
13    More information about PLDM Event Messages can be found at DSP0248 version
14    1.2.0 section 13.
15
16signals:
17    - name: StateSensorEvent
18      description: >
19          Signal indicating that a state sensor change EventMessage is received.
20          More information about properties can be found at DSP0248 version
21          1.2.0 table 19.
22      properties:
23          - name: TID
24            type: byte
25            description: >
26                A terminus id.
27
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.
34
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.
40
41          - name: eventState
42            type: byte
43            description: >
44                The event state value from the state change that triggered the
45                event message.
46
47          - name: previousEventState
48            type: byte
49            description: >
50                The event state value for the state from which the present event
51                state was entered.
52