import { type DataViewReader } from "./data-view-reader.js"; /**
The Position Quality characteristic is a variable length structure containing a Flags field and at least one of the optional data fields listed below
*/ export interface PositionQuality { /** *Format: `uint32`
*Unit: `org.bluetooth.unit.length.meter`
*Unit is in meters with a resolution of 1/100
*/ ehpe?: number | undefined; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ ehpePresent: number; /** *Format: `uint32`
*Unit: `org.bluetooth.unit.length.meter`
*Unit is in meters with a resolution of 1/100
*/ evpe?: number | undefined; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ evpePresent: number; /** *Format: `16bit`
* * Bit field: * * | index | size | name | * | ----- | ---- | ------------------------------------- | * | 0 | 1 | Number of Beacons in Solution Present | * | 1 | 1 | Number of Beacons in View Present | * | 2 | 1 | Time to First Fix Present | * | 3 | 1 | EHPE Present | * | 4 | 1 | EVPE Present | * | 5 | 1 | HDOP Present | * | 6 | 1 | VDOP Present | * | 7 | 2 | Position Status | * | 9 | 7 | Reserved for future use | * */ flags: number; /** *Format: `uint8`
*Unit: `org.bluetooth.unit.unitless`
*Unitless with a resolution of 2/10
*/ hdop?: number | undefined; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ hdopPresent: number; /** *Format: `uint8`
*Unit: `org.bluetooth.unit.unitless`
*Unitless with a resolution of 1
*/ numberOfBeaconsInSolution?: number | undefined; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ numberOfBeaconsInSolutionPresent: number; /** *Format: `uint8`
*Unit: `org.bluetooth.unit.unitless`
*Unitless with a resolution of 1
*/ numberOfBeaconsInView?: number | undefined; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ numberOfBeaconsInViewPresent: number; /** * | value | description | * | ----- | ------------------- | * | 0 | No Position | * | 1 | Position Ok | * | 2 | Estimated Position | * | 3 | Last Known Position | */ positionStatus: number; /** *Format: `uint16`
*Unit: `org.bluetooth.unit.time.second`
*Unit is in seconds with a resolution of 1/10
*/ timeToFirstFix?: number | undefined; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ timeToFirstFixPresent: number; /** *Format: `uint8`
*Unit: `org.bluetooth.unit.unitless`
*Unitless with a resolution of 2/10
*/ vdop?: number | undefined; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ vdopPresent: number; } /** @see {@link https://raw.githubusercontent.com/oesmith/gatt-xml/refs/heads/master/org.bluetooth.characteristic.position_quality.xml | Position Quality} */ export declare class PositionQualityImpl implements PositionQuality { static readonly UUID_PREFIX = 10857; static readonly TYPE_NAME = "org.bluetooth.characteristic.position_quality"; static readonly NAME = "Position Quality"; /** Parse from a DataView into {@link PositionQuality}. */ static fromDataView(dataView: DataView | DataViewReader, indexStart?: number | undefined): PositionQualityImpl; readonly ehpe?: number | undefined; readonly ehpePresent: number; readonly evpe?: number | undefined; readonly evpePresent: number; readonly flags: number; readonly hdop?: number | undefined; readonly hdopPresent: number; readonly numberOfBeaconsInSolution?: number | undefined; readonly numberOfBeaconsInSolutionPresent: number; readonly numberOfBeaconsInView?: number | undefined; readonly numberOfBeaconsInViewPresent: number; readonly positionStatus: number; readonly timeToFirstFix?: number | undefined; readonly timeToFirstFixPresent: number; readonly vdop?: number | undefined; readonly vdopPresent: number; constructor(positionQuality: PositionQuality); } /** Parse from a DataView into {@link PositionQuality}. */ export declare function positionQualityFromDataView(dataView: DataView | DataViewReader, indexStart?: number): PositionQuality; //# sourceMappingURL=position-quality.d.ts.map