Shared functionality for CoRE Resource Directory endpoints. More...
Shared functionality for CoRE Resource Directory endpoints.
Files | |
| file | common.h |
| Shared CoRE RD endpoint functions. | |
Functions | |
| void | cord_common_init (void) |
| Generate unique endpoint identifier (ep) | |
| static const char * | cord_common_get_ep (void) |
| Get the local endpoint identifier. | |
| int | cord_common_add_qstring (coap_pkt_t *pkt) |
| Add selected query string options to a gcoap request. More... | |
Variables | |
| char | cord_common_ep [] |
| Export the local endpoint identifier. More... | |
| int cord_common_add_qstring | ( | coap_pkt_t * | pkt | ) |
Add selected query string options to a gcoap request.
This function adds:
ep -> as extracted by cord_common_get_ep()lt -> if defined by CONFIG_CORD_LT| char cord_common_ep[] |
Export the local endpoint identifier.