Generic ANT DeviceConfig TimeOuts

What is the difference between the searchTimeoutLowPriority and searchTimeoutHighPriority attributes in the following code from the MO2Display example?

// Set the configuration
deviceCfg = new Ant.DeviceConfig( {
:deviceNumber => 0, //Wildcard our search
:deviceType => DEVICE_TYPE,
:transmissionType => 0,
:messagePeriod => PERIOD,
:radioFrequency => 57, //Ant+ Frequency
:searchTimeoutLowPriority => 10, //Timeout in 25s
:searchTimeoutHighPriority => 2, //Timeout in 5s
:searchThreshold => 1} ); //Pair to the closest transmitting sensors
GenericChannel.setDeviceConfig(deviceCfg);
  • What is the difference between the searchTimeoutLowPriority and searchTimeoutHighPriority attributes in the following code from the MO2Display example?

    // Set the configuration
    deviceCfg = new Ant.DeviceConfig( {
    :deviceNumber => 0, //Wildcard our search
    :deviceType => DEVICE_TYPE,
    :transmissionType => 0,
    :messagePeriod => PERIOD,
    :radioFrequency => 57, //Ant+ Frequency
    :searchTimeoutLowPriority => 10, //Timeout in 25s
    :searchTimeoutHighPriority => 2, //Timeout in 5s
    :searchThreshold => 1} ); //Pair to the closest transmitting sensors
    GenericChannel.setDeviceConfig(deviceCfg);


    When a slave channel starts searching it first enters a low priority search state. In low priority mode the search will not interrupt other open channels. If after a period of time specified by "searchTimeoutLowPriority" the slave channel will transition to a high priority search mode. This search mode has the ability to interrupt other channels. If after "searchTimeoutHighPriority" the slave channel is still unsuccessful in finding a master the search will timeout and the channel will automatically close.

    Please refer to the documents "ANT Message Protocol and Usage" (sections 9.5.2.5 and 9.5.2.15) as well as "ANT Channel Search and Background Scanning Channel" (section 6.1) found at http://www.thisisant.com/developer/resources/downloads for further information.