Skip to content
Snippets Groups Projects
Commit 8f10d65a authored by Pekka Nikander's avatar Pekka Nikander
Browse files

net/gcoap: Make references to coap_resource_t const in gcoap

    A CoAP resource is a primary object between the application
    and CoAP library.  The Library needs the paths, methods,
    and handlers from it, so that it can call the right handler.
    However, it never needs to change any of them.

    The application also needs the resources.  The application
    may want to declare the resources as const, since it may
    want to store them in flash.
parent 883280b7
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment