Copyright © https://mongoose-os.com

Mongoose OS Forum

frame
ATTENTION! This forum has moved to:

https://community.mongoose-os.com

Do not post any new messages.

Detection of mg_rpc_send_responsef() completion?

edited April 1 in Mongoose OS

Hi everyone,

We have a product which gets set-up (after being unboxed) by setting up Mongoose SOFTAP and HTTP server.
The user sends an RPC for "SETUP" and after some JSON parsing, if their credentials are correct, we send a mg_rpc_send_responsef, and the device is ready to go.

Question: Is there a way to detect the mg_rpc_send_responsef was received successfully at the other end (acknowledged?), instead of just simply waiting, crossing one's fingers, and hoping that the RPC response has been received successfully?

Thanks!
Andrew

Sign In or Register to comment.