From: "Gix, Brian" <brian.gix@intel.com>
To: "nazeer.m@phytec.in" <nazeer.m@phytec.in>,
"linux-bluetooth@vger.kernel.org"
<linux-bluetooth@vger.kernel.org>
Subject: Re: mesh-cfgclient Node is not attached
Date: Thu, 20 Feb 2020 19:00:40 +0000 [thread overview]
Message-ID: <e9577a1d890c83da99c8dcc2908fff680c9ecb7e.camel@intel.com> (raw)
In-Reply-To: <OF2849A126.CB6B1F2C-ONC1258514.0028F058-C1258514.0028F05A@phytec.de>
Hi Mr Nazeer,
On Thu, 2020-02-20 at 08:27 +0100, Mahaboob Nazeer SK wrote:
> Hi,
>
> I was trying to provision a node using a mesh-cfgclient.
>
> I have successfully ran create and i was able to get configuration
> files in the .config.
>
> [mesh-cfgclient]# create
> Mesh network configuration exists (/home/nazeer/.config/meshcfg/config_db.json)
>
> After that i have tried to discover the unprovisioned node but i get
> Node is not attached message.
>
> [mesh-cfgclient]# discover-unprovisioned on
> Node is not attached
> [mesh-cfgclient]#
The problem you describe is probably due to the daemon not finding an appropriate BT controller to attach to.
This led to the "Attach" failing after the "Create", and then none of the commands to the node are able to be
sent.
There are a couple of options here:
1. If you have a single BT Controller (v4 or newer) you will need to disable the main bluetooth daemon so that
the bluetooth-meshd daemon has access to it:
$ sudo systemctl disable bluetooth
$ sudo systemctl stop bluetooth
2. If you have *multiple* BT controllers, make sure the bluetooth daemon hasn't automatically claimed them all:
In /etc/bluetooth/main.conf, make sure AutoEnable=false (reboot may then be required)
In the future, we will be doing work to enable co-existance and controller sharing for single controller
systems. However, this will require some changes in the kernel.
>
> Could you please let me know if weather there are some
> more steps involved to discover and provision a node or if am missing somethings.
>
> Thank you.
Regards,
--Brian Gix
next prev parent reply other threads:[~2020-02-20 19:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-20 7:27 mesh-cfgclient Node is not attached Mahaboob Nazeer SK
2020-02-20 19:00 ` Gix, Brian [this message]
2020-02-21 9:39 ` Mahaboob Nazeer SK
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=e9577a1d890c83da99c8dcc2908fff680c9ecb7e.camel@intel.com \
--to=brian.gix@intel.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=nazeer.m@phytec.in \
/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