From 669de134aa19fbd6b7ac59575446a064bbf27565 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Wed, 14 Feb 2024 16:51:14 +0100 Subject: [PATCH] Add missing mesh-gatt JSON files --- tools/mesh-gatt/local_node.json | 61 +++++++++++++++++++++++++++++++++ tools/mesh-gatt/prov_db.json | 37 ++++++++++++++++++++ 2 files changed, 98 insertions(+) create mode 100644 tools/mesh-gatt/local_node.json create mode 100644 tools/mesh-gatt/prov_db.json diff --git a/tools/mesh-gatt/local_node.json b/tools/mesh-gatt/local_node.json new file mode 100644 index 000000000000..5ffa7ada1f65 --- /dev/null +++ b/tools/mesh-gatt/local_node.json @@ -0,0 +1,61 @@ +{ + "$schema":"file:\/\/\/BlueZ\/Mesh\/local_schema\/mesh.jsonschema", + "meshName":"BT Mesh", + "netKeys":[ + { + "index": 0, + "keyRefresh": 0 + } + ], + "appKeys":[ + { + "index": 0, + "boundNetKey": 0 + }, + { + "index": 1, + "boundNetKey": 0 + } + ], +"node": { + "IVindex":"00000005", + "IVupdate":"0", + "sequenceNumber": 0, + "composition": { + "cid": "0002", + "pid": "0010", + "vid": "0001", + "crpl": "000a", + "features": { + "relay": false, + "proxy": true, + "friend": false, + "lowPower": false + }, + "elements": [ + { + "elementIndex": 0, + "location": "0001", + "models": ["0000", "0001", "1001"] + } + ] + }, + "configuration":{ + "netKeys": [0], + "appKeys": [ 0, 1], + "defaultTTL": 10, + "elements": [ + { + "elementIndex": 0, + "unicastAddress":"0077", + "models": [ + { + "modelId": "1001", + "bind": [1] + } + ] + } + ] + } + } +} diff --git a/tools/mesh-gatt/prov_db.json b/tools/mesh-gatt/prov_db.json new file mode 100644 index 000000000000..74a03128d4d5 --- /dev/null +++ b/tools/mesh-gatt/prov_db.json @@ -0,0 +1,37 @@ +{ + "$schema":"file:\/\/\/BlueZ\/Mesh\/schema\/mesh.jsonschema", + "meshName":"BT Mesh", + "IVindex":5, + "IVupdate":0, + "netKeys":[ + { + "index":0, + "keyRefresh":0, + "key":"18eed9c2a56add85049ffc3c59ad0e12" + } + ], + "appKeys":[ + { + "index":0, + "boundNetKey":0, + "key":"4f68ad85d9f48ac8589df665b6b49b8a" + }, + { + "index":1, + "boundNetKey":0, + "key":"2aa2a6ded5a0798ceab5787ca3ae39fc" + } + ], + "provisioners":[ + { + "provisionerName":"BT Mesh Provisioner", + "unicastAddress":"0077", + "allocatedUnicastRange":[ + { + "lowAddress":"0100", + "highAddress":"7fff" + } + ] + } + ], +} -- 2.43.0