-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No return value from server-method and status code *uncertain* #6437
Comments
updateI started a open62541-server with a method returning uncertain. But with the open62541-client code, the result is empty. |
I fixed the issue locally by editing the method UA_Client_call in the file ua_client_highlevel.c. Original:
Slightly modified version:
|
I also encountered the problem that none of the output parameters are returned to the calling client if a method returns a different status code than UA_STATUSCODE_GOOD. |
The server sends values when the status code is uncertain, but the open62541-client does not return them. |
Description
I have a simple server with some methods. If a method fails(not completely), I want to provide
some more information beside the status code to the client.
When I use UA_STATUSCODE_UNCERTAIN as method return code, nothing (except the status code)
is returned to the client.
Is this behaviour correct?
If so, what is the "correct" way to indicate something went wrong executing the method?
I thought of returning a UA_Variant with
Checklist
Please provide the following information:
The text was updated successfully, but these errors were encountered: