Index: firmware/App/Services/AlarmMgmt.h =================================================================== diff -u -r8466e63f95f65a3ffb18c3af85ac99328e41167b -re4cc37257141c5227186ac6d8ca3d6c87d009042 --- firmware/App/Services/AlarmMgmt.h (.../AlarmMgmt.h) (revision 8466e63f95f65a3ffb18c3af85ac99328e41167b) +++ firmware/App/Services/AlarmMgmt.h (.../AlarmMgmt.h) (revision e4cc37257141c5227186ac6d8ca3d6c87d009042) @@ -121,13 +121,21 @@ /// Payload record structure for the alarm info message. typedef struct { - U32 audioVolume; ///< Audio volume level (1..5) - F32 audioCurrHG; ///< Primary alarm audio current - high gain (mA) - F32 audioCurrLG; ///< Primary alarm audio current - low gain (mA) - F32 backupAudioCurr; ///< Backup alarm audio current (mA) - BOOL safetyShutdown; ///< Safety shutdown activated? (T/F) + U32 audioVolume; ///< Audio volume level (1..5) + F32 audioCurrHG; ///< Primary alarm audio current - high gain (mA) + F32 audioCurrLG; ///< Primary alarm audio current - low gain (mA) + F32 backupAudioCurr; ///< Backup alarm audio current (mA) + BOOL safetyShutdown; ///< Safety shutdown activated? (T/F) } ALARM_INFO_PAYLOAD_T; +/// Payload record structure for the alarm triggered message. +typedef struct +{ + U32 alarm; ///< ID of alarm that was triggered + ALARM_DATA_T almData1; ///< Supporting data #1 + ALARM_DATA_T almData2; ///< Supporting data #2 +} ALARM_TRIGGERED_PAYLOAD_T; + #pragma pack(pop) #pragma pack(push, 2)