import { type DataViewReader } from "./data-view-reader.js"; export interface WeightScaleFeature { /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ bmiSupported: 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 | */ multipleUsersSupported: number; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ timeStampSupported: 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 | */ weightMeasurementResolution: number; /** *
Format: `32bit`
* * Bit field: * * | index | size | name | * | ----- | ---- | ----------------------------- | * | 0 | 1 | Time Stamp Supported | * | 1 | 1 | Multiple Users Supported | * | 2 | 1 | BMI Supported | * | 3 | 4 | Weight Measurement Resolution | * | 7 | 3 | Height Measurement Resolution | * | 10 | 22 | Reserved for future use | * */ weightScaleFeature: number; } /** @see {@link https://raw.githubusercontent.com/oesmith/gatt-xml/refs/heads/master/org.bluetooth.characteristic.weight_scale_feature.xml | Weight Scale Feature} */ export declare class WeightScaleFeatureImpl implements WeightScaleFeature { static readonly UUID_PREFIX = 10910; static readonly TYPE_NAME = "org.bluetooth.characteristic.weight_scale_feature"; static readonly NAME = "Weight Scale Feature"; /** Parse from a DataView into {@link WeightScaleFeature}. */ static fromDataView(dataView: DataView | DataViewReader, indexStart?: number | undefined): WeightScaleFeatureImpl; readonly bmiSupported: number; readonly heightMeasurementResolution: number; readonly multipleUsersSupported: number; readonly timeStampSupported: number; readonly weightMeasurementResolution: number; readonly weightScaleFeature: number; constructor(weightScaleFeature: WeightScaleFeature); } /** Parse from a DataView into {@link WeightScaleFeature}. */ export declare function weightScaleFeatureFromDataView(dataView: DataView | DataViewReader, indexStart?: number): WeightScaleFeature; //# sourceMappingURL=weight-scale-feature.d.ts.map