Index: firmware/App/Modes/FPModes/FPOperationModes.c =================================================================== diff -u -r46e6d3bf0ebcc13a0b709c2de317d209119b61be -r0629bf55079c4ad0fa3b44091d5f3618e51b7a2b --- firmware/App/Modes/FPModes/FPOperationModes.c (.../FPOperationModes.c) (revision 46e6d3bf0ebcc13a0b709c2de317d209119b61be) +++ firmware/App/Modes/FPModes/FPOperationModes.c (.../FPOperationModes.c) (revision 0629bf55079c4ad0fa3b44091d5f3618e51b7a2b) @@ -609,4 +609,25 @@ return result; } +/*********************************************************************//** + * @brief + * The testGetFPBoostPumpInstallStatus function return whether FP is Boost Pump + * is installed or not. + * @details \b Inputs: none + * @details \b Outputs: none + * @details \b Message: \b Sent: MSG_ID_FP_BOOST_PUMP_INSTALL_STATUS_RESPONSE + * @param message request message from Dialin for FP boost pump install status. + * @return TRUE if request is successful, FALSE if not + *************************************************************************/ +BOOL testGetFPBoostPumpInstallStatus( MESSAGE_T *message ) +{ + BOOL result = FALSE; + FP_BOOST_PUMP_INSTALL_STATUS_PAYLOAD_T data; + + data.isFPBoostPumpInstalled = isBoostPumpInstalled(); + result = sendMessage( MSG_ID_FP_BOOST_PUMP_INSTALL_STATUS_RESPONSE, COMM_BUFFER_OUT_DD_CAN_PC, (U08*)&data, sizeof(FP_BOOST_PUMP_INSTALL_STATUS_PAYLOAD_T) ); + + return result; +} + /**@}*/