Bicycle PowerGet Bicycle Power Sensor Method
Gets the bicycle power sensor.
Definition
Namespace: SmallEarthTech.AntPlus.DeviceProfiles.BicyclePower
Assembly: SmallEarthTech.AntPlus (in SmallEarthTech.AntPlus.dll) Version: 6.0.4+3bc433b476ad11fc6896cfd0bd783d60504dc315
A CrankTorqueFrequencySensor is returned if a CrankTorqueFrequency page has been received. Otherwise, a StandardPowerSensor is returned.
Assembly: SmallEarthTech.AntPlus (in SmallEarthTech.AntPlus.dll) Version: 6.0.4+3bc433b476ad11fc6896cfd0bd783d60504dc315
C#
public static BicyclePower GetBicyclePowerSensor(
byte[] dataPage,
ChannelId channelId,
IAntChannel antChannel,
ILoggerFactory loggerFactory,
int timeout
)VB
Public Shared Function GetBicyclePowerSensor (
dataPage As Byte(),
channelId As ChannelId,
antChannel As IAntChannel,
loggerFactory As ILoggerFactory,
timeout As Integer
) As BicyclePowerC++
public:
static BicyclePower^ GetBicyclePowerSensor(
array<unsigned char>^ dataPage,
ChannelId^ channelId,
IAntChannel^ antChannel,
ILoggerFactory^ loggerFactory,
int timeout
)F#
static member GetBicyclePowerSensor :
dataPage : byte[] *
channelId : ChannelId *
antChannel : IAntChannel *
loggerFactory : ILoggerFactory *
timeout : int -> BicyclePower 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
BicyclePowerA CrankTorqueFrequencySensor is returned if a CrankTorqueFrequency page has been received. Otherwise, a StandardPowerSensor is returned.