blob: 48bf7bb5176f3cf2e1b9dbf57e951ea4cf0c4777 [file]
edition = "2023";
package milotic_tlbmc;
import "entity_common_config.proto";
import "hal_common_config.proto";
enum FanControllerType {
FAN_CONTROLLER_TYPE0_UNKNOWN = 0;
FAN_CONTROLLER_TYPE1_MAX31790 = 1;
FAN_CONTROLLER_TYPE2_MAX31760 = 2;
}
// Config for a smart fan device.
message FanControllerConfig {
// Specifies the type of the fan. This is used to determine the sensor's
// driver when creating the device.
FanControllerType 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;
}