It’s my first day with legato and I am trying to understand how this platform works.
In the printer.api file is this:
string message IN ///< message to be printed into the log.
Why do I need to define/great a function here, I can not see where are those called out in components?
In server.c there is the implementation of printer_Print function as I can see
void printer_Print(const char* message)
LE_INFO("******** Client says ‘%s’", message);
and In client.c printer_Print() function is called out
What is the relationship between functions described in printer.api and in components?
All the best