lazybios 3.0.0
Lightweight SMBIOS/DMI parsing library
Loading...
Searching...
No Matches
Type 26: Voltage Probe Guide

Voltage-probe placement, health, range, and measurement precision.

Result set and ownership

lazybiosGetType26 returns a lazybiosType26Array_t holding every matching structure. Iterate entries using count. A non-NULL result whose count is zero means the table contains no structure of this type; NULL means the arguments were unusable or an allocation failed. Release the set with lazybiosFreeType26, or assign it to ctx->Type26 and let lazybiosCleanup own it.

Every record carries its own SMBIOS handle and the structure length the firmware reported.

Encoded fields are decoded during parsing into decoded, which mirrors the raw member names (location, status). The raw value stays alongside it, so both the encoding and its meaning are available.

Location and status

location_and_status combines a five-bit physical location and a three-bit monitored-voltage status. Decode them independently with decoded.location and decoded.status.

Measurement fields

maximum_value, minimum_value, tolerance, and nominal_value are expressed in mV. resolution is expressed in tenths of a mV, and accuracy is expressed in hundredths of a percent. For every 16-bit measurement field, 0x8000 means unknown and remains a present raw value. nominal_value is an optional field whose availability is determined by the formatted structure length.

Ownership

Release the returned array and its description strings with lazybiosFreeType26, or assign it to lazybiosCTX::Type26 and use lazybiosCleanup.

See also
Type 26: Voltage Probe