Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp769820pxb; Thu, 5 Nov 2020 12:30:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJw9kbBBavKioKE+7rJmbbqa42xBeh+Dqd+c5hCtRgcwPC0TNaApalU7LBK+qUmnFD1PJR76 X-Received: by 2002:a50:9fe6:: with SMTP id c93mr3680914edf.30.1604608239118; Thu, 05 Nov 2020 12:30:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604608239; cv=none; d=google.com; s=arc-20160816; b=rPnU8PUcy98IOSTTH6SHjYiaNam1C9ESVlbrzcnqebvinMMKF7RL3QcZArWULnwEw4 6od6X7D79DNNUdwr/2N9+wkcliKLHWfMke23q/Kcl0RHTMZsfJVIFVxxY9dJH6HC5kJA w5LkZUqy0n49eOls+MdcLUHImz+O52/SpR+0slwsuU0u4O18jaDHjZRwGiU3YAoqmeKi fcUMLiJHBu52oOx+sLPej7m4yiYVeqRHkTDcM3PT0EokQh19AbBapqo1AB93XL6cpWkH CdWWkSEPzGTKmvGUlCkNb68sZQCS5beSHBPR68QMMYwUPfSVvTPLidVbgQV8dpGAGIQD 4dng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :mime-version:user-agent:date:message-id:subject:from:to :dkim-signature; bh=ITLWzxCyQTDPzagBsbBGZll5vGroq0OUCsGUyK7RmoI=; b=FTipVgOdABUFxrs8dmcKXhEsdMb8NdWSw762hu8sRsG+5qFUGzxXDrnnYsbROaQI5Y p6m9ZR1xmle1Pi6PS1+e9fGf+rAwHYVnqnbLrS2t9iFsEw9qrLSOTSdguXs3gq9z2Tqc cE3MAOFl9cBOmFRLAopXu4dAt2cUFZN1vSshftw3y+bsPs3Tk5YlZMC61mNfm/WSPEA7 9RV6EpSaPTmHI6LlCXuX5oELHCdJJNui4/j9CD3wtwl2/0yWMbFkQvzw4GtjJ6dqKopD BdWWZG450QKStC10hFapul93ru5z4h3iFng/bi2H5nsnU6G3gAn2VypLPh8Jdci2Um8t Nf9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mnmoran.org header.s=dkim header.b=cVqbPPrN; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z17si1962208ejc.499.2020.11.05.12.29.57; Thu, 05 Nov 2020 12:30:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mnmoran.org header.s=dkim header.b=cVqbPPrN; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728137AbgKEU3v (ORCPT + 99 others); Thu, 5 Nov 2020 15:29:51 -0500 Received: from hoster906.com ([192.252.156.27]:34578 "EHLO hoster906.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726214AbgKEU3v (ORCPT ); Thu, 5 Nov 2020 15:29:51 -0500 X-Greylist: delayed 399 seconds by postgrey-1.27 at vger.kernel.org; Thu, 05 Nov 2020 15:29:50 EST DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=mnmoran.org; h=to:from :subject:message-id:date:mime-version:content-type :content-transfer-encoding; s=dkim; bh=4s17xiYZrwRWevqiJPDEEr0pL wsfLsJ8XgukAltaHS8=; b=cVqbPPrNyotx1mSK019uyBNtXBvjmro2lka8bfma3 xbfRo84CZTQJnJpF9rS7nwgu1uMDaErKQpa2LM3DSb3JUSLSHDPmJzIUh278gG+y Irvj5ShXB0hQnlmK8/NGDDRcsRfDun+NRXuECiIDzcpixIXJIUGby+KRp0GxcCLv 50= Received: (qmail 9554 invoked by uid 503); 5 Nov 2020 20:23:10 -0000 Received: from unknown (HELO ?192.168.254.79?) (mike@mnmoran.org@40.134.89.129) by hoster906.com with ESMTPA; 5 Nov 2020 20:23:10 -0000 To: "linux-bluetooth@vger.kernel.org" From: "Michael N. Moran" Subject: bluetooth-meshd: Leave borks bluetooth-meshd Message-ID: <12e1bb50-64da-7e72-c13d-f7486fbd3283@mnmoran.org> Date: Thu, 5 Nov 2020 15:23:10 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Meshers, My provisioning/configuration application supports multiple networks. In general, everything works great [1] for adding, provisioning and configuring the networks. I recently added the org.bluez.mesh.Network1 Leave(token) to delete a network. The Leave() operation succeeds. However, when I subsequently try to use DevKeySend() on a different network, the DevKeySend() succeeds but I never receive any responses from the addressed node. If I restart my application, nothing changes. If I restart the bluetooth-meshd, then it all starts working again until I use Leave() again. The mesh-cfgclient does not seem to support Leave(), which is not too surprising since it only supports a single network. This leads me to believe that the Leave() function in the bluetoot-meshd is not very well tested. Please correct me if I'm wrong. I'm willing to poke around in the bluetooth-meshd code if I can get some pointers from the bluetooth-meshd experts. :-) Answers: * I am using the bluez git tip. Rebased today. [1] Occasionaly, bluetooth-meshd seems to get into a similar state "overnight". -- Michael N. Moran (h) 770 704 9751 218 Wilshire Terrace (c) 678 521 5460 White, GA, USA 30184 http://mnmoran.org