I’m trying to do the same as HelloIPC sample App but instead of having a function that takes a string as an IN I want it to return a string i.e. have it as such:
FUNCTION Get
(
string message[1024] OUT ///< message to be inserted into the log.
);
The issue is how can i define this function in my c file in order not to have any undefined reference. Whenever I define i like such:
const char * msg "******** Client says Something *******";
void printer_Get( char* message)
{
message = msg;
}
I have undefined reference error. How can I return a string from this function since the returnType cannot be string??