| edition = "2023"; |
| |
| package milotic_tlbmc; |
| |
| import "entity_common_config.proto"; |
| import "hal_common_config.proto"; |
| import "sensor_instance_properties.proto"; |
| |
| enum FanTachType { |
| TACH_SENSOR_TYPE_UNKNOWN = 0; |
| TACH_SENSOR_TYPE_I2C_FAN = 1; |
| } |
| |
| // Config for a Tach sensor device. |
| // A single device config generates a single sensor. |
| message FanTachConfig { |
| // Specifies the type of the Tach sensor. |
| FanTachType type = 1; |
| // Specifies the bus/address information of the sensor so that libraries know |
| // where and how to refresh the telemetry. |
| HalCommonConfig hal_common_config = 2; |
| EntityCommonConfig entity_common_config = 3; |
| // The 1 based index of the Tach sensor within the same controller. |
| uint32 index = 4; |
| SensorInstanceProperties instance_properties = 5; |
| } |