Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AFDDDC169C4 for ; Fri, 1 Feb 2019 00:22:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8C91621872 for ; Fri, 1 Feb 2019 00:22:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725883AbfBAAWq (ORCPT ); Thu, 31 Jan 2019 19:22:46 -0500 Received: from mga04.intel.com ([192.55.52.120]:12735 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725822AbfBAAWp (ORCPT ); Thu, 31 Jan 2019 19:22:45 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 31 Jan 2019 16:22:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,546,1539673200"; d="scan'208";a="296350124" Received: from ingas-nuc1.sea.intel.com ([10.251.135.250]) by orsmga005.jf.intel.com with ESMTP; 31 Jan 2019 16:22:44 -0800 From: Inga Stotland To: linux-bluetooth@vger.kernel.org Cc: luiz.von.dentz@intel.com, brian.gix@intel.com, Inga Stotland Subject: [PATCH BlueZ] mesh: Add README file Date: Thu, 31 Jan 2019 16:22:41 -0800 Message-Id: <20190201002241.19170-1-inga.stotland@intel.com> X-Mailer: git-send-email 2.17.2 Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org This file contains instructions for Bluetooth mesh daemon configuration and description of the persistent storage. --- mesh/README | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 mesh/README diff --git a/mesh/README b/mesh/README new file mode 100644 index 000000000..151a1e6a1 --- /dev/null +++ b/mesh/README @@ -0,0 +1,50 @@ +Bluetooth Mesh Daemon +********************* + +Copyright (C) 2019 Intel Corporation. All rights reserved. + +Compilation and installation +============================ + +In addition to main BlueZ requirements, MeshCtl needs the following: + - json-c library + +Configuration and options +========================= + + --enable-mesh + + Build mesh daemon and other Bluetooth Mesh based tools + +Current implementation of the mesh daemon requires exclusive access to +a Bluetooth controller. +The AutoEnable option in the installed main.conf should be set to "false". + +Storage +======= + +Default storage directory is /var/lib/bluetooth/mesh. + +The directory contains the provisioned nodes configurations. +Each node has its own subdirectory, named with a 4-digit (hexadecimal) +identificator that is internally generated by the mesh daemon at the time +of the node provisioning. + +Each subdirectory contains the following files: + - node.json: + node configuration and is populated by the + daemon based on the configuration commands from a + provisioner/configuration client + - node.json.bak: + a backup that the last known good node configuration. + +The files are in JSON format. + +Information +=========== + +Mailing lists: + linux-bluetooth@vger.kernel.org + +For additional information about the project visit BlueZ web site: + http://www.bluez.org \ No newline at end of file -- 2.17.2