BicyclePowerGetBicyclePowerSensor Method
Gets the bicycle power sensor.
Namespace: SmallEarthTech.AntPlus.DeviceProfiles.BicyclePowerAssembly: SmallEarthTech.AntPlus (in SmallEarthTech.AntPlus.dll) Version: 4.0.0.0+4009252dff1e4f6bcda36b6b0041486552134bc5
public static BicyclePower GetBicyclePowerSensor(
byte[] dataPage,
ChannelId channelId,
IAntChannel antChannel,
ILoggerFactory loggerFactory,
int timeout
)
Public Shared Function GetBicyclePowerSensor (
dataPage As Byte(),
channelId As ChannelId,
antChannel As IAntChannel,
loggerFactory As ILoggerFactory,
timeout As Integer
) As BicyclePower
public:
static BicyclePower^ GetBicyclePowerSensor(
array<unsigned char>^ dataPage,
ChannelId^ channelId,
IAntChannel^ antChannel,
ILoggerFactory^ loggerFactory,
int timeout
)
static member GetBicyclePowerSensor :
dataPage : byte[] *
channelId : ChannelId *
antChannel : IAntChannel *
loggerFactory : ILoggerFactory *
timeout : int -> BicyclePower
- 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.
BicyclePower
A
CrankTorqueFrequencySensor is returned if a
CrankTorqueFrequency page has been received.
Otherwise, a
StandardPowerSensor is returned.