Index: firmware/App/Services/SystemComm.c =================================================================== diff -u -rbb80dbac26147ab08413efa91007f7ffed43c38f -r722eb364d9b8d1fa9cc98da41f09c5fd73a8be39 --- firmware/App/Services/SystemComm.c (.../SystemComm.c) (revision bb80dbac26147ab08413efa91007f7ffed43c38f) +++ firmware/App/Services/SystemComm.c (.../SystemComm.c) (revision 722eb364d9b8d1fa9cc98da41f09c5fd73a8be39) @@ -204,6 +204,10 @@ *************************************************************************/ void checkInFromUI( void ) { + if ( FALSE == uiDidCommunicate ) + { // Start DG check-in timer when UI first communicates + timeOfLastDGCheckIn = getMSTimerCount(); + } uiIsCommunicating = TRUE; timeOfLastUICheckIn = getMSTimerCount(); uiDidCommunicate = TRUE; @@ -930,11 +934,12 @@ { activateAlarmNoData( ALARM_ID_UI_COMM_TIMEOUT ); } + if ( TRUE == didTimeout( timeOfLastDGCheckIn, DG_COMM_TIMEOUT_IN_MS ) ) + { + activateAlarmNoData( ALARM_ID_DG_COMM_TIMEOUT ); + dgIsCommunicating = FALSE; + } } - if ( TRUE == didTimeout( timeOfLastDGCheckIn, DG_COMM_TIMEOUT_IN_MS ) ) - { - dgIsCommunicating = FALSE; - } } /*********************************************************************//**