nxp-mcuxpresso / rpmsg-lite

RPMsg implementation for small MCUs
BSD 3-Clause "New" or "Revised" License
238 stars 73 forks source link

Message framentation? #26

Closed infn-ke closed 1 year ago

infn-ke commented 2 years ago

Does rpmsg-lite have any plans to support message fragmentation? Currently the rpmsg_lite_send simply drops the message if the size exceeds RL_BUFFER_PAYLOAD_SIZE

MichalPrincNXP commented 2 years ago

Hello @infn-ke , correct, the size of to-be-sent message is checked and RL_ERR_BUFF_SIZE is returned once exceeds the RL_BUFFER_PAYLOAD_SIZE. However, the fragmentation support is not planned, this is up to the application to handle. I guess, Linux rpmsg implementation does not support fragmentation either.

escherstair commented 1 year ago

@MichalPrincNXP looking to Linux rpmsg driver, it seems that fragmentation is not supported. Do you know of a sucessfull fragmentation implementation on application side?

MichalPrincNXP commented 1 year ago

Hello @escherstair , I am not aware of a fragmentation implementation, unfortunately.