FitnessEquipmentGetFitnessEquipment Method

Gets the fitness equipment if the equipment type is known.

Definition

Namespace: SmallEarthTech.AntPlus.DeviceProfiles.FitnessEquipment
Assembly: SmallEarthTech.AntPlus (in SmallEarthTech.AntPlus.dll) Version: 4.0.0.0+01fc5ca24e8f030354f28ec9cef320bc5cbb0ef6
C#
public static FitnessEquipment? GetFitnessEquipment(
	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.
timeout  Int32
The timeout.

Return Value

FitnessEquipment
One of the known fitness equipment classes if known, otherwise null.

Remarks

The specific fitness equipment type can be determined from the general data page or the FE specific data pages. Null will be returned for all other pages. Therefore, callers of this method need to check for a null return type.

See Also