Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp421662yba; Wed, 15 May 2019 03:49:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqxN5KbJSPww//ixC85EkNNew450ireHp7desJYckjGo+UU7ySlNi1/HtyLzDdtAGQhHD0M1 X-Received: by 2002:a17:902:ac1:: with SMTP id 59mr43086136plp.294.1557917366038; Wed, 15 May 2019 03:49:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557917366; cv=none; d=google.com; s=arc-20160816; b=1JoVzS777AObDJP1j83tHibOjS8WB84EuS1BUj+uUo3Ly3lXEHxfACTmtzavKHsfzs RgwmVwZPoFAja/X6DxlLqRWJPjfL27VIkgbi0sjYaKz38Ru81t70gfg8pGnML+QybB4f XTOmLTAmnamxeaoPC4d2/bwh6xvWyL85zHjf89HaH3S1CinhswWN542Q7/0WJ7WWyACb NijvFTfXuwyjAZeVImIteATRkY/AmM1UiBxboO5B5d7aLrzS9Q8l+yjRJ/ojWG7SHIgz Ojcm7b/sQ/G2dPUiKHyzTpywWIclF1HkByqKQKUHEIr9Had1ljSmygy4r+qmuzDbmmTS fQhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=h8Qkwzk2vtu7b/SV1BcLiIIrN+8gyAJJvJsm58+0Pzs=; b=qX4oGXuPWTsq22yxdfRjxIPiKgM1lLZ1CHyZbIIYFXGRpgaHTMFW2nC5begJyPLf4n t1rRLEJngOuQMvWjlr4ZgYC3xNojUSDVlTEJB47H3EtwFtrCNXmxjJwHscQJc1NmJ7oi JEtTQ/JSsBklMS+mJ8PPljyrD73RbJx1UNM4FQQQC90me72VDWssiCfsMrWeLNtq48Jr noVBXObWxuE4zLAKv+EJEFHRbWp7wy4R1XzFhj3nY4BpK+sDHYG3ZCUJMaZgOpvkfoR4 hDnA7YeCNYlNdKRS3XRpaOu5aL1z7/q6wkKioMI0RSiZjZNKUTSLxf3+PIUfwUwHdelT SN2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=NHRogkKc; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z143si1828856pfc.38.2019.05.15.03.48.56; Wed, 15 May 2019 03:49:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=NHRogkKc; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726425AbfEOKsf (ORCPT + 99 others); Wed, 15 May 2019 06:48:35 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:41491 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725953AbfEOKsf (ORCPT ); Wed, 15 May 2019 06:48:35 -0400 Received: by mail-lj1-f194.google.com with SMTP id k8so2054263lja.8 for ; Wed, 15 May 2019 03:48:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=h8Qkwzk2vtu7b/SV1BcLiIIrN+8gyAJJvJsm58+0Pzs=; b=NHRogkKcGMS0gLmCGBEZju53lVZ56bMBenofzXy34/0B9dno94504d6HPGr3GQ/lcn Km7ICeg1p+qQz3cLBNnEehFKEJo3Dv6BUqdfMFn0NlAJl0fGJrb9gUVL7k2dp9GzCpZN Wlf573PeUXCJNS2AUusmNK1+Nnd+NHIyyjz6fGc0MkMgSR3UVAw4zVj3O3nZR1M2luO4 RAbtL3Fm4MX0uUTvnxB2TpFRgRnp5blA/c1YtR+ZPw/pXprdPz/ONcBmJb8UacrOtC/0 wvzOgK743eCTb9zQ9fmLD+wNeO+9CoJEJ9ZTEDZmLddDwdLeoKnMCQP8QhJGo4rypHg+ PqvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=h8Qkwzk2vtu7b/SV1BcLiIIrN+8gyAJJvJsm58+0Pzs=; b=IoZ7oVbLvOF8ZVjwLck/d3ArcAxKeQLOszvZHBG0Dt6mtEdeXMIC3TjE9J9s3tlHCC ES59ilbxK+i5gHZVzv4OCMOkVufAvPnBXalaIErnG1uXjSwatIFh1vBkG4a7u5ggW5l5 NCTETKfztmoGp80UV1Yg18OauUx8k4lGmblMd9C4YBB3oJAMOG66DXjv3M2XF5pFX6Xt 8BVjgHKI/0Yt+3QB8Rk+XeG9+x3093rLafF5xQ3qcJ77LT+yN019NYcpUkCBNLGfYTlt o10pn1jcxvJeL2KS+rX5NVyBMBzcqXZ7c1sT1WxjWZf0asqzYCzPLsjYDTzWu0qjv8DE o+MA== X-Gm-Message-State: APjAAAXLEMgkRyFco1SgcK1lT11ge3gqpO6qx7SAQmTtT3qhQBSGczx+ 2OZTJ6xwbLTCn1jN5J3867/7Ym8cupv0vEdaR0jrXw== X-Received: by 2002:a2e:91c6:: with SMTP id u6mr2281642ljg.143.1557917313824; Wed, 15 May 2019 03:48:33 -0700 (PDT) MIME-Version: 1.0 References: <33a1f056-12c2-1aaa-4172-ea1fba341428@phytec.in> <0ec70f654132923489ee2603fe9ac885ac547830.camel@ewol.com> In-Reply-To: <0ec70f654132923489ee2603fe9ac885ac547830.camel@ewol.com> From: "Von Dentz, Luiz" Date: Wed, 15 May 2019 13:48:21 +0300 Message-ID: Subject: Re: Issue with mesh provisioning. To: Steve Brown Cc: Shaik Mahaboob Nazeer , linux-bluetooth@vger.kernel.org, Jonas Remmert Content-Type: text/plain; charset="UTF-8" Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Steve, That specific patch doesn't change the meshctl, the following one does: commit d6eec1b67d6d9e3336b7e3cd8f655baf408d864a Author: Luiz Augusto von Dentz Date: Mon Nov 19 17:35:54 2018 +0200 meshctl: Switch from write to sendmsg for Acquire* Use sendmsg with MSG_NOSIGNAL to prevent crashes involving SIGPIPE. Not sure what is the problem with that since we just switch from a pipe to a socketpair. On Wed, May 15, 2019 at 1:01 PM Steve Brown wrote: > > On Tue, 2019-05-14 at 15:25 -0400, Steve Brown wrote: > > On Tue, 2019-05-14 at 14:50 +0530, Shaik Mahaboob Nazeer wrote: > > > hi, > > > > > > -> We tried Zephyr Mesh onoff example on nrf52 eval kit to test the > > > Mesh Functionality.For provisioning of the node > > > we are using meshctl, built from the latest current master of > > > the > > > bluez source.So during the provisioning of the node when we > > > start the "meshctl" and run the "discover-unprovisioned on" we > > > are > > > able to get the Device UUID for the provisioning. > > > > > > Later when we try to provision the node using the "provision > > > " command it initiate the provision and does not wait > > > for the user to enter OOB .You can find the log as below. > > > /*******************************************/ > > > > > > > --- snip --- > > > > > /**************************************/ > > > > > > Could you elaborate a little on the status of the current master of > > > bluez in regards to BLE mesh, is it usable or should we look to > > > older > > > versions? > > > > > > Do you know if there is a common issue while provisioning of the > > > node > > > with the current master and > > > is there anything that need to be configured before provisioning? > > > > > I get the same results. > > > > I check out 48a2c3db1ccff28a615fac56066ca7d721f98d0a > > > > That was the last time I used meshctl. > > > > It requests an oob string and completes provisioning. > > > > Steve > > > > I bisected to > > commit 91df85690cc1943e46ef90561dd1ac0d673ee3d7 > Author: Luiz Augusto von Dentz > Date: Mon Nov 19 15:36:15 2018 +0200 > > client: Switch from write to sendmsg for Acquire* > > Use sendmsg with MSG_NOSIGNAL to prevent crashes involving SIGPIPE. > > >