Index: firmware/App/Services/AlarmMgmt.c =================================================================== diff -u -r224b86c0847207c168d38fa1713a1e9116642267 -r0f6b35ef8da4d30793a181750d0a6d5898118120 --- firmware/App/Services/AlarmMgmt.c (.../AlarmMgmt.c) (revision 224b86c0847207c168d38fa1713a1e9116642267) +++ firmware/App/Services/AlarmMgmt.c (.../AlarmMgmt.c) (revision 0f6b35ef8da4d30793a181750d0a6d5898118120) @@ -312,6 +312,27 @@ return status; } +/*********************************************************************//** + * @brief +* The handleResendActiveAlarmsRequest function processes the request to re-send +* all active alarms. +* @details Inputs: alarmIsActive[] +* @details Outputs: re-send active alarms to UI +* @return none +*************************************************************************/ +void handleResendActiveAlarmsRequest( void ) +{ + U32 index; + + for ( index = 0; index < NUM_OF_ALARM_IDS; index++ ) + { + if ( TRUE == isAlarmActive( (ALARM_ID_T)index ) ) + { + broadcastAlarmTriggered( index, BLANK_ALARM_DATA, BLANK_ALARM_DATA ); + } + } +} + /************************************************************************* * TEST SUPPORT FUNCTIONS