In the code below, when searchThreshold is set to 1, the Fenix3 will never find the sensor. It does work properly on the simulator, Vivoactive, and 920XT.
The Fenix3 does find the sensor if I set searchThreshold to 0. I would prefer to use the proximity pairing feature to help avoid pairing to the wrong sensor in a multi-sensor environment.
// Set the configuration
mDeviceConfig = new Ant.DeviceConfig({
:deviceNumber => mPersist.GetSn(), // Sensor Number if known, otherwise 0
:deviceType => CONFIG_DEVICE_TYPE,
:transmissionType => CONFIG_TRANSMISSION_TYPE,
:messagePeriod => CONFIG_MESSAGE_PERIOD,
:radioFrequency => CONFIG_RADIO_FREQUENCY, // Ant+ Frequency
:searchTimeoutLowPriority => CONFIG_SEARCH_TIMEOUT_LOW_PRIO, // Timeout in 25s
:searchTimeoutHighPriority => CONFIG_SEARCH_TIMEOUT_HIGH_PRIO, // Timeout in 5s
:searchThreshold => searchThreshold // 0 if Sensor Number is known, otherwise 1
});