[riot-notifications] [RIOT-OS/RIOT] doc/memos: RDM Runtime Configuration Architecture (#10622)

Leandro Lanzieri notifications at github.com
Mon Jan 14 16:23:02 CET 2019


leandrolanzieri commented on this pull request.



> +```c
+/*
+This conceptual example shows the implementation of a dummy Storage Facility.
+The storage device is a dummy_storage array (represented by the 
+`dummy_store_storage_t` struct).
+*/
+typedef struct {
+    char name[DUMMY_MAX_NAME_LEN];
+    char val[DUMMY_MAX_VAL_LEN];
+} dummy_store_storage_t;
+
+
+/* This will be our "storage device" */
+dummy_store_storage_t dummy_store[DUMMY_STORE_CAPACITY];
+
+static int registry_dummy_load(registry_store_t *store, load_cb_t cb,

The `registry_store_t` is the descriptor of a storage facility. Will add that.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/10622#discussion_r247533307
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190114/adc0e105/attachment-0001.html>


More information about the notifications mailing list