IAntChannelIncludeExcludeListAddChannel Method

Add the given channel ID to the channel's inclusion/exclusion list. The channelID is then included or excluded from the wild card search depending on how the list is configured. Throws exception if listIndex > 3.

Definition

Namespace: SmallEarthTech.AntRadioInterface
Assembly: SmallEarthTech.AntRadioInterface (in SmallEarthTech.AntRadioInterface.dll) Version: 3.0.0.0+01fc5ca24e8f030354f28ec9cef320bc5cbb0ef6
C#
bool IncludeExcludeListAddChannel(
	ChannelId channelId,
	byte listIndex,
	uint responseWaitTime
)

Parameters

channelId  ChannelId
Channel ID assigned to a device
listIndex  Byte
position in inclusion/exclusion list to add channelID at (Max size of list is 4)
responseWaitTime  UInt32
Time to wait for device success response

Return Value

Boolean
True on success. Note: Always returns true with a response time of 0

See Also