Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp139408ybi; Thu, 11 Jul 2019 16:22:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqybRPQbuCAHQHCjcbVmqAFwhsYjfl3k55yMLmnxdz2hZRr0j46orax6HDdMjJKn5VrrLuxT X-Received: by 2002:a63:360d:: with SMTP id d13mr7130380pga.80.1562887339423; Thu, 11 Jul 2019 16:22:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562887339; cv=none; d=google.com; s=arc-20160816; b=ktf29WwRq6iMrHAJuNT+wRVb5Oo2elhshphYASHPZ+RYZRo0HX2Pq5LuzC5ehrv+29 0BZV4JQVAvBVMGFze/hBuDT2KNYRAF/xnNl3Y/69CD82MqdScmp9o6NUObd+l/uobwta WAj105KGLUNSkHewpW2r/1a/3jm4irMy7NKSQ1GReqRJ1+JoWizsSZMkdUqRyxXU514A RA+UL+YSu0cr0yBVar+2OzeS4krZg3LS35Ao4Il4MQYsHudKyKETuzBWCDHU85TMw8g1 Wcc7pBBby8DwPavs0xrxP8uNWmmBlY0ZOT8ZXCoSrDr0AimpWF2iHEuRV3xFVKZCzVpW R69g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=lPW6EN1aP8s7UYuWFoFUm1U2HOIYbxjTVFnS5sGjcrg=; b=MOmvm9ESlHAOMjRYlMn1B888s2MkH/b/+4f0ksuYnbtPfoUuLJi2v6BxV4xva7qvxd YVhr0mM4u3K6jzKewwLbX1urZcXMo9tc2RMyumk6g4bRtytQ5HFmumdhNbMt+9vTXgdX ZCQK9CKueUTtrcwwA9KJl2fQBpIcpLRCtvG45wUKrs5EB2XePs6tyOb8okk0PxbDrPcY Oa5G4Ezr1y8YDmbfZ6FkTfai7mbKuCQvsCeY+c4WiXdWHblWkV8Lk87+53EEmx2WYyM3 CTB3Tb/a6icudmt+8DdtZ4OIp8dL9RJPOCCQNmfS9oqG15p+7gcPlGZ6Ejaozez64gsC Iu7A== 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 p23si6437417pgm.173.2019.07.11.16.21.44; Thu, 11 Jul 2019 16:22:19 -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; 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 S1730203AbfGKXAB (ORCPT + 99 others); Thu, 11 Jul 2019 19:00:01 -0400 Received: from mga09.intel.com ([134.134.136.24]:23001 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729089AbfGKXAB (ORCPT ); Thu, 11 Jul 2019 19:00:01 -0400 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; 11 Jul 2019 16:00:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,480,1557212400"; d="scan'208";a="166515964" Received: from bgix-dell-lap.sea.intel.com ([10.255.80.129]) by fmsmga008.fm.intel.com with ESMTP; 11 Jul 2019 16:00:00 -0700 From: Brian Gix To: linux-bluetooth@vger.kernel.org Cc: inga.stotland@intel.com, michal.lowas-rzechonek@silvair.com, brian.gix@intel.com Subject: [PATCH BlueZ v2 0/9] mesh: Provisioner Initiator added Date: Thu, 11 Jul 2019 15:59:43 -0700 Message-Id: <20190711225952.1599-1-brian.gix@intel.com> X-Mailer: git-send-email 2.14.5 Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org v2 additions: * Style guide changes noted by Michal * Additional patch to use packed structures for Mesh Spec specifid OTA messages The added functionality of this patch set allows any node with a keyring provision a new node into the network. It does *not* implement a user App that can store a Configuration Database, but it does provide extensions to the python test script to test the primitives. Brian Gix (9): doc: Cleanup API Provisioner1 interface mesh: Fix support for Provisioner Initiator mesh: Add special Beacon handler for Provisioning mesh: Expose mapping function for D-Bus errors mesh: Expose resources needed by Management1 interface mesh: Fix implementation of Provisioner Initiator mesh: Implement DBus Provisioning methods mesh: Convert provisioning pkts to packed structs test: This extends the mesh tool to exercise Provisioning methods doc/mesh-api.txt | 13 ++- mesh/crypto.c | 8 +- mesh/crypto.h | 8 +- mesh/manager.c | 304 +++++++++++++++++++++++++++++++++++++++++++++++-- mesh/mesh-io-generic.c | 2 +- mesh/mesh-io.c | 6 +- mesh/mesh-io.h | 7 +- mesh/mesh.c | 10 +- mesh/mesh.h | 4 +- mesh/node.c | 42 +++++-- mesh/node.h | 3 + mesh/pb-adv.c | 177 +++++++++++++++++----------- mesh/pb-adv.h | 3 +- mesh/prov-acceptor.c | 158 +++++++++++++------------ mesh/prov-initiator.c | 283 +++++++++++++++++++++++++++++++++------------ mesh/prov.h | 51 ++++++++- mesh/provision.h | 10 +- test/test-mesh | 113 ++++++++++++++++++ 18 files changed, 946 insertions(+), 256 deletions(-) -- 2.14.5