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

unable to use cgo for deserializing data at subscriber end #221

Open
nehaksheerasagar opened this issue Dec 13, 2023 · 0 comments
Open

unable to use cgo for deserializing data at subscriber end #221

nehaksheerasagar opened this issue Dec 13, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@nehaksheerasagar
Copy link

Describe the bug

Iam trying to use protobuf to serialize and send the data through zenoh using cgo. so, when I try to use c bindings in go Iam able to serialize and publish the message but on subscriber Iam unable to deserialize the data again and the payload size when is different on both ends...so Is it because c doesn't support few features or can we make it possible to use zenoh through cgo?? or any alternatives on this??

To reproduce

1.serialize the data using protobuf
2.declare publisher and publish data
3.start subscriber and listen to messages
4. Now, Iam unable to get the actual payload that is recieved at subscriber end and unable unmarshal it using go.

System info

  • linux(ubuntu) arm 86
@nehaksheerasagar nehaksheerasagar added the bug Something isn't working label Dec 13, 2023
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