You are here: Forum Home → ANT+ Forums → ANT+ Heart Rate Monitor → Thread
switch(ucPage & ~TOGGLE_MASK)
{
case HRM_PAGE_1:
{
stPage1Data.ulOperatingTime = (ULONG)stMessage.aucData[ucDataOffset+1];
stPage1Data.ulOperatingTime |= (ULONG)stMessage.aucData[ucDataOffset+2] << 8;
stPage1Data.ulOperatingTime |= (ULONG)stMessage.aucData[ucDataOffset+3] << 16;
stPage1Data.ulOperatingTime *= 2;
if (stPage1Data.ulOperatingTime > CERTAIN_VALUE )
//show warning to the user battery almost out...
//increment progress_bar battery life
break;
}
——————————————————
Free Indoor Cycling Software - https://maximumtrainer.com
-There is no chart available since battery life is very application specific. It is a function of sensor current draw, battery type, operating conditions etc. Sensors may send battery status information in (optional) common page 82.
HTH
ShaneP
——————————————————
Free Indoor Cycling Software - https://maximumtrainer.com