Hello @yzs ,
You are welcome. If that reply answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you!
BRs,
Celeste
Hello @yzs ,
Thanks for letting us know about this issue.
I have indeed reproduced your issue. The `logMessage` function expects a parameter of the `MessageBuffer *` pointer type. However, the previous error message indicated that it was not possible to convert an ordinary `erpc::MessageBuffer` object into an `erpc::MessageBuffer*` pointer type. Therefore, the following workaround can be considered to solve this type mismatch problem: obtain a reference using the `getBufferRef` function and then pass the pointer by taking the address. The code modification is as follows:
In erpc_client_manager.cpp:
By modifying the above code, it can be compiled successfully.
However, this approach may not be the optimal solution. I will submit a Jira ticket to the SW Team to further investigate this issue.
Thanks again for your post. Have a nice day~
BRs,
Celeste