Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp9740763ybi; Wed, 10 Jul 2019 16:08:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqxktm4mEhpLP5hjuoggrbnAub/NMlWUizrYSkYjZnF/RevzIABmon6JmfXBwOWwH55wJ92U X-Received: by 2002:a63:5964:: with SMTP id j36mr806768pgm.428.1562800129412; Wed, 10 Jul 2019 16:08:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562800129; cv=none; d=google.com; s=arc-20160816; b=R0xNi8JIQYaCPOyWMcMHq5woXHtV3rVkXgxA+SDKEZ3ioAv1hm1OIXyV4w+8lbNNRx 7rzsb32jskhVorpcOtuUl2nHXowNDe8EDpIsKgp3IHiygJ6v2P7K8jHHIbr+LwMN/1Fg poODV+1bquXnBYQHGWnh9zxnJiCTLgheIApDjcWiRwOQzop5lbiE4JXXvs1mUPV9TVg9 WRVlqiy2Chd40qgDBSD8yhJvJVMcTJMp6RXAzOM4hnCIoAPtwMXN4RabdwMjtpoDv1se n9UqJ/XwYPDg9h85ymtvAEjYVXf1cVC3YiMYpUOsHVaRHzhinzjj58WI714E36KIdbVp LKHQ== 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=ATylUMzY0SXhEZ2V04AT8VPmZq6MtrVaiFjyQLUn1Sc=; b=WMdyUS+SX+y3qcfRx9HL9XNlZjgjJXHQHRCAXErlQltOq/KH+Eg2iEcRTX8SRHdpt+ 7b+dzv2uf81FPn2JZ6+A9pnwz63GSepJttdzElBEdbU9tF9U77F66I9oX5ucihcTLfdy LN47N28pWedQQZcu7VyzgEgBK1g+ZqKVUwQ1dexL7I5qHzk3xbuGChaJr3h3BSIjaoh1 Sxl6CFV+0Bzpo4WSAycZ6YICrYbMX68tbqOZVT2m6CZ1bKQKLhdPfb6dVpw5bB1J8pdV LA3PWhulXbJ6fbdiY8R/UA9Bbz9GH4FwEMlBLSycu32tJGXM0fehWBkdrGNl98pLeRwt wuXA== 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 f34si3143325ple.327.2019.07.10.16.08.16; Wed, 10 Jul 2019 16:08:49 -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 S1727063AbfGJXIK (ORCPT + 99 others); Wed, 10 Jul 2019 19:08:10 -0400 Received: from mga02.intel.com ([134.134.136.20]:65421 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726708AbfGJXIK (ORCPT ); Wed, 10 Jul 2019 19:08:10 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Jul 2019 16:08:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,476,1557212400"; d="scan'208";a="186250368" Received: from bgix-dell-lap.sea.intel.com ([10.255.80.129]) by fmsmga001.fm.intel.com with ESMTP; 10 Jul 2019 16:08:08 -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 0/8] mesh: Provisioner Initiator added Date: Wed, 10 Jul 2019 16:07:49 -0700 Message-Id: <20190710230757.8425-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 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 (8): 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 test: This extends the mesh tool to exercise Provisioning methods doc/mesh-api.txt | 13 ++- mesh/manager.c | 304 +++++++++++++++++++++++++++++++++++++++++++++++-- mesh/mesh-io-generic.c | 2 +- mesh/mesh-io.c | 6 +- mesh/mesh-io.h | 7 +- mesh/mesh.c | 8 +- mesh/mesh.h | 1 + mesh/node.c | 42 +++++-- mesh/node.h | 3 + mesh/pb-adv.c | 54 ++++++--- mesh/pb-adv.h | 3 +- mesh/prov-acceptor.c | 2 +- mesh/prov-initiator.c | 253 ++++++++++++++++++++++++++++++---------- mesh/provision.h | 10 +- test/test-mesh | 115 ++++++++++++++++++- 15 files changed, 710 insertions(+), 113 deletions(-) -- 2.14.5