Skip to content

Not able to run piggybacked example #4

@vishal623

Description

@vishal623

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions