BicyclePowerGetBicyclePowerSensor Method

Gets the bicycle power sensor.

Definition

Namespace: SmallEarthTech.AntPlus.DeviceProfiles.BicyclePower
Assembly: SmallEarthTech.AntPlus (in SmallEarthTech.AntPlus.dll) Version: 4.0.0.0+01fc5ca24e8f030354f28ec9cef320bc5cbb0ef6
C#
public static BicyclePower GetBicyclePowerSensor(
	byte[] dataPage,
	ChannelId channelId,
	IAntChannel antChannel,
	ILoggerFactory loggerFactory,
	int timeout
)

Parameters

dataPage  Byte
The data page.
channelId  ChannelId
The channel identifier.
antChannel  IAntChannel
The ANT channel.
loggerFactory  ILoggerFactory
The logger factory to use to create loggers for variants of bicycle power.
timeout  Int32
The timeout.

Return Value

BicyclePower
A CrankTorqueFrequencySensor is returned if a CrankTorqueFrequency page has been received. Otherwise, a StandardPowerSensor is returned.

See Also