ONLP
Open Network Linux Platform APIs
Data Fields
onlp_fan_info_s Struct Reference

#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]
 

Detailed Description

Fan information structure.

Field Documentation

◆ caps

uint32_t onlp_fan_info_s::caps

Capabilities - a combination of onlp_fan_caps_e.

◆ dir

onlp_fan_dir_t onlp_fan_info_s::dir

Current direction

◆ hdr

onlp_oid_hdr_t onlp_fan_info_s::hdr

OID Header

◆ model

char onlp_fan_info_s::model[ONLP_CONFIG_INFO_STR_MAX]

Model (if applicable)

◆ percentage

int onlp_fan_info_s::percentage

Current fan percentage, if available

◆ rpm

int onlp_fan_info_s::rpm

Current fan speed, in RPM, if available

◆ serial

char onlp_fan_info_s::serial[ONLP_CONFIG_INFO_STR_MAX]

Serial Number (if applicable)


The documentation for this struct was generated from the following file: