51 * @brief This function is the basic function of handling RFCommunication (<b>RobotFramework</b> <b>C</b>ommunication) for all the <b>Commands</b> related to the <b>Function</b> <b>AI</b> (Analog Input)\n
52 * This function is called from <b>FH_RFCommunication()</b>
53 *
54 * @param fh_RFCommunication_Message
55 * The message frame set by <b>RobotFramework</b>
101 * @brief This function handles <b>FH_AI_Commands_Init</b> command\n
102 * There are 3 main items handled in this function as following:\n
103 * 1 - Verifying the health of the received message\n
104 * 2 - Setting the addresses of the functions in <b>FH_Functions</b>, Section <b>FH_AI</b> (Analog Input) to an array of function pointer\n
105 * 3 - Calling the related function in <b>FH_Functions</b>, Section <b>FH_AI</b> (Analog Input) according to the first parameter of the Data in the message frame
106 *
107 * @param fh_RFCommunication_Message
108 * The message frame set by <b>RobotFramework</b>
144FH_AI_Init_S (FH_AI_Init_FuncPtr); // Setting the address of the functions
145
146// 3 - Calling the related function in <b>FH_Functions</b>, Section <b>FH_AI</b> (Analog Input) according to the first parameter of the Data in the message frame
147FH_ResetErrorInfo(&fh_ErrorInfo); // Reset Error Information to default
148 fh_ErrorInfo = FH_AI_Init_C (fh_RFCommunication_Message, FH_AI_Init_FuncPtr); // Calling the related function according to the first parameter of the Data in the message frame
149return fh_ErrorInfo;
150}
151
152/**
153 * @brief This function handles <b>FH_AI_Commands_GetStatus</b> command\n
154 * There are 3 main items handled in this function as following:\n
155 * 1 - Verifying the health of the received message\n
156 * 2 - Setting the addresses of the functions in <b>FH_Functions</b>, Section <b>FH_AI</b> (Analog Input) to an array of function pointer\n
157 * 3 - Calling the related function in <b>FH_Functions</b>, Section <b>FH_AI</b> (Analog Input) according to the first parameter of the Data in the message frame
158 *
159 * @param fh_RFCommunication_Message
160 * The message frame set by <b>RobotFramework</b>
197 FH_AI_GetStatus_S (FH_AI_GetStatus_FuncPtr); // Setting the address of the functions
198
199// 3 - Calling the related function in <b>FH_Functions</b>, Section <b>FH_AI</b> (Analog Input) according to the first parameter of the Data in the message frame
200FH_ResetErrorInfo(&fh_ErrorInfo); // Reset Error Information to default
201 fh_ErrorInfo = FH_AI_GetStatus_C (fh_RFCommunication_Message, FH_AI_Data, FH_AI_GetStatus_FuncPtr); // Calling the related function according to the first parameter of the Data in the message frame