lazybios 3.0.0
Lightweight SMBIOS/DMI parsing library
Loading...
Searching...
No Matches
Type 29: Electrical Current Probe Guide

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

Result set and ownership

lazybiosGetType29 returns a lazybiosType29Array_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 lazybiosFreeType29, or assign it to ctx->Type29 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-current status. Decode them independently with decoded.location and decoded.status.

Measurement fields

maximum_value, minimum_value, tolerance, and nominal_value are expressed in milliamps. resolution is expressed in tenths of a milliamp, 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 optional and its availability is determined by the formatted structure length.

Ownership

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

See also
Type 29: Electrical Current Probe