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

Leandro Lanzieri notifications at github.com
Tue Jan 15 11:47:47 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,

Added

-- 
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_r247843654
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190115/8dcfdf55/attachment-0001.html>


More information about the notifications mailing list