Open-source library which implements CORECONF (CoAP Management Interface) specified in this ietf-draft. This library is one of fruits of the ietf-draft: SID Extension to efficiently manipulate YANG Data Models
Briefly, CoAP Management Interface (CORECONF) protocol is a network management interface for constrained devices and networks. It is based on the Constrained Application Protocol (CoAP) and uses the YANG data modeling language to describe the data that can be managed. CORECONF is designed to be lightweight and efficient, making it suitable for use in resource-constrained environments.
CORECONF can be used to manage a wide range of devices, including sensors, actuators, and other IoT devices. It can also be used to manage networks, such as wireless sensor networks and mesh networks.
This library intends to provide tools for IoT projects to implement this protocol for communicating with their IoT devices. These tools are basically functional interfaces which mainly allow:
- To express data models in CORECONF format: Assuming you have a YANG model, and it's associated generated SID file (using pyang tool).
- To query CORECONF model: Query your model using SID, or SID-keys or combination of both to quickly find a particular node in your model as explained in this youtube-tutorial by @ltn22
- To manipulate CORECONF model: Once you can query the node, you should be able to modify/update the node using the functional interfaces.
This is a VSCode project. It depends on libraries such as: nanocbor. Once these library/libraries have been setup, update the tasks.json and c_cpp_properties.json files in .vscode/ to be able to build any examples.
Take a look at this RIOT-OS README
Yes, ideally those python stub/code generation tools should be moved out, which will happen soon.. Until then, here's the Stub-generation README
This project uses SID identifiers as specified in RFC-9254. Some other relevant projects are pycoreconf and openschc