CombinedSpeedAndCadenceSensor(ChannelId, IAntChannel, ILogger<CombinedSpeedAndCadenceSensor>, Int32) Constructor

Initializes a new instance of the CombinedSpeedAndCadenceSensor class.

Definition

Namespace: SmallEarthTech.AntPlus.DeviceProfiles.BikeSpeedAndCadence
Assembly: SmallEarthTech.AntPlus (in SmallEarthTech.AntPlus.dll) Version: 4.0.0.0+c05bd17c9aeef16f18715dc523820c84b7d5372d
C#
public CombinedSpeedAndCadenceSensor(
	ChannelId channelId,
	IAntChannel antChannel,
	ILogger<CombinedSpeedAndCadenceSensor> logger,
	int timeout
)

Parameters

channelId  ChannelId
The channel identifier.
antChannel  IAntChannel
Channel to send messages to.
logger  ILogger<CombinedSpeedAndCadenceSensor>
Logger to use.
timeout  Int32
Time in milliseconds before firing DeviceWentOffline. To disable the device timeout, set the timeout argument to -1 and skip setting the missedMessages argument.

See Also