import { type DataViewReader } from "./data-view-reader.js"; /**

The LN Feature characteristic is used to report a list of features supported by the device.

*/ export interface LnFeature { /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ elevationSettingSupported: number; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ elevationSupported: number; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ estimatedHorizontalPositionErrorSupported: number; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ estimatedTimeOfArrivalSupported: number; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ estimatedVerticalPositionErrorSupported: number; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ fixRateSettingSupported: number; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ headingSupported: number; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ horizontalDilutionOfPrecisionSupported: number; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ instantaneousSpeedSupported: number; /** *

Format: `32bit`

* * Bit field: * * | index | size | name | * | ----- | ---- | ----------------------------------------------------------- | * | 0 | 1 | Instantaneous Speed Supported | * | 1 | 1 | Total Distance Supported | * | 2 | 1 | Location Supported | * | 3 | 1 | Elevation Supported | * | 4 | 1 | Heading Supported | * | 5 | 1 | Rolling Time Supported | * | 6 | 1 | UTC Time Supported | * | 7 | 1 | Remaining Distance Supported | * | 8 | 1 | Remaining Vertical Distance Supported | * | 9 | 1 | Estimated Time of Arrival Supported | * | 10 | 1 | Number of Beacons in Solution Supported | * | 11 | 1 | Number of Beacons in View Supported | * | 12 | 1 | Time to First Fix Supported | * | 13 | 1 | Estimated Horizontal Position Error Supported | * | 14 | 1 | Estimated Vertical Position Error Supported | * | 15 | 1 | Horizontal Dilution of Precision Supported | * | 16 | 1 | Vertical Dilution of Precision Supported | * | 17 | 1 | Location and Speed Characteristic Content Masking Supported | * | 18 | 1 | Fix Rate Setting Supported | * | 19 | 1 | Elevation Setting Supported | * | 20 | 1 | Position Status Supported | * | 21 | 11 | Reserved for future use | * */ lnFeature: number; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ locationAndSpeedCharacteristicContentMaskingSupported: number; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ locationSupported: number; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ numberOfBeaconsInSolutionSupported: number; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ numberOfBeaconsInViewSupported: number; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ positionStatusSupported: number; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ remainingDistanceSupported: number; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ remainingVerticalDistanceSupported: number; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ rollingTimeSupported: number; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ timeToFirstFixSupported: number; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ totalDistanceSupported: number; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ utcTimeSupported: number; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ verticalDilutionOfPrecisionSupported: number; } /** @see {@link https://raw.githubusercontent.com/oesmith/gatt-xml/refs/heads/master/org.bluetooth.characteristic.ln_feature.xml | Ln Feature} */ export declare class LnFeatureImpl implements LnFeature { static readonly UUID_PREFIX = 10858; static readonly TYPE_NAME = "org.bluetooth.characteristic.ln_feature"; static readonly NAME = "LN Feature"; /** Parse from a DataView into {@link LnFeature}. */ static fromDataView(dataView: DataView | DataViewReader, indexStart?: number | undefined): LnFeatureImpl; readonly elevationSettingSupported: number; readonly elevationSupported: number; readonly estimatedHorizontalPositionErrorSupported: number; readonly estimatedTimeOfArrivalSupported: number; readonly estimatedVerticalPositionErrorSupported: number; readonly fixRateSettingSupported: number; readonly headingSupported: number; readonly horizontalDilutionOfPrecisionSupported: number; readonly instantaneousSpeedSupported: number; readonly lnFeature: number; readonly locationAndSpeedCharacteristicContentMaskingSupported: number; readonly locationSupported: number; readonly numberOfBeaconsInSolutionSupported: number; readonly numberOfBeaconsInViewSupported: number; readonly positionStatusSupported: number; readonly remainingDistanceSupported: number; readonly remainingVerticalDistanceSupported: number; readonly rollingTimeSupported: number; readonly timeToFirstFixSupported: number; readonly totalDistanceSupported: number; readonly utcTimeSupported: number; readonly verticalDilutionOfPrecisionSupported: number; constructor(lnFeature: LnFeature); } /** Parse from a DataView into {@link LnFeature}. */ export declare function lnFeatureFromDataView(dataView: DataView | DataViewReader, indexStart?: number): LnFeature; //# sourceMappingURL=ln-feature.d.ts.map