You are here: Forum Home → ANT Developers Forums → ANT General Questions → Thread
channel = device.getChannel(0)
device.ResetSystem()
device.setNetworkKey(0, myKey)
...
channel.assignChannel(ANT_ReferenceLibrary.ChannelType.BASE_Slave_Receive_0x00, 0)
channel.setChannelID(device_id, False, 0, 0)
channel.setChannelSearchTimeout(&HFF)
channel.setChannelPeriod(&H1F86)
channel.setChannelFreq(&H39)
device.enableRxExtendedMessages(True)
device.openRxScanMode()
Dim msgData() As Byte = {&H46, &HFF, &HFF, &HFF, &HFF, 4, Val, 1}
Dim channel2 As ANT_Channel = device.getChannel(1)
channel2.sendAcknowledgedData(msgData)
Ian Haigh