Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2770058ybb; Fri, 27 Mar 2020 11:43:17 -0700 (PDT) X-Google-Smtp-Source: ADFU+vv/5In5TfuWn95HQvU3ngMhU4RgulF31JdNinCpzuOzTbWycmiTkhuFKhHydgTVTnp58Phb X-Received: by 2002:aca:efd4:: with SMTP id n203mr166042oih.159.1585334597537; Fri, 27 Mar 2020 11:43:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585334597; cv=none; d=google.com; s=arc-20160816; b=bZVEr+hXy7kNjqdvvZ9WY7xRlwF11oRqW8IR3pSQR/kJ63tDr4ql0GnB3AYt9iLKVA 2jb2qJxepfw85HDbU1PgiWRmTeFhMJud7h8FY+Pv90ERja3OWO6pMhloyNRsWGtRfJdH AJqL9HOPMOhslkuMgBgS7wI4NReQkT8tjxdXRWqCNvCVKVwFVBc2ACHtsy8EK9lJimhy 3tAOpqw6mgoGzgg3cH6FkmYb7sBc6PrpNDVFz30GMGoCdJ5KT5//bwiTkHbIC1NGNjkX L4XELA+YMyn976AjstMpWFy02+8KBSmgpNV97tNnIg3bQhIkCuFg44FPBxhaItHzoSnM 9HkA== 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:ironport-sdr:ironport-sdr; bh=G5ky/J/TVbhFyTGzNo5WSODeaAFGZlcKISUCzqkXcXc=; b=Uhbk2w977faqFtR+5SLHQ3nRVzijegbSv4eUEC6G1seKB+oyyB+OgTATn5Fn0KdN4k bEYBOzDy/aLFV8htzbxEerMaKeX8L7Z9TW1EMJFwhfJVMNtZcxV4XWZWpq4R/id04h1j 3gxKoU1g7gaCXd7ZXsY0oJanDYg21vyD3Yb/pHWYnwD5db6ICpUHDPBgnJBWQJyhdm5j BdAmAMyTuALTLXRx1WEGgJkm27XfkI7EpzPxsRU7wMYMjHY8+/rKzxLPQei9NH2gEKS3 XV+yudfNFB24iNYcrV6xG5ZJJTYtCILGMjJLsfjPzB4MLlCdztNlSvxJkD3SACKtyH0C L/DA== 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 r205si2523826oig.174.2020.03.27.11.43.02; Fri, 27 Mar 2020 11:43:17 -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 S1726900AbgC0Sm7 (ORCPT + 99 others); Fri, 27 Mar 2020 14:42:59 -0400 Received: from mga14.intel.com ([192.55.52.115]:39636 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726758AbgC0Sm7 (ORCPT ); Fri, 27 Mar 2020 14:42:59 -0400 IronPort-SDR: 0mIlqQORQ19Qc+nouIvzidL8PatNrSFxVHZRrmg/rmKezO1vavmVUUWLlAlEJeqF/Hl7fgIcnu V8C1lol2M9Gg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Mar 2020 11:42:58 -0700 IronPort-SDR: OBxumLzdtteZ4HnnTy/G4LLXOlt9Q7E0gwrPVpt9qLci2N1HhmP1aJNX98j3WPLh67CDL7qLRU ikxkEPiA4ohw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,313,1580803200"; d="scan'208";a="421193638" Received: from ingas-nuc1.sea.intel.com ([10.251.8.23]) by orsmga005.jf.intel.com with ESMTP; 27 Mar 2020 11:42:58 -0700 From: Inga Stotland To: linux-bluetooth@vger.kernel.org Cc: brian.gix@intel.com, Inga Stotland Subject: [PATCH BlueZ 0/4] API changes for forward compatibility Date: Fri, 27 Mar 2020 11:42:53 -0700 Message-Id: <20200327184257.15042-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 The changes are contained to Management and Provisioner APIs. The following methods are modified to allow for future development: Interface org.bluez.mesh.Management1: Old: void UnprovisionedScan(uint16 seconds) New: void UnprovisionedScan(dict options) The options parameter is a dictionary with the following keys defined: uint16 Seconds Specifies number of seconds for scanning to be active. If set to 0 or if this key is not present, then the scanning will continue until UnprovisionedScanCancel() or AddNode() methods are called. other keys TBD Old: void AddNode(array{byte}[16] uuid) New: void AddNode(array{byte}[16] uuid, dict options) The options parameter is currently an empty dictionary Interface org.bluez.mesh.Provisioner1 Old: void ScanResult(int16 rssi, array{byte} data) New: void ScanResult(int16 rssi, array{byte} data, dict options) The options parameter is currently an empty dictionary Inga Stotland (4): doc/mesh-api: Forward compatibility modifications mesh: Update UnprovisionedScan, AddNode & ScanResult test/test-mesh: Update to match modified APIs tools/mesh-cfgclient: Update to match modified APIs doc/mesh-api.txt | 28 +++++++++++++++++++++------- mesh/manager.c | 39 ++++++++++++++++++++++++++++++--------- test/test-mesh | 39 +++++++++++++++++++++++++-------------- tools/mesh-cfgclient.c | 36 ++++++++++++++++++++++++++++++------ 4 files changed, 106 insertions(+), 36 deletions(-) -- 2.21.1