You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ma...@apache.org on 2016/12/07 04:46:41 UTC

[07/10] incubator-mynewt-core git commit: oic; advertise host OS as mynewt in platform info.

oic; advertise host OS as mynewt in platform info.


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/4dd5a1f4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/4dd5a1f4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/4dd5a1f4

Branch: refs/heads/develop
Commit: 4dd5a1f4528a49cb9c9a2e870f4686e75da9a23e
Parents: 57df837
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Tue Dec 6 20:36:42 2016 -0800
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Tue Dec 6 20:45:59 2016 -0800

----------------------------------------------------------------------
 net/oic/src/api/oc_core_res.c | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/4dd5a1f4/net/oic/src/api/oc_core_res.c
----------------------------------------------------------------------
diff --git a/net/oic/src/api/oc_core_res.c b/net/oic/src/api/oc_core_res.c
index c3f4e66..5d908fc 100644
--- a/net/oic/src/api/oc_core_res.c
+++ b/net/oic/src/api/oc_core_res.c
@@ -232,6 +232,7 @@ oc_core_init_platform(const char *mfg_name, oc_core_init_platform_cb_t init_cb,
     oc_uuid_to_str(&uuid, uuid_str, 37);
     oc_rep_set_text_string(root, pi, uuid_str);
     oc_rep_set_text_string(root, mnmn, mfg_name);
+    oc_rep_set_text_string(root, mnos, "MyNewt");
 
     if (init_cb) {
         init_cb(data);