I am working on some code that has to interface with a FE enabled watch. However I have been unable to establish communication with either a watch or the FS client application set up as a watch. The piece of my code that sets up the channel is as follows:
ANT_Device device = new ANT_Device();
device.setNetworkKey(1, networkKey);
InChannel = device.getChannel(0);
InChannel.channelResponse += new ANT_Channel.ChannelResponseHandler(DataComes);
InChannel.assignChannelExt(ANT_ReferenceLibrary.ChannelType.ADV_TxRx_Only_or_RxAlwaysWildCard_0x40, 0x00, ANT_ReferenceLibrary.ChannelTypeExtended.ADV_AlwaysSearch_0x01);
InChannel.setChannelID(0x00, false,0x01, 5);
device.enableRxExtendedMessages(true);
InChannel.setLowPrioritySearchTimeout(0x44);
InChannel.setChannelSearchTimeout(0x00);
InChannel.setChannelFreq(57);
InChannel.setChannelPeriod(8192);
InChannel.openChannel();
Timer SearchTimer = new Timer(250);
InChannel.channelResponse += new ANT_Channel.ChannelResponseHandler(DataComes);
Specifically I am looking for the beacon signal coming from the watch so that I may pair with it and initiate an ant-fs session. However even with the client app broadcasting, the code never enters the DataComes function.