import { type DataViewReader } from "./data-view-reader.js"; export interface BodyCompositionFeature { /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ basalMetabolismSupported: number; /** *
Format: `32bit`
* * Bit field: * * | index | size | name | * | ----- | ---- | ----------------------------- | * | 0 | 1 | Time Stamp Supported | * | 1 | 1 | Multiple Users Supported | * | 2 | 1 | Basal Metabolism Supported | * | 3 | 1 | Muscle Percentage Supported | * | 4 | 1 | Muscle Mass Supported | * | 5 | 1 | Fat Free Mass Supported | * | 6 | 1 | Soft Lean Mass Supported | * | 7 | 1 | Body Water Mass Supported | * | 8 | 1 | Impedance Supported | * | 9 | 1 | Weight Supported | * | 10 | 1 | Height Supported | * | 11 | 4 | Mass Measurement Resolution | * | 15 | 3 | Height Measurement Resolution | * | 18 | 14 | Reserved for future use | * */ bodyCompositionFeature: number; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ bodyWaterMassSupported: number; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ fatFreeMassSupported: number; /** * | value | description | * | ----- | ------------------------------------- | * | 0 | Not Specified | * | 1 | Resolution of 0.01 meter or 1 inch | * | 2 | Resolution of 0.005 meter or 0.5 inch | * | 3 | Resolution of 0.001 meter or 0.1 inch | */ heightMeasurementResolution: number; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ heightSupported: number; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ impedanceSupported: number; /** * | value | description | * | ----- | --------------------------------- | * | 0 | Not Specified | * | 1 | Resolution of 0.5 kg or 1 lb | * | 2 | Resolution of 0.2 kg or 0.5 lb | * | 3 | Resolution of 0.1 kg or 0.2 lb | * | 4 | Resolution of 0.05 kg or 0.1 lb | * | 5 | Resolution of 0.02 kg or 0.05 lb | * | 6 | Resolution of 0.01 kg or 0.02 lb | * | 7 | Resolution of 0.005 kg or 0.01 lb | */ massMeasurementResolution: number; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ multipleUsersSupported: number; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ muscleMassSupported: number; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ musclePercentageSupported: number; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ softLeanMassSupported: number; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ timeStampSupported: number; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ weightSupported: number; } /** @see {@link https://raw.githubusercontent.com/oesmith/gatt-xml/refs/heads/master/org.bluetooth.characteristic.body_composition_feature.xml | Body Composition Feature} */ export declare class BodyCompositionFeatureImpl implements BodyCompositionFeature { static readonly UUID_PREFIX = 10907; static readonly TYPE_NAME = "org.bluetooth.characteristic.body_composition_feature"; static readonly NAME = "Body Composition Feature"; /** Parse from a DataView into {@link BodyCompositionFeature}. */ static fromDataView(dataView: DataView | DataViewReader, indexStart?: number | undefined): BodyCompositionFeatureImpl; readonly basalMetabolismSupported: number; readonly bodyCompositionFeature: number; readonly bodyWaterMassSupported: number; readonly fatFreeMassSupported: number; readonly heightMeasurementResolution: number; readonly heightSupported: number; readonly impedanceSupported: number; readonly massMeasurementResolution: number; readonly multipleUsersSupported: number; readonly muscleMassSupported: number; readonly musclePercentageSupported: number; readonly softLeanMassSupported: number; readonly timeStampSupported: number; readonly weightSupported: number; constructor(bodyCompositionFeature: BodyCompositionFeature); } /** Parse from a DataView into {@link BodyCompositionFeature}. */ export declare function bodyCompositionFeatureFromDataView(dataView: DataView | DataViewReader, indexStart?: number): BodyCompositionFeature; //# sourceMappingURL=body-composition-feature.d.ts.map