import { type DataViewReader } from "./data-view-reader.js"; /**
The Indoor Bike Data characteristic is used to send training-related data to the Client from an indoor bike (Server).
*/ export interface IndoorBikeData { /** *Format: `uint16`
*Unit: `org.bluetooth.unit.angular_velocity.revolution_per_minute`
*1/minute with a resolution of 0.5
*/ averageCadence?: number | undefined; /** *Format: `sint16`
*Unit: `org.bluetooth.unit.power.watt`
*Watts with a resolution of 1
*/ averagePower?: number | undefined; /** *Format: `uint16`
*Unit: `org.bluetooth.unit.velocity.kilometre_per_hour`
*Kilometer per hour with a resolution of 0.01
*/ averageSpeed?: number | undefined; /** *Format: `uint16`
*Unit: `org.bluetooth.unit.time.second`
*Second with a resolution of 1
*/ elapsedTime?: number | undefined; /** *Format: `uint16`
*Unit: `org.bluetooth.unit.energy.kilogram_calorie`
*Kilo Calorie with a resolution of 1
*/ energyPerHour?: number | undefined; /** *Format: `uint8`
*Unit: `org.bluetooth.unit.energy.kilogram_calorie`
*Kilo Calorie with a resolution of 1
*/ energyPerMinute?: number | undefined; /** *Format: `16bit`
* * Bit field: * * | index | size | req | name | * | ----- | ---- | --- | ----------------------------- | * | 0 | 1 | C1 | More Data | * | 1 | 1 | C2 | Instantaneous Cadence present | * | 2 | 1 | C3 | Average Speed present | * | 3 | 1 | C4 | Average Candence present | * | 4 | 1 | C5 | Total Distance Present | * | 5 | 1 | C6 | Resistance Level present | * | 6 | 1 | C7 | Instantaneous Power present | * | 7 | 1 | C8 | Average Power present | * | 8 | 1 | C9 | Expended Energy present | * | 9 | 1 | C10 | Heart Rate present | * | 10 | 1 | C11 | Metabolic Equivalent present | * | 11 | 1 | C12 | Elapsed Time present | * | 12 | 1 | C13 | Remaining Time present | * | 13 | 3 | | Reserved for future use | * */ flags: number; /** *Format: `uint8`
*Unit: `org.bluetooth.unit.period.beats_per_minute`
*Beats per minute with a resolution of 1
*/ heartRate?: number | undefined; /** *Format: `uint16`
*Unit: `org.bluetooth.unit.angular_velocity.revolution_per_minute`
*1/minute with a resolution of 0.5
*/ instantaneousCadence?: number | undefined; /** *Format: `sint16`
*Unit: `org.bluetooth.unit.power.watt`
*Watts with a resolution of 1
*/ instantaneousPower?: number | undefined; /** *Format: `uint16`
*Unit: `org.bluetooth.unit.velocity.kilometre_per_hour`
*Kilometer per hour with a resolution of 0.01
*/ instantaneousSpeed?: number | undefined; /** *Format: `uint8`
*Unit: `org.bluetooth.unit.metabolic_equivalent`
*Metabolic Equivalent with a resolution of 0.1
*/ metabolicEquivalent?: number | undefined; /** *Format: `uint16`
*Unit: `org.bluetooth.unit.time.second`
*Second with a resolution of 1
*/ remainingTime?: number | undefined; /** *Format: `sint16`
*Unit: `org.bluetooth.unit.unitless`
*Unitless with a resolution of 1
*/ resistanceLevel?: number | undefined; /** *Format: `uint24`
*Unit: `org.bluetooth.unit.length.metre`
*Meters with a resolution of 1
*/ totalDistance?: number | undefined; /** *Format: `uint16`
*Unit: `org.bluetooth.unit.energy.kilogram_calorie`
*Kilo Calorie with a resolution of 1
*/ totalEnergy?: number | undefined; } /** @see {@link https://raw.githubusercontent.com/oesmith/gatt-xml/refs/heads/master/org.bluetooth.characteristic.indoor_bike_data.xml | Indoor Bike Data} */ export declare class IndoorBikeDataImpl implements IndoorBikeData { static readonly UUID_PREFIX = 10962; static readonly TYPE_NAME = "org.bluetooth.characteristic.indoor_bike_data"; static readonly NAME = "Indoor Bike Data"; /** Parse from a DataView into {@link IndoorBikeData}. */ static fromDataView(dataView: DataView | DataViewReader, indexStart?: number | undefined): IndoorBikeDataImpl; readonly averageCadence?: number | undefined; readonly averagePower?: number | undefined; readonly averageSpeed?: number | undefined; readonly elapsedTime?: number | undefined; readonly energyPerHour?: number | undefined; readonly energyPerMinute?: number | undefined; readonly flags: number; readonly heartRate?: number | undefined; readonly instantaneousCadence?: number | undefined; readonly instantaneousPower?: number | undefined; readonly instantaneousSpeed?: number | undefined; readonly metabolicEquivalent?: number | undefined; readonly remainingTime?: number | undefined; readonly resistanceLevel?: number | undefined; readonly totalDistance?: number | undefined; readonly totalEnergy?: number | undefined; constructor(indoorBikeData: IndoorBikeData); } /** Parse from a DataView into {@link IndoorBikeData}. */ export declare function indoorBikeDataFromDataView(dataView: DataView | DataViewReader, indexStart?: number): IndoorBikeData; //# sourceMappingURL=indoor-bike-data.d.ts.map