nuttx icon indicating copy to clipboard operation
nuttx copied to clipboard

drivers/rpmsg/ping: skip rpmsg ping send if endpoint is not ready

Open anchao opened this issue 1 month ago • 2 comments

Summary

drivers/rpmsg/ping: skip rpmsg ping send if endpoint is not ready

rpmsg ping send blocks for 15 seconds until the ept is ready, which is not ideal for applications that need to monitor ping status. In this PR, we will check if the ept is ready to avoid prolonged blocking in the underlying driver.

Signed-off-by: chao an [email protected]

Impact

rpmsg ping ioctl

Testing

sim/rpproxy with rpmsg ping, qemu-armv8a(ivshmem) with rpmsg ping

anchao avatar Nov 28 '25 02:11 anchao

Can you include the logs from your tests?

linguini1 avatar Nov 28 '25 16:11 linguini1

Can you include the logs from your tests?

Thanks for reminding. I've been quite busy lately, so please hold this PR do not merge. I'll submit the log if feel free.

anchao avatar Dec 02 '25 11:12 anchao