CoRE RD Endpoint and Lookup Client¶
Library for interacting as endpoint and lookup client with CoRE Resource Directories.
About¶
The cord ([Co]RE [R]esource [D]irectory) module provides endpoint and lookup client functionality for interacting with CoRE Resource Directories (RDs) as defined in draft-ietf-core-resource-directory-15.
draft-ietf-core-resource-directory-15 defines two types different roles for nodes when interacting with a RD:endpoint: registers and manages entries at the RDclient: performs different kind of lookups
1 2 3 4 5 6 7 8 9 10 11 12 13 | Registration Lookup, Group
Interface Interfaces
+----+ | |
| EP |---- | |
+----+ ---- | |
--|- +------+ |
+----+ | ----| | | +--------+
| EP | ---------|-----| RD |----|-----| Client |
+----+ | ----| | | +--------+
--|- +------+ |
+----+ ---- | |
| EP |---- | |
+----+
|
draft-ietf-core-resource-directory-15.
Note
In the context of this module, we refer to these roles as endpoint (ep) and lookup client (lc). This should hopefully prevent some confusion in conjunction with the client and server roles as defined by CoAP.
Structure¶
This module is structured in a number of submodules with goal to reflect the different roles described in draft-ietf-core-resource-directory-15:
cord_ep: standard endpoint implementation following the rules as defined i.a. in sections 5.2, 5.3, A.1, and A.2cord_epsim: endpoint implementation following the simple registration procedure as defined in section 5.3.1cord_lc: lookup client implementation for querying information from an RD using the lookup and group interfaces (NOT YET IMPLEMENTED)cord_config: header file collection (default) configuration values used throughout this modulecord_common: shared functionality used by the above submodules