BicyclePowerGetBicyclePowerSensor Method
Gets the bicycle power sensor.
Namespace: SmallEarthTech.AntPlus.DeviceProfiles.BicyclePowerAssembly: SmallEarthTech.AntPlus (in SmallEarthTech.AntPlus.dll) Version: 4.0.0.0+01fc5ca24e8f030354f28ec9cef320bc5cbb0ef6
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.