ONLP
Open Network Linux Platform APIs
|
#include <fan.h>
Data Fields | |
onlp_oid_hdr_t | hdr |
onlp_fan_dir_t | dir |
uint32_t | caps |
int | rpm |
int | percentage |
char | model [ONLP_CONFIG_INFO_STR_MAX] |
char | serial [ONLP_CONFIG_INFO_STR_MAX] |
Fan information structure.
uint32_t onlp_fan_info_s::caps |
Capabilities - a combination of onlp_fan_caps_e.
onlp_fan_dir_t onlp_fan_info_s::dir |
Current direction
onlp_oid_hdr_t onlp_fan_info_s::hdr |
OID Header
char onlp_fan_info_s::model[ONLP_CONFIG_INFO_STR_MAX] |
Model (if applicable)
int onlp_fan_info_s::percentage |
Current fan percentage, if available
int onlp_fan_info_s::rpm |
Current fan speed, in RPM, if available
char onlp_fan_info_s::serial[ONLP_CONFIG_INFO_STR_MAX] |
Serial Number (if applicable)