Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp6641506ybc; Thu, 28 Nov 2019 03:01:24 -0800 (PST) X-Google-Smtp-Source: APXvYqzNb9Jvx++MpY2zoLtOdc4A0/iHOm4IjlDfRwFA3XN2T9dwjps+FwaANckvxyNIjvZVvSIm X-Received: by 2002:a17:906:4e07:: with SMTP id z7mr28693939eju.201.1574938884472; Thu, 28 Nov 2019 03:01:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574938884; cv=none; d=google.com; s=arc-20160816; b=Ts55GkMJPug0+DVfeOfghDOhIZtCAr+Kk1rQv5yMHQSKCwubrj5jxDHIHbQjPkyc0c uh5hW+/6o8JbHSjWx+wzPRHy7+iSxKRU6jBaIVpCZv5ACp5EviW0tGQUhwnYZOMRuiOg CYkVp6UxiyrtzmVe2o7JbQT1x2ZVvDVhFrI9u6RSpzSQwAG7/DQq83bx8Td6oT8fjFYb UDBAQUUdyWpKYjROXIhcFK53f6zAtai7hYF0l6HFQ3vtTqiZ5/hi0mvgaG4l6N9nG6UG UuABTMfOujkYmRnI7KCzQQw3aaZPhAagCJwxzZQNBrLNOFIdnNFOH4cVY0rD9KEJsxEO P0dg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=2Zqccpoq3rctCOVwPeyNGG/DFZtMbvNd/3EluXqvTR8=; b=ipQf/bFLTa9HlX8n2AI7o7ULa7zDQrSZvGP8AzoHCMrkLy4ItRhGsXWLiZabbvgLP4 BC8Sl3Lwc9PrDuhkZYMyMis7FOs4hz4kEmY4OFdY9F+8ooidP6+OIq2TQCBJe/mUViA2 utlYSO+3ljOlylHAAlc793Q0wqW6HOmLN1KncwZdthX9KbkpL5eFLqBzJ19qu67w0BD3 ewgj6F5pvpqy0eq7ivvHQr/fKGECrCRqM1KtGL/NqisPbSbpmRBQH6tAxHOpbyEMfMjW lrAP+fgb3afsO7zot53MVTyw58irhsYNQmFfR8cAY9XbMkLdcfdJMWZhy0LJpO2twuHg rOiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@socoptimum-com.20150623.gappssmtp.com header.s=20150623 header.b=cBj5sC1X; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p29si14716490eda.104.2019.11.28.03.00.44; Thu, 28 Nov 2019 03:01:24 -0800 (PST) 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=@socoptimum-com.20150623.gappssmtp.com header.s=20150623 header.b=cBj5sC1X; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726586AbfK1K6e (ORCPT + 99 others); Thu, 28 Nov 2019 05:58:34 -0500 Received: from mail-pg1-f169.google.com ([209.85.215.169]:32815 "EHLO mail-pg1-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726191AbfK1K6d (ORCPT ); Thu, 28 Nov 2019 05:58:33 -0500 Received: by mail-pg1-f169.google.com with SMTP id 6so8194285pgk.0 for ; Thu, 28 Nov 2019 02:58:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=socoptimum-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=2Zqccpoq3rctCOVwPeyNGG/DFZtMbvNd/3EluXqvTR8=; b=cBj5sC1XEsuQYPPuAbtUSeQd36iDfRR0iQZcM+JfCeBkZtUsnauX/meShrJRF/rEwM 9ZjiakONv7FXusK2wmzxubjWAnevGeKZZ/m1K1+fY8lKmOQpgL0XiZBuxGEG6T9RVThV YJ8LOzRtSIxIwkCR02tiK6UkaXhztXmmWTjGHCL3+tJAx8n9YS3ktIVpr7y5xmIEZ7hY QEh0kLggQhKOp2aExpg75mmua60JQnmulmR1Bk7ZS74V6B8RNktdKs/6iM0ogDfP+VLw +nyLTGohZN/XfdxAQpk1WGRpuYb27WE0OWylNhWyLfwJFCsxEs866Qapd/0kWgSGZsa2 dKyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=2Zqccpoq3rctCOVwPeyNGG/DFZtMbvNd/3EluXqvTR8=; b=FITfDyufTuNpmkD90jtNwbO1ZOMDLOTAwes+svTU6v1JsPHIBkmH4oIqQxKJodro7x nty8BNAYDNYxvT2GLjndmXKyzqYZH9m6O2dA45w3PmArYWEzTAPN3r+5eetW6uLKCj0t Pskvf6H3ACmOOHijV8GSwKTX6ZGg21BtHeKhsuZYUQKG94BWfwwUZMcI8D/v/Gv+IzyU UdA/pRFJdFwKFKRxfWSH15YlRLRl/NV78nhVeQfCsBjSLayIHRC1wVF2OSY/c2Je68ZN gzQUMgEGqU0YkUH5rncyUOepHuuXA76TB9vHaWRu32ALJwWExP0yzbZ1U81wGYGs9VeP lDag== X-Gm-Message-State: APjAAAVoytdPpPYgrgvZ7LyfqBLOp5tul9j+uyb20kyaRiNxOZmRAsqx 0deUdsqSwe9UbvlveJzNwTt36ooYJ7k= X-Received: by 2002:a63:6705:: with SMTP id b5mr10854013pgc.23.1574938712690; Thu, 28 Nov 2019 02:58:32 -0800 (PST) Received: from [192.168.1.9] ([122.179.42.13]) by smtp.gmail.com with ESMTPSA id i65sm20301448pfg.176.2019.11.28.02.58.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 28 Nov 2019 02:58:32 -0800 (PST) Subject: Re: bluez meshctl error: socket operation on non-socket To: "Gix, Brian" Cc: "linux-bluetooth@vger.kernel.org" References: <78DAB7EA-B99D-4EDE-804B-7D127203DA1B@intel.com> From: Venkat Vallapaneni Message-ID: Date: Thu, 28 Nov 2019 16:28:28 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <78DAB7EA-B99D-4EDE-804B-7D127203DA1B@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Brian, Thanks for the response. Yes, I am using PB-GATT barrier. With bluetooothd running, I am able to provision my device. I also tried mesh-cfgclient but unsuccessful. I launched the shell with mesh-cfgclient (with bluetooth-meshd running) and I gave create command in the shell. I see segmentation fault. Any steps I am missing? Is mesh-cfgclient only for provisioning or also for sending mesh messages also? Rgds, Venkat. On 28/11/19 4:22 am, Gix, Brian wrote: > Hi Venkat, > > Are you attempting to provision a device that requires PB-GATT provisioning? If so, the bluetoothd daemon must be up and running. However, this tool is old, and will probably be deprecated at some point. > > However most Mesh devices should support Advertising based provisioning. > > The Mesh daemon (Bluetooth-meshd) and the mesh-cfgclient tool (in the tools directory) has been undergoing modification even since v5.52, so you will want to checkout the tip. > > ./tools/mesh-cfgclient is the tool most appropriate for mesh development today. > > > >> On Nov 26, 2019, at 8:16 PM, Venkat Vallapaneni wrote: >> >> Hi, >> >> I am trying to use bluez 5.52 for provisioning a bluetooth mesh capable device. When I gave provision , I get this below error. Please let me know what I am missing. >> >> I am using ell 0.26 on ubuntu 18.04. I am able to provision successfully with bluez 5.50. >> >> AcquireWrite success: fd 8 MTU 69 >> GATT-TX: 03 00 10 >> *sendmsg: Socket operation on non-socket*[Zephyr]# >> >> Rgds, >> Venkat. >> >>