Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp140857ybi; Thu, 11 Jul 2019 16:24:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqy4FnZc0uChlLEw+R01Kk1t1J7wvzJeT+EO+MpHMi+Bt6Gp1pAeqE8Fh7m1o/HLAONjgIgN X-Received: by 2002:a17:902:8b88:: with SMTP id ay8mr7269755plb.139.1562887461143; Thu, 11 Jul 2019 16:24:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562887461; cv=none; d=google.com; s=arc-20160816; b=ol21wP5LQr/ycJ2PTMdjGqbpt94RC2oCVXc7DgJpRPBYIXEEChxmsdlSe//y+EbbIS /WC5W/AdCkTNQ8h0PK6a+D27kRtPr9z1filyZTmUlBL8O56d4M2nBn5Dzhq8OWBA+/zn 234GkBjdshoL6xEWtXVfS3ILndPfDVOO8htkjd+nTVDgUYoO+mSEFpcdkVzha9Xhcs7j 1DotsDdvDUdVZzGPF7XO6uS04a5+YT/wGyOVC5W+AQKH4ndq+zzvvZHvdfRkHEGVAMt2 Kn8MRVgQlU6lUwlaIr/J/dY4DaCDXtze45nQk9giZFrIR551t8EeXGE500IMbXfG6O2H ad1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=9BtqcI8530MGqeiszBMikO2zDEiY5v1bhztpAfO5Xvk=; b=tL+yQGSMlz8qr6GeyQ7lOu1EZPZu5geIoVGFhaXYUtrGdtLokY9gbNleZdARnTO2kL bfMCe6gEtQIXjnWzlTn3Lex4oOisFdLZk+DPapTHeHTLZBGaHFyrPIFt5kecSYD1N2oR 5vN1sqenOdwRLxobfLZdwsMrg9ia3jTyRLVZaErHHvJz2wMzdRPdN6J0WJPsr2onJI5C nDY2QLEu50JNzdbOuKSkz8OgssbRnxex5bsxR4CwVwfkbIZK2wN3wApVj4+IIZu+aHKg yjvuEQ25BY1BHrFyta2lsv69LoM/TEqyVnFqzs+cerPsxq/8UAOR0SXz3o0jRPIu7Gm+ wN1w== 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 u185si6303771pgd.561.2019.07.11.16.24.06; Thu, 11 Jul 2019 16:24:21 -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 S1730209AbfGKXAL (ORCPT + 99 others); Thu, 11 Jul 2019 19:00:11 -0400 Received: from mga07.intel.com ([134.134.136.100]:62608 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729089AbfGKXAL (ORCPT ); Thu, 11 Jul 2019 19:00:11 -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 orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Jul 2019 16:00:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,480,1557212400"; d="scan'208";a="166516104" Received: from bgix-dell-lap.sea.intel.com ([10.255.80.129]) by fmsmga008.fm.intel.com with ESMTP; 11 Jul 2019 16:00:09 -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 1/9] doc: Cleanup API Provisioner1 interface Date: Thu, 11 Jul 2019 15:59:44 -0700 Message-Id: <20190711225952.1599-2-brian.gix@intel.com> X-Mailer: git-send-email 2.14.5 In-Reply-To: <20190711225952.1599-1-brian.gix@intel.com> References: <20190711225952.1599-1-brian.gix@intel.com> Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Modified the RequestProvData In and Out param list to eliminate parameters which can be provided by the Node which owns the procedure, and clean-up the actual error list. --- doc/mesh-api.txt | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/doc/mesh-api.txt b/doc/mesh-api.txt index 893a1a6c0..0ac2fdfd1 100644 --- a/doc/mesh-api.txt +++ b/doc/mesh-api.txt @@ -365,7 +365,9 @@ Methods: ScanResult() method on the app will be called with the result. PossibleErrors: + org.bluez.mesh.Error.InvalidArguments org.bluez.mesh.Error.NotAuthorized + org.bluez.mesh.Error.Busy void UnprovisionedScanCancel(void) @@ -374,6 +376,7 @@ Methods: (scanning) for unprovisioned devices in the area. PossibleErrors: + org.bluez.mesh.Error.InvalidArguments org.bluez.mesh.Error.NotAuthorized void AddNode(array{byte}[16] uuid) @@ -860,7 +863,7 @@ Service unique name Interface org.bluez.mesh.Provisioner1 Object path freely definable - ScanResult(int8 rssi, array{byte} data) + void ScanResult(int16 rssi, array{byte} data) The method is called from the bluetooth-meshd daemon when a unique UUID has been seen during UnprovisionedScan() for @@ -881,17 +884,17 @@ Object path freely definable was recieved at a higher rssi power level. - uint16 net_index, uint8 flags, uint32 iv_index, uint16 unicast - RequestProvData() + uint16 net_index, uint16 unicast RequestProvData(uint8 count) This method is implemented by a Provisioner capable application and is called when the remote device has been fully authenticated and confirmed. + The count parameter is the number of consecutive unicast + addresses the remote device is requesting. + Return Parameters are from the Mesh Profile Spec: net_index - Subnet index of the net_key - flags - Flags for IV_Update and Key Refresh - iv_index - Current IvIndex being used on the network unicast - Primary Unicast address of the new node PossibleErrors: -- 2.14.5