Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3266897pxb; Fri, 12 Feb 2021 13:47:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJzV6kH9vI62YfGJjwO4Wx7x2wfuIec3ng8mhIzc7tcKawnaWh8yNKKawlmXFLLoCv9U+AQR X-Received: by 2002:a17:907:2a85:: with SMTP id fl5mr4839600ejc.554.1613166467645; Fri, 12 Feb 2021 13:47:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613166467; cv=none; d=google.com; s=arc-20160816; b=C9gFap7GHEfG8+V6S6EQ24WYVJMTT1SdC5iT6bRZrlAVA2by6gT7DDc3SZ213LgidW lO9D2BW63wD70mLFUkuNdZ4JGcg1L5d+OZOlxrhAaRrXy9asX260x0POuEvZhxI+YYYr KKzTQTsEln3u2/qB+19WC1eb5zJNkwFyFMbOXOKfKHCW5DbJ2H71xWLDUIQO7RWuXVn2 7400V4WnvaHkDreI9X0YCpn9H8ncXQ/3N7N4miT614nUvBVjdQVuklS/Ebjn5VMETAkm xIMTtsUf4YvjEcHB++N/3FGOlAtEaOvBiAOlCMH4gSuDSfaVp+JvGk5hLkkuaDdHSGET jlxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :ironport-sdr:ironport-sdr; bh=A/XEgc2SvgTGvLHW2w+co6GXO+ewEohSMSjTSTpj0Sg=; b=IUNdYNRsjW/SNgQxoeBwgPL/FVbZcQhIJS6Aj6vCmwVe+8yCORbNpXpIYzcpj47wl+ g6qFg3oWk7MW7bOsLYkeSouBumbzlAOwxJ30M8ZTSjZ9LhHbDt/NEeNqqZaQ1NQVAVpq YnEd1SWS+X6wjDND3A2ov7rUS4GRqC+TE4XqTvuGupcPkUqathMmw7go+/kRCT/1wkSz 3jqZiVcjEkY3NxxuuLqe9TlZgIL5oWnSknmKziU5yb2wRkNVo2eXnorKNDQs9Chubbct mDUKZVrYHp7UvlISKGSxkPs3kYcI3dkLNp1D7eZ2e5a/253IqiepQaEiUy2OAO9R5Nx2 SDJw== 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 z18si7663382edl.298.2021.02.12.13.47.24; Fri, 12 Feb 2021 13:47:47 -0800 (PST) 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 S230047AbhBLVng (ORCPT + 99 others); Fri, 12 Feb 2021 16:43:36 -0500 Received: from mga06.intel.com ([134.134.136.31]:54931 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229497AbhBLVnf (ORCPT ); Fri, 12 Feb 2021 16:43:35 -0500 IronPort-SDR: JfASMa0vvyaaPNCNx+ReoluMG+qo8k2+rblkTxjV3YqeRyVu3FKqA3Cx6NOR0ffxXua+3BDqWJ buzPtJ0vfWHA== X-IronPort-AV: E=McAfee;i="6000,8403,9893"; a="243967597" X-IronPort-AV: E=Sophos;i="5.81,174,1610438400"; d="scan'208";a="243967597" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Feb 2021 13:42:54 -0800 IronPort-SDR: K859zjVwJfJRvFRxOFNhC+Wc+YooiTikUXEMog5BZN6FAdh4FfF2uTZXxV7JjfFdww43VupopC I2AgcdAwIdWQ== X-IronPort-AV: E=Sophos;i="5.81,174,1610438400"; d="scan'208";a="416116341" Received: from dmoore1-mobl2.amr.corp.intel.com (HELO istotlan-desk.intel.com) ([10.209.2.150]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Feb 2021 13:42:53 -0800 From: Inga Stotland To: linux-bluetooth@vger.kernel.org Cc: brian.gix@intel.com, michal.lowas-rzechonek@silvair.com, Inga Stotland Subject: [PATCH BlueZ v2 1/4] doc/mesh-api: Add notion of Device UUID compliance Date: Fri, 12 Feb 2021 13:42:41 -0800 Message-Id: <20210212214244.74995-2-inga.stotland@intel.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210212214244.74995-1-inga.stotland@intel.com> References: <20210212214244.74995-1-inga.stotland@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Add requirement that the value of Device UUID supplied in CreateNetwork/Join/Import methods should be compliant with RFC 4122. --- doc/mesh-api.txt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/doc/mesh-api.txt b/doc/mesh-api.txt index 254ccbd7f..f2c6b9e5c 100644 --- a/doc/mesh-api.txt +++ b/doc/mesh-api.txt @@ -27,7 +27,8 @@ Methods: The uuid parameter is a 16-byte array that contains Device UUID. This UUID must be unique (at least from the daemon perspective), therefore attempting to call this function using already - registered UUID results in an error. + registered UUID results in an error. The composition of the UUID + octets must be in compliance with RFC 4122. When provisioning finishes, the daemon will call either JoinComplete or JoinFailed method on object implementing @@ -149,7 +150,8 @@ Methods: The uuid parameter is a 16-byte array that contains Device UUID. This UUID must be unique (at least from the daemon perspective), therefore attempting to call this function using already - registered UUID results in an error. + registered UUID results in an error. The composition of the UUID + octets must be in compliance with RFC 4122. The other information the bluetooth-meshd daemon will preserve about the initial node, is to give it the initial primary @@ -179,7 +181,8 @@ Methods: The uuid parameter is a 16-byte array that contains Device UUID. This UUID must be unique (at least from the daemon perspective), therefore attempting to call this function using already - registered UUID results in an error. + registered UUID results in an error. The composition of the UUID + octets must be in compliance with RFC 4122. The dev_key parameter is the 16-byte value of the dev key of the imported mesh node. -- 2.26.2