IAntChannelAssignChannel Method
Assign an ANT channel along with its main parameters.
Throws exception if the network number is invalid.
Namespace: SmallEarthTech.AntRadioInterfaceAssembly: SmallEarthTech.AntRadioInterface (in SmallEarthTech.AntRadioInterface.dll) Version: 3.0.0.0+4009252dff1e4f6bcda36b6b0041486552134bc5
bool AssignChannel(
ChannelType channelTypeByte,
byte networkNumber,
uint responseWaitTime
)
Function AssignChannel (
channelTypeByte As ChannelType,
networkNumber As Byte,
responseWaitTime As UInteger
) As Boolean
bool AssignChannel(
ChannelType channelTypeByte,
unsigned char networkNumber,
unsigned int responseWaitTime
)
abstract AssignChannel :
channelTypeByte : ChannelType *
networkNumber : byte *
responseWaitTime : uint32 -> bool
- channelTypeByte ChannelType
- Channel Type byte
- networkNumber Byte
- Network to assign to channel, must be less than device's max networks-1
- responseWaitTime UInt32
- Time to wait for device success response
BooleanTrue on success. Note: Always returns true with a response time of 0