• Bjorn Andersson's avatar
    rpmsg: rpmsg_send() operations takes rpmsg_endpoint · 2a48d732
    Bjorn Andersson authored
    The rpmsg_send() operations has been taking a rpmsg_device, but this
    forces users of secondary rpmsg_endpoints to use the rpmsg_sendto()
    interface - by extracting source and destination from the given data
    structures. If we instead pass the rpmsg_endpoint to these functions a
    service can use rpmsg_sendto() to respond to messages, even on secondary
    In addition this would allow us to support operations on multiple
    channels in future backends that does not support off-channel
    Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
rpmsg_client_sample.c 2.6 KB