[riot-notifications] [RIOT-OS/RIOT] sys/metadata: Add a metadata command to let an application give metadata (#10961)

Martine Lenders notifications at github.com
Wed Feb 6 14:14:55 CET 2019

miri64 commented on this pull request.

> @@ -31,6 +31,13 @@ ifneq (,$(filter oneway_malloc,$(USEMODULE)))
   USEMODULE_INCLUDES += $(RIOTBASE)/sys/oneway-malloc/include
+ifneq (,$(filter metadata,$(USEMODULE)))
+  # Overwrite the interface version

> None right now, the plan it to have the RDM merged then we can specify it adheres to the rules. Similar to something like it adheres to a [JSON schema draft 7](https://json-schema.org/draft-07/json-schema-release-notes.html).

Though I like the simplicity of this implementation, I wonder

a) Why pin-point to JSON, when we also support e.g. CBOR?
b) Why use `printf` and not `fmt` *iff* we want to stick to JSON.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190206/0141d8af/attachment-0001.html>

More information about the notifications mailing list