Closed eikendev closed 4 years ago
One could use the waitset implementation to make waiting on URPC messages blocking. However, for an initial version, we will go with a non-blocking solution.
The marshalling can be adapted from the existing LMP implementations. The difference will be that we call some URPC-specific sending primitive.
One thought is that we can use the current marshalling as is, and replace the call to aos_rpc_lmp_send_message()
with aos_rpc_send_message()
. aos_rpc_send_message()
will have to decide whether to use LMP or URPC. That way, the marshalling is completely shared. @leopoldsedev, what do you think?
In order to implement:
Make monitorserver forward all LMP packets to the correct server over URPC
in #121 we need an API for URPC. Please let us know once you have an initial draft of an API we can work with.
Sorry, this slipped through somehow. You can see our exposed functions at in aos_rpc_ump.h.