Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp3975745ybv; Tue, 25 Feb 2020 10:44:49 -0800 (PST) X-Google-Smtp-Source: APXvYqx+GO7XbIziWOGyGTM41qVK7rnY+G1MbBow2ixAQ9aw86R3zOQJdeM/VSZmdHcz5xo+6Efs X-Received: by 2002:aca:c45:: with SMTP id i5mr220558oiy.111.1582656289443; Tue, 25 Feb 2020 10:44:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582656289; cv=none; d=google.com; s=arc-20160816; b=RdDuilgRp7od7hpM6EdIeKUBuM1yUQ5MV7Pb7+VKVcw0paQ0cGX22lkQo3O7pkUTBg oLgnbh5pgjYh3a9IJdT69AYbARm34JQwEesmCtVKAq6ZbB7XLmL8hHXbZ9IX7rWjbvuL T3lXn8DApsg1xLFHVXfO1Mem65TWv9ab+8QbjIisPdSoI0TEJ5lJIcAABlhcdZSBQ8PF N4Wl4VyQNYI1goadoXU1XkdJrJe8gMbwplSYwFYO3PTiKBNQwyeX1hVhRbF6TIf2+Rgy fMEYYxfm+cTBuEcq13A6oS/lg4qSvHpcJIKm1FS1fLJeXxBzZEk/yUBjgc97t1+MZT2G laSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=G20C+qw7+IL7eZudADisdW4vwQIN6pcBqUbTtTnWsys=; b=wCWS7JtTDqEhMX/e+Z1AQIdUsqJOSGbJi2KU//PtS6QpgK+am7Ouowbqbs8Vp8S5I+ Vuh+hcegF4ADW1PrgJ1RWrB6JZ2sGI+HtDZoLmqlFNztQL4A/bCdztDcAk4bigDgkmsH 7S9xJJdtI7738qdwB6qqiKSb4TER1a9tTjIEX1dGLOBnHr7Rqpccf3pb30BL5f6mvPv3 vWl7NKlRalT/ao31wqvAgLRbXaiYJKLJFXMS6ysyNJ4GF7DnZciOGLbOGL7D/2hG/yYb P5F9CcV5xhJ57w5T2MzBjyCF6Rz/WUntk1c8ST8Fr4GOO2RTdh2BPBbLDc1T7W1m3bZ3 aPJA== ARC-Authentication-Results: i=1; mx.google.com; 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 i8si28322otp.254.2020.02.25.10.44.22; Tue, 25 Feb 2020 10:44:49 -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; 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 S1731502AbgBYSoV (ORCPT + 99 others); Tue, 25 Feb 2020 13:44:21 -0500 Received: from mga09.intel.com ([134.134.136.24]:29706 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727983AbgBYSoV (ORCPT ); Tue, 25 Feb 2020 13:44:21 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Feb 2020 10:44:20 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,485,1574150400"; d="scan'208";a="231546538" Received: from ingas-nuc1.sea.intel.com ([10.254.39.252]) by fmsmga008.fm.intel.com with ESMTP; 25 Feb 2020 10:44:19 -0800 From: Inga Stotland To: linux-bluetooth@vger.kernel.org Cc: brian.gix@intel.com, Inga Stotland Subject: [PATCH BlueZ v3 0/6] Support for virtual labels Date: Tue, 25 Feb 2020 10:44:12 -0800 Message-Id: <20200225184418.12660-1-inga.stotland@intel.com> X-Mailer: git-send-email 2.21.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org v3: Fixed subscription list generation to include virtual subscription addresses ***************************** v2: Fixed a backwards compatibility issue reported by Brian; Fixed Python test to correctly display updated configuration ***************************** This patch set adds a capability to mesh-cfgclient to generate and store virtual labels and use them in configuring remote node's publications and subscriptions. Regular group addresses are preeserved as well. This is done dynamically: as a new group address is detected in either subscription or publication configuration commands. This new capability of mesh-cfgclient allowed for improved testing of virtual pub/sub implementation in bluetooth-meshd daemon. As a result, some deficiencies and legacy entaglements were exposed, and consequently resolved and cleaned up. Inga Stotland (6): tools/mesh-cfgclient: Add support for virtual labels tools/mesh-cfgclient: Clean up subscription list output tools/mesh-cfgclient: Save and restore group addresses mesh: Simplify model virtual pub/sub logic mesh: Clean up handling config model publication message test/test-mesh: Fix output og UpdateModelConfig method Makefile.tools | 3 +- mesh/cfgmod-server.c | 131 +++++++-------------- mesh/model.c | 271 ++++++++++++++++++------------------------- mesh/model.h | 9 +- test/test-mesh | 11 +- tools/mesh/cfgcli.c | 242 ++++++++++++++++++++++++++++++++------ tools/mesh/cfgcli.h | 5 + tools/mesh/mesh-db.c | 128 ++++++++++++++++++++ tools/mesh/mesh-db.h | 4 + 9 files changed, 514 insertions(+), 290 deletions(-) -- 2.21.1