Index: firmware/App/Modes/FPModes/FPOperationModes.c =================================================================== diff -u -r830213bc6dcc1a684610caf78c79d55f2cb41e93 -rd18ed8a1064006f220e75096c723077dda62b500 --- firmware/App/Modes/FPModes/FPOperationModes.c (.../FPOperationModes.c) (revision 830213bc6dcc1a684610caf78c79d55f2cb41e93) +++ firmware/App/Modes/FPModes/FPOperationModes.c (.../FPOperationModes.c) (revision d18ed8a1064006f220e75096c723077dda62b500) @@ -8,7 +8,7 @@ * @file FPOperationModes.c * * @author (last) “rkallala” -* @date (last) 09-Dec-2025 +* @date (last) 15-Jan-2026 * * @author (original) Michael Garthwaite * @date (original) 08-Sep-2025 @@ -553,7 +553,7 @@ * @details \b Outputs: none * @param message message from Dialin which includes the signal to start or stop * generate permeate modes. - * @return TRUE if set successful, FALSE if not + * @return TRUE if override is successful, FALSE if not *************************************************************************/ BOOL testSetGeneratePermeateSignal( MESSAGE_T *message ) { @@ -578,4 +578,24 @@ return result; } +/*********************************************************************//** + * @brief + * The testGetFPDefeaturedStatus function return whether FP is defeatured or not. + * @details \b Inputs: none + * @details \b Outputs: none + * @details \b Message: \b Sent: MSG_ID_FP_DEF_STATUS_RESPONSE + * @param message request message from Dialin for FP defeatured status. + * @return TRUE if request is successful, FALSE if not + *************************************************************************/ +BOOL testGetFPDefeaturedStatus( MESSAGE_T *message ) +{ + BOOL result = FALSE; + FP_DEF_STATUS_PAYLOAD_T data; + + data.isFPDefeatured = isFPDefeatured(); + result = sendMessage( MSG_ID_FP_DEF_STATUS_RESPONSE, COMM_BUFFER_OUT_DD_CAN_PC, (U08*)&data, sizeof(FP_DEF_STATUS_PAYLOAD_T) ); + + return result; +} + /**@}*/