From: Inga Stotland Date: Fri, 1 Nov 2019 18:57:29 +0000 (-0700) Subject: tools/mesh-cfgclient: Add README file X-Git-Tag: accepted/tizen/unified/20191220.123149^2~27 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a52aaa3b0b170fb6a03079470af0b5943c31f633;p=platform%2Fupstream%2Fbluez.git tools/mesh-cfgclient: Add README file Change-Id: Ie3f292a17cbf2af897b079a8b08abd474ae16cab Signed-off-by: Anupam Roy --- diff --git a/tools/mesh/README b/tools/mesh/README new file mode 100644 index 0000000..9362d8f --- /dev/null +++ b/tools/mesh/README @@ -0,0 +1,54 @@ +MeshCfgclient - BlueZ PB-Adv based Bluetooth Mesh Provisioner +************************************************************* + +Copyright (C) 2019 Intel Corporation. All rights reserved. + +Compilation and installation +============================ + +In addition to main BlueZ requirements, MeshCfgclient needs the following: + - JSON library + +Configuration and options +========================= + + --enable-mesh + + Build mesh-cfgclient and other Bluetooth Mesh based tools + +Storage for mesh configuration file +=================================== + +The mesh-cfgclient tool generates a mesh configuration file in JSON format: + - mesh_db.json +that contains information about the current state of the configured mesh +network. + +The default directory for mesh-cfgclient configuration file is +/home//.config/mesh-cfgcli + +To specify a custom storage directory, run mesh-config tool as: + + meshctl -c + +If a configuration file is not found, it is assumed that a mesh network +does not exist. In this case, the tool may be used to generate a new mesh +network by invoking "create" command from the main menu and, on a successful +completion of this command, an initial configuration file is written. + +If the configuration file is present, then "create" command will fail. This +is done so that the existing configuration is not accidentally overwritten. +If the intention is to create a new network then, the existing mesh +configuration file has to be either moved or dleted prior to running the +mesh-cfgclient tool. Also, a new custom storage location may be +specified for a new network on the start up as a command line option. + + +Information +=========== + +Mailing lists: + linux-bluetooth@vger.kernel.org + +For additional information about the project visit BlueZ web site: + http://www.bluez.org