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+4009252dff1e4f6bcda36b6b0041486552134bc5
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