Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1898418pxa; Sun, 23 Aug 2020 21:47:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwD4Bari48jz4wdj3eSwzLpjxEQOibxygUj4m1Sj6mYXgIqHgk9jGmP3wIzEMU0N1aDURoa X-Received: by 2002:aa7:db89:: with SMTP id u9mr2908602edt.267.1598244437304; Sun, 23 Aug 2020 21:47:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598244437; cv=none; d=google.com; s=arc-20160816; b=GpKc/T9cv468QkrLY6i68oSBPqwoXkjHEMgX53JYV758+PYSQSOHI+WFexydF1vq9M 5A+22cdv4D0toRlRijDv5dvfIRsQ8OIIEXiXndUAyAbbT1jOECXjkn5CApEYDBt2FAJy UQLscUeO2nZDmsJt+gkqWUJTpBfpb7gTPy1CP9FhxTa8sPoe8E78hASuLEcAEc/Vk7Ej Y3iAKJILHe1l/FCM5eOv4xiVm9t+4/T4dgUjTp0rZ67IBAC7qAEAT4BWMf4vVOkD6qZN +LXRPzZgn9hCjunywqCZCYPAk166qEjFVpGJH/tE3pCTItvSjdVgaKpJ7NFmgiFbgwIj N2KA== 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=/Fg5iDEZJ2P9oNMv4+QlawM130QC+Myzf7Hc2tQg7Oc=; b=RdUXL7JbTeCy9X79nZhXqPW58qsMW9e3dB0pAk8Ikvso6RkOGtrqpBmiNkrGblOccS HDgmIl9Uf1a/uTuOlslFkhD3hxW2h0NxPCvaHFdLGzMeM4oXiANjxx7ZYsgQhI/wZu5V HOTH0juZpOZV0itzutqLXNIR23tby2Ej1YO4OxbjjFc5aWWCC+PFNbErnuulDLS93xF2 IMHWa4Eg4vZkLpavHGvDyS7n0hQJB86257WlbZrDAQ0h4exInjIDeUuGK+Q3Uj0cgv5z 1g97jUlm8bRzcLgxobaoNG/8kEBg067KF13ryMjp0niiZMUaKkJFE5Fosu97+gseLixv UpnA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id cz18si1908799edb.10.2020.08.23.21.46.27; Sun, 23 Aug 2020 21:47:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 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 S1728055AbgHXDyT (ORCPT + 99 others); Sun, 23 Aug 2020 23:54:19 -0400 Received: from mga07.intel.com ([134.134.136.100]:64620 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727986AbgHXDyS (ORCPT ); Sun, 23 Aug 2020 23:54:18 -0400 IronPort-SDR: hIPanseINlgVPxm8fwq3LbPy7vyD+3Tmog33PEJXHEvLt4txy0dSzO12sQz+w8gET9Se+Yp6/j 4r9HJuhAKioA== X-IronPort-AV: E=McAfee;i="6000,8403,9722"; a="220106398" X-IronPort-AV: E=Sophos;i="5.76,347,1592895600"; d="scan'208";a="220106398" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Aug 2020 20:54:16 -0700 IronPort-SDR: Sww/gu6kXdHsYlo903CDDiFJTzU/Q7q5XjcOyTHCTiHlhsWAwGR2VgXckpZrz8VfpDwSymH76k widMGTf4cMzA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,347,1592895600"; d="scan'208";a="322017085" Received: from jlpajela-mobl.amr.corp.intel.com (HELO ingas-nuc1.intel.com) ([10.252.134.16]) by fmsmga004.fm.intel.com with ESMTP; 23 Aug 2020 20:54:16 -0700 From: Inga Stotland To: linux-bluetooth@vger.kernel.org Cc: brian.gix@intel.com, Inga Stotland Subject: [PATCH BlueZ 0/4] Mesh send/publish API change Date: Sun, 23 Aug 2020 20:54:11 -0700 Message-Id: <20200824035415.13420-1-inga.stotland@intel.com> X-Mailer: git-send-email 2.26.2 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 modifies Send, DevKeySend, Publish & VendorPublish methods on bleuz.mesh.Node interface to include additional argument "options". This new argument is a dictionary that currently has only one new key word defined: "ForceSegmented" - to force small payloads to be sent as one-segment messages Other key words may be defined in future to accommodate evolving requirements of Mesh Profile specification. Inga Stotland (4): doc/mesh-api: Add "options" dictionary to Send/Publish mesh: Handle "options" dictionary in Send/Publish methods tools/mesh-cfglient: Add "options" to Send/DevKeySend test/test-mesh: Add "options" to Send/Publish doc/mesh-api.txt | 47 ++++++++++++++++++-- mesh/cfgmod-server.c | 2 +- mesh/model.c | 6 +-- mesh/model.h | 9 ++-- mesh/node.c | 99 +++++++++++++++++++++++++++++------------- test/test-mesh | 10 ++++- tools/mesh-cfgclient.c | 8 ++++ 7 files changed, 136 insertions(+), 45 deletions(-) -- 2.26.2