From: Brian Gix <brian.gix@intel.com>
To: linux-bluetooth@vger.kernel.org
Cc: marcel@holtmann.org, johan.hedberg@gmail.com, inga.stotland@intel.com
Subject: [PATCH BlueZ v6 13/14] mesh: Sample device composition in JSON format
Date: Mon, 9 Jul 2018 11:32:10 -0700 [thread overview]
Message-ID: <20180709183211.16588-14-brian.gix@intel.com> (raw)
In-Reply-To: <20180709183211.16588-1-brian.gix@intel.com>
From: Inga Stotland <inga.stotland@intel.com>
This is a sample unprovisioned device composition described
in JSON format.
---
mesh/config/composition.json | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
create mode 100644 mesh/config/composition.json
diff --git a/mesh/config/composition.json b/mesh/config/composition.json
new file mode 100644
index 000000000..20c0d0c3a
--- /dev/null
+++ b/mesh/config/composition.json
@@ -0,0 +1,44 @@
+{
+ "$schema":"file:\/\/\/BlueZ\/MeshD\/local_schema\/mesh.jsonschema",
+ "meshName":"BT Mesh sample node",
+ "UUID":"E0ED0F0200000000203C100200000000",
+ "cid":"0002",
+ "pid":"0010",
+ "vid":"0001",
+ "crpl":"000a",
+ "proxy":"unsupported",
+ "friend":"disabled",
+ "lowPower":"disabled",
+ "relay":{
+ "mode":"enabled"
+ },
+ "elements":[
+ {
+ "elementIndex":0,
+ "location":"0001",
+ "models":[
+ {
+ "modelId":"0000"
+ },
+ {
+ "modelId":"1001"
+ }
+ ]
+ }
+ ],
+ "provision": {
+ "privateKey": "729aa0670d72cd6497502ed473502b037e8803b5c60829a5a3caa219505530ba",
+ "algorithms": [ 0 ],
+ "inputOOB": {
+ "size": 8,
+ "actions": [ 2, 3]
+ },
+ "outputOOB": {
+ "size": 8,
+ "actions": [ 3, 4]
+ },
+ "publicType": false,
+ "staticType": false
+ },
+ }
+}
--
2.14.4
next prev parent reply other threads:[~2018-07-09 18:32 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-09 18:31 [PATCH BlueZ v6 00/14] Bluetooth Mesh Daemon Brian Gix
2018-07-09 18:31 ` [PATCH BlueZ v6 01/14] mesh: Shared private meshd interfaces Brian Gix
2018-07-09 18:31 ` [PATCH BlueZ v6 02/14] mesh: Mesh crypto support Brian Gix
2018-07-09 18:32 ` [PATCH BlueZ v6 03/14] mesh: Infrastructure for Mesh daemon Brian Gix
2018-07-09 18:32 ` [PATCH BlueZ v6 04/14] mesh: Initial Mesh Friendship support Brian Gix
2018-07-09 18:32 ` [PATCH BlueZ v6 05/14] mesh: Provisioning logic for mesh Brian Gix
2018-07-09 18:32 ` [PATCH BlueZ v6 06/14] mesh: Upper and Lower mesh transport Brian Gix
2018-07-09 18:32 ` [PATCH BlueZ v6 07/14] mesh: Add Accessors to Transport layer data Brian Gix
2018-07-09 18:32 ` [PATCH BlueZ v6 08/14] mesh: Header files for mesh access layer and utilities Brian Gix
2018-07-09 18:32 ` [PATCH BlueZ v6 09/14] mesh: Source " Brian Gix
2018-07-09 18:32 ` [PATCH BlueZ v6 10/14] mesh: Source code for handling access layer mux/demux Brian Gix
2018-07-09 18:32 ` [PATCH BlueZ v6 11/14] mesh: Mesh config server model Brian Gix
2018-07-09 18:32 ` [PATCH BlueZ v6 12/14] mesh: Read and write mesh configuration in JSON format Brian Gix
2018-07-09 18:32 ` Brian Gix [this message]
2018-07-09 18:32 ` [PATCH BlueZ v6 14/14] Makefile for meshd Brian Gix
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180709183211.16588-14-brian.gix@intel.com \
--to=brian.gix@intel.com \
--cc=inga.stotland@intel.com \
--cc=johan.hedberg@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=marcel@holtmann.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).