blob: b756d21dc4b1d257bc276bc2ca6b4c17de151b69 [file] [log] [blame] [edit]
edition = "2023";
package milotic_tlbmc;
import "entity_common_config.proto";
import "threshold_config.proto";
import "sensor.proto";
enum SharedMemSensorType {
SHARED_MEM_SENSOR_TYPE_TYPE0_UNKNOWN = 0;
SHARED_MEM_SENSOR_TYPE_TYPE1_NUMERIC_SENSOR = 1;
}
// Config for a shared memory sensor device.
// A single device config generates a single sensor.
message SharedMemSensorConfig {
// Specifies the type of the shared memory sensor.
SharedMemSensorType type = 1;
// Unit of the sensor.
SensorUnit unit = 2;
// Specifies the sensor name of the shared memory reading when it is exposed.
string name = 3;
// The thresholds that we want to monitor for the sensor.
ThresholdConfigs thresholds = 4;
EntityCommonConfig entity_common_config = 5;
}