anchao commented on code in PR #17395:
URL: https://github.com/apache/nuttx/pull/17395#discussion_r2580810284


##########
drivers/rpmsg/rpmsg_ping.c:
##########
@@ -162,7 +167,7 @@ static int rpmsg_ping_once(FAR struct rpmsg_endpoint *ept, 
int len,
       msg->cookie = (uintptr_t)&sem;
       nxsem_init(&sem, 0, 0);
 
-      ret = rpmsg_send_nocopy(ept, msg, msg->len);
+      ret = rpmsg_sendto_nocopy(ept, msg, msg->len);

Review Comment:
   but the rpmsg API does not have this limitation. In terms of interface 
implementation, send will wait 15 seconds, while sendto will only try once:
   
   <img width="670" height="1022" alt="image" 
src="https://github.com/user-attachments/assets/13a6b6f3-b7cf-4ff9-82f4-a269bd605186";
 />
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to