You are here: Forum Home → ANT Developers Forums → ANT General Questions → Thread
pairingMode = true;
    int RadioFreq = 0;                 // 57=HR
    int DeviceNum = 0;                 // 0=PAIRING, MyHR=16868
    int DeviceType = 0;                // 0=PAIRING, 120=HR, 121=S&C, 11=POWER
    int TransType = 0;                 // 0=PAIRING
    int ChannelPeriod = 8070;          // 8700=4msg/sec (4.06Hz)
    //TODO: try reduce channel period (less collision ?)
    UCHAR ucNetKey[8] = USER_NETWORK_KEY;
    if (sensorType == "HR") {
        RadioFreq = 57;
        DeviceType= 120;
        TransType = 1;
        for (int channel = 0 ; channel < 8; channel++) {
            pclMessageObject->SetNetworkKey(USER_NETWORK_NUM, ucNetKey, MESSAGE_TIMEOUT);
            pclMessageObject->AssignChannel(channel, 0, USER_NETWORK_NUM, MESSAGE_TIMEOUT);
            pclMessageObject->SetChannelID(channel, DeviceNum, DeviceType, TransType, MESSAGE_TIMEOUT);
            pclMessageObject->SetChannelRFFrequency(channel, RadioFreq, MESSAGE_TIMEOUT);
            pclMessageObject->SetChannelPeriod(channel, ChannelPeriod);
            pclMessageObject->OpenChannel(channel, MESSAGE_TIMEOUT);
        }
    } 
——————————————————
Free Indoor Cycling Software - https://maximumtrainer.com
——————————————————
Free Indoor Cycling Software - https://maximumtrainer.com
——————————————————
Free Indoor Cycling Software - https://maximumtrainer.com
// Fast Search that uses all ressource
    pclMessageObject->ConfigHighDutySearch(0, 3); 
——————————————————
Free Indoor Cycling Software - https://maximumtrainer.com
BOOL DSIFramerANT::ConfigHighDutySearch(UCHAR ucEnable_, UCHAR ucSuppressionCycles_, ULONG ulResponseTime_)