API for the "sensor fill event" function

Hi Stefan,

I have created a new discrete sensor that represents an aggregation (AND function) of Power Good signals, which works properly. But I need to set the data event fields 1, 2 and 3 of the Platform Event Message with our OEM values.

Could you, please, provide me with the API for the “sensor fill event” function and indicate how to access the data event fields?

Cheers,

Fatih

Hello Fatih,

I’m not sure I fully understand what you are trying to do. You have written or are writing a custom discrete sensors driver? It would help if you can share your code.

cheers,

Stefan