FitnessEquipmentGetFitnessEquipment Method
Gets the fitness equipment if the equipment type is known.
Namespace: SmallEarthTech.AntPlus.DeviceProfiles.FitnessEquipmentAssembly: SmallEarthTech.AntPlus (in SmallEarthTech.AntPlus.dll) Version: 6.0.1+c1e7610f9fcb5b8a327697cc707496363c1e2866
public static FitnessEquipment? GetFitnessEquipment(
	byte[] dataPage,
	ChannelId channelId,
	IAntChannel antChannel,
	ILoggerFactory loggerFactory,
	int timeout
)
Public Shared Function GetFitnessEquipment ( 
	dataPage As Byte(),
	channelId As ChannelId,
	antChannel As IAntChannel,
	loggerFactory As ILoggerFactory,
	timeout As Integer
) As FitnessEquipment
public:
static FitnessEquipment^ GetFitnessEquipment(
	array<unsigned char>^ dataPage, 
	ChannelId^ channelId, 
	IAntChannel^ antChannel, 
	ILoggerFactory^ loggerFactory, 
	int timeout
)
static member GetFitnessEquipment : 
        dataPage : byte[] * 
        channelId : ChannelId * 
        antChannel : IAntChannel * 
        loggerFactory : ILoggerFactory * 
        timeout : int -> FitnessEquipment 
- dataPage  Byte
- The data page.
- channelId  ChannelId
- The channel identifier.
- antChannel  IAntChannel
- The ant channel.
- loggerFactory  ILoggerFactory
- The logger factory.
- timeout  Int32
- The timeout.
FitnessEquipmentOne of the known fitness equipment classes if known, otherwise null.
 
            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.