ant-plus-next

ant-plus-next v0.3.2


ant-plus-next / BicyclePowerScanState

Class: BicyclePowerScanState

Represents the scan state of a Bicycle Power sensor. Extends the BicyclePowerSensorState to include additional data related to signal quality during a scan.

Extends

Constructors

new BicyclePowerScanState()

new BicyclePowerScanState(deviceId): BicyclePowerScanState

Creates an instance of BicyclePowerSensorState.

Parameters

deviceId

number

The unique identifier of the sensor device.

Returns

BicyclePowerScanState

Inherited from

BicyclePowerSensorState.constructor

Defined in

sensors/bicyclePower/bicyclePowerSensorState.ts:11

Properties

AccumulatedPower?

optional AccumulatedPower: number

The accumulated power in watts. Represents the total power output accumulated over time.

Inherited from

BicyclePowerSensorState.AccumulatedPower

Defined in

sensors/bicyclePower/bicyclePowerSensorState.ts:54


Cadence?

optional Cadence: number

The cadence value in revolutions per minute (RPM). Represents the number of pedal revolutions per minute.

Inherited from

BicyclePowerSensorState.Cadence

Defined in

sensors/bicyclePower/bicyclePowerSensorState.ts:47


CalculatedCadence?

optional CalculatedCadence: number

The calculated cadence in RPM. Represents the calculated cadence based on sensor data.

Inherited from

BicyclePowerSensorState.CalculatedCadence

Defined in

sensors/bicyclePower/bicyclePowerSensorState.ts:103


CalculatedPower?

optional CalculatedPower: number

The calculated power in watts. Represents the power calculated from torque and cadence data.

Inherited from

BicyclePowerSensorState.CalculatedPower

Defined in

sensors/bicyclePower/bicyclePowerSensorState.ts:117


CalculatedTorque?

optional CalculatedTorque: number

The calculated torque in Newton meters (Nm). Represents the torque calculated from sensor data.

Inherited from

BicyclePowerSensorState.CalculatedTorque

Defined in

sensors/bicyclePower/bicyclePowerSensorState.ts:110


DeviceId

DeviceId: number

The unique identifier of the sensor device.

Inherited from

BicyclePowerSensorState.DeviceId

Defined in

sensors/bicyclePower/bicyclePowerSensorState.ts:19


EventCount?

optional EventCount: number

The event count value. Represents the number of events recorded by the sensor.

Inherited from

BicyclePowerSensorState.EventCount

Defined in

sensors/bicyclePower/bicyclePowerSensorState.ts:75


LeftPedalPower?

optional LeftPedalPower: number

The power percentage from the left pedal. If available, represents the contribution of the left pedal to the total power.

Inherited from

BicyclePowerSensorState.LeftPedalPower

Defined in

sensors/bicyclePower/bicyclePowerSensorState.ts:40


offset

offset: number = 0

The offset value used for torque calculations.

Default

0

Inherited from

BicyclePowerSensorState.offset

Defined in

sensors/bicyclePower/bicyclePowerSensorState.ts:68


PedalPower?

optional PedalPower: number

The total pedal power percentage. Represents the percentage of power produced by the pedal strokes.

Inherited from

BicyclePowerSensorState.PedalPower

Defined in

sensors/bicyclePower/bicyclePowerSensorState.ts:26


Power?

optional Power: number

The current power output in watts. Represents the instantaneous power output of the cyclist.

Inherited from

BicyclePowerSensorState.Power

Defined in

sensors/bicyclePower/bicyclePowerSensorState.ts:61


RightPedalPower?

optional RightPedalPower: number

The power percentage from the right pedal. If available, represents the contribution of the right pedal to the total power.

Inherited from

BicyclePowerSensorState.RightPedalPower

Defined in

sensors/bicyclePower/bicyclePowerSensorState.ts:33


Rssi

Rssi: undefined | number

Received Signal Strength Indicator (RSSI). Represents the strength of the received signal from the sensor.

Defined in

sensors/bicyclePower/bicyclePowerScanState.ts:13


Slope?

optional Slope: number

The slope value used for torque calculations. Represents the slope or gradient used in the torque computation.

Inherited from

BicyclePowerSensorState.Slope

Defined in

sensors/bicyclePower/bicyclePowerSensorState.ts:89


Threshold

Threshold: undefined | number

The threshold value for the RSSI. Represents the minimum acceptable signal strength for communication.

Defined in

sensors/bicyclePower/bicyclePowerScanState.ts:20


TimeStamp?

optional TimeStamp: number

The timestamp of the last recorded event. Represents the time at which the last event was recorded.

Inherited from

BicyclePowerSensorState.TimeStamp

Defined in

sensors/bicyclePower/bicyclePowerSensorState.ts:82


TorqueTicksStamp?

optional TorqueTicksStamp: number

The timestamp for the last torque tick. Represents the time at which the last torque measurement was recorded.

Inherited from

BicyclePowerSensorState.TorqueTicksStamp

Defined in

sensors/bicyclePower/bicyclePowerSensorState.ts:96