Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1341617ybv; Thu, 20 Feb 2020 18:18:50 -0800 (PST) X-Google-Smtp-Source: APXvYqyBBrOyIIw+DTbF5mkqpRwBsSAyIMeTAvrr2YsYOExozBYKKb6KOe2bKyb8iNV+oXukvGxc X-Received: by 2002:a9d:7c81:: with SMTP id q1mr7935522otn.112.1582251529892; Thu, 20 Feb 2020 18:18:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582251529; cv=none; d=google.com; s=arc-20160816; b=AQtJUOjuNiBpW7cq/ksAWCR4fbdXpzCn8PrCTWCmAs9t6qNeDgas7jFGKb19eZU9fq 1kJk/inxXfW0AvpgHhk3LRabQ2ij5jXn9PbBu9F52wTdguwKH5BRdWgn8vwdjlOwXk44 yDcNzlILME07fc5mfHpg/PdgOPZGVsmlnPJzj67ZrpTFzVpJZ/TL2gvJVvc7mTIs/CPq ox9tIl3cM56+0k4+P/5Qg0QLXe1bV5iW5McmdDYiPeS9KO/AtYRnY38UB2vV0zzfFn1M fw2BRE5nTgKOaP0dbsJy5SRfHehjBz11Ia0aGpqie46cihiVgN/X5/yTbpc7S3ZEGmq5 X4Rw== 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=kFYYDXy44WZ4jd9B78U7pqpy7Pj+y1vFq3cusTl2u/0=; b=Jz7XL4fauTXoeXWjO9MyKhJfZj5/Xo+qDmHC0SrregkOopDwefcL0G32czm/lC+kQ6 nCez1fdT/T89h0drltp4Xj4GdftaS40jKd/Gf5KPp2A/jo+lTvLQZH35jhL7zleSVwfK hK+ymvE4hE9IGF+gIip+++oSVAUri0buntTJWZMOPU0HNcUbT8NXjZ+K0duyU5A9JqWs l/nL3qAip75WDPH7Tn6o3qs7B6NhBVmAxPKFu/SZ1puKVVRjd1YKkuB9/cIh+XqBrzzq m8/fSStEn0AvNqIq9oQWthatpvPfuV7GyXjGxnNXRJKHE6CH/iV6LQKD8tBpHP0AYGWA NUMQ== 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 w12si702086otk.77.2020.02.20.18.18.19; Thu, 20 Feb 2020 18:18: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 S1729222AbgBUCSM (ORCPT + 99 others); Thu, 20 Feb 2020 21:18:12 -0500 Received: from mga04.intel.com ([192.55.52.120]:20563 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728992AbgBUCSM (ORCPT ); Thu, 20 Feb 2020 21:18:12 -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 fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Feb 2020 18:18:12 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,466,1574150400"; d="scan'208";a="230313302" Received: from ingas-nuc1.sea.intel.com ([10.254.187.96]) by fmsmga008.fm.intel.com with ESMTP; 20 Feb 2020 18:18:12 -0800 From: Inga Stotland To: linux-bluetooth@vger.kernel.org Cc: brian.gix@intel.com, Inga Stotland Subject: [PATCH BlueZ 0/4] mesh: Support for virtual labels Date: Thu, 20 Feb 2020 18:18:07 -0800 Message-Id: <20200221021811.30408-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 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 (4): tools/mesh-cfgclient: Add support for virtual labels tools/mesh-cfgclient: Save and restore group addresses mesh: Simplify model virtual pub/sub logic mesh: Clean up handling config model publication message Makefile.tools | 3 +- mesh/cfgmod-server.c | 131 ++++++++-------------- mesh/model.c | 258 +++++++++++++++++-------------------------- mesh/model.h | 9 +- tools/mesh/cfgcli.c | 206 +++++++++++++++++++++++++++++++--- tools/mesh/cfgcli.h | 6 + tools/mesh/mesh-db.c | 123 +++++++++++++++++++++ tools/mesh/mesh-db.h | 3 + 8 files changed, 471 insertions(+), 268 deletions(-) -- 2.21.1