You are here: Forum Home → ANT Developers Forums → ANT General Questions → Thread
///////////////////////////////////////////////////////////////////////
// Response TimeOut Version
///////////////////////////////////////////////////////////////////////
extern "C" EXPORT
BOOL ANT_ConfigureAdvancedBurst_RTO(BOOL bEnable_, UCHAR ucMaxPacketLength_, ULONG ulRequiredFields_, ULONG ulOptionalFields_, ULONG ulResponseTime_)
{
if(pclMessageObject)
{
pclMessageObject->SetSplitAdvBursts(true); // advanced burst as normal in CHANNEL_EVENT_FUNC
return(pclMessageObject->ConfigAdvancedBurst(bEnable_, ucMaxPacketLength_, ulRequiredFields_, ulOptionalFields_, ulResponseTime_));
}
return(FALSE);
}
///////////////////////////////////////////////////////////////////////
// Stall count version
///////////////////////////////////////////////////////////////////////
extern "C" EXPORT
BOOL ANT_ConfigureAdvancedBurst_ext(BOOL bEnable_, UCHAR ucMaxPacketLength_, ULONG ulRequiredFields_, ULONG ulOptionalFields_, USHORT usStallCount_, UCHAR ucRetryCount_)
{
return ANT_ConfigureAdvancedBurst_ext_RTO(bEnable_, ucMaxPacketLength_, ulRequiredFields_, ulOptionalFields_, usStallCount_, ucRetryCount_, 0);
}
///////////////////////////////////////////////////////////////////////
// Stall count version with response timeout
///////////////////////////////////////////////////////////////////////
extern "C" EXPORT
BOOL ANT_ConfigureAdvancedBurst_ext_RTO(BOOL bEnable_, UCHAR ucMaxPacketLength_, ULONG ulRequiredFields_, ULONG ulOptionalFields_, USHORT usStallCount_, UCHAR ucRetryCount_, ULONG ulResponseTime_)
{
if(pclMessageObject)
{
pclMessageObject->SetSplitAdvBursts(true); // advanced burst as normal in CHANNEL_EVENT_FUNC
return(pclMessageObject->ConfigAdvancedBurst_ext(bEnable_, ucMaxPacketLength_, ulRequiredFields_, ulOptionalFields_, usStallCount_, ucRetryCount_, ulResponseTime_));
}
return(FALSE);
}