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

Not able to run piggybacked example #4

Open
vishal623 opened this issue May 28, 2018 · 1 comment
Open

Not able to run piggybacked example #4

vishal623 opened this issue May 28, 2018 · 1 comment

Comments

@vishal623
Copy link

Hello sir,

When I ran the client and server file as per your instruction, I got the following errors.

  1. ‘coap_pdu_t {aka struct coap_pdu_t}’ has no member named ‘hdr’
  2. ‘coap_context_t {aka struct coap_context_t}’ has no member named ‘hdr’

I resolved it error by removing hdr.

  1. ‘coap_pdu_t {aka struct coap_pdu_t}’ has no member named ‘id’

I resolved it by adding tid instead of id.

  1. ‘coap_context_t {aka struct coap_context_t}’ has no member named ‘sock’

I already checked the code sock->fd replaces it. So, I did, but still, it is showing me the same error.

I am using these example for testing only. I have to build my case based on this.

Thanks
Vishal

@vishal623
Copy link
Author

Hello sir,

I am unable to execute your code in a latest libcoap branch. There is a compatibility issue with existing code. So many function name and the declaration has been changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant