You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tried to execute the above callback no matter what the client sends, but the terminal shows the following error, and I exactly executed this sentence
libyang[0]: No module with namespace "urn:demo:demo-mac" in the context. (path: Line number 1.)
Session 1 [ERR]: Received an invalid message (No module with namespace "urn:demo:demo-mac" in the context.).
ERR_MSG_CLEANUP:Couldn't receive a reply from the server
How can I make a custom rpc request in my client and correctly progress it in my server.
The text was updated successfully, but these errors were encountered:
It would seem ly_ctx_load_module(*context, "demo-mac", NULL, NULL) fails to load the module, I guess you are not even checking for errors. If you have not set up the search directory correctly, use lys_parse_path() instead.
My server got its returned ly_error type is correctly loaded into the module, now I want to know how the client custom rpc send instead of through ietf standards, is using the nc_rpc_act_generic function?
I created a new yang file based on the work of others, and compiled it according to the sample server and client
The following is the rpc reply that handles the model on the server side.
I have tried to execute the above callback no matter what the client sends, but the terminal shows the following error, and I exactly executed this sentence
How can I make a custom rpc request in my client and correctly progress it in my server.
The text was updated successfully, but these errors were encountered: