Index: firmware/App/Services/SystemCommMessages.c =================================================================== diff -u -r3ca2e68a33885153648ba20346e3548438b58724 -ra003e4d7bf7f3b72f55bbed6d6d8c6ac15a85cb8 --- firmware/App/Services/SystemCommMessages.c (.../SystemCommMessages.c) (revision 3ca2e68a33885153648ba20346e3548438b58724) +++ firmware/App/Services/SystemCommMessages.c (.../SystemCommMessages.c) (revision a003e4d7bf7f3b72f55bbed6d6d8c6ac15a85cb8) @@ -3235,6 +3235,40 @@ /*********************************************************************//** * @brief +* The handleDGPOSTResultRequest function handles a request to report DG +* POST results. +* @details Inputs: none +* @details Outputs: message handled +* @param message a pointer to the message to handle +* @return none +*************************************************************************/ +void handleDGPOSTResultRequest( MESSAGE_T *message ) +{ + BOOL status = FALSE; + BOOL result = FALSE; + U08* payloadPtr = message->payload; + + if ( 0 == message->hdr.payloadLen ) + { + if ( TRUE == isPOSTCompleted() ) + { + status = TRUE; + if ( TRUE == isPOSTPassed() ) + { + result = TRUE; + } + sendPOSTFinalResult( result ); + } + } + // If can't respond to request, NAK the message + if ( status != TRUE ) + { + sendTestAckResponseMsg( (MSG_ID_T)message->hdr.msgID, status ); + } +} + +/*********************************************************************//** +* @brief * The handleSetDGCalibrationRecord function handles a request to set the DG * calibration data record. * @details Inputs: none