Skip to content
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

Source URI is missing in RpcClient Implementation #31

Open
stevenhartley opened this issue Apr 11, 2024 · 0 comments
Open

Source URI is missing in RpcClient Implementation #31

stevenhartley opened this issue Apr 11, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@stevenhartley
Copy link
Contributor

uPClient needs to know the source UEntity and UAuthority of the uE that is instantiating RpcClient interface such that when InvokeMethod() is called (and we generate a request), we can populate the source in the request so the message can be sent back to the requester, otherwise the message cannot be routed back across systems. This will only be a bug when the communication is not P2P but between devices. Issue is line https://github.com/eclipse-uprotocol/up-client-zenoh-cpp/blob/main/lib/src/zenohRpcClient.cpp#L151 .

for examples of setting the URI in the constructor, please see https://github.com/eclipse-uprotocol/up-client-zenoh-rust/blob/main/src/lib.rs#L55

@stevenhartley stevenhartley added the bug Something isn't working label Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant