Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2510017pxb; Thu, 11 Feb 2021 14:26:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJwn8W78gdcmpsjbkeorrGO8TPakqytdnknHbmLZC++wYqzeuMF8XoKtih+v6v+7u7d5vNJ4 X-Received: by 2002:a17:906:2b16:: with SMTP id a22mr10571927ejg.291.1613082391032; Thu, 11 Feb 2021 14:26:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613082391; cv=none; d=google.com; s=arc-20160816; b=RbRyjtsQCLq92/Tyk7AkEBrG853NM/J0auhpZKTVaj2T0hoS+7bgAJIIuAjEojm5lU OlBJXaF/1XAh3Z3tDWfP6GcknAkob9k4U0PF6kh3/GtAjSReni7pLRwT0Dc+DgNuKVld YUK5CEE+so3amYjykP5BrHh0FMh2t9W5pbJYXo2iK2sW+UrF7pZYjYAID5wNxZ3JCLv6 C+g4zz/fONy1DELBgsaZM/E8tRUIdJGvvF529BqjaneMfj5wxG2lhIPwN5VQ7fbI/ZpB Tg/Xa5PM0mRU9tTVxGqrI0vJ/XGarBIbEbUUN5qOeJoqWIaNYA9SvqvvyeiUegl0yroB jkMg== 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=uI8d62FfBdvmmbA0kle+9P0VgD7wQPfX7Q+w68pKXlhEArQEMEGyAUgmknDd6bIXhF Nh4nn7IviVlIkdPtAmp0BCyER39zrI5EaUqqj3wKJVdHoc1vqOAaiUobEXdS4xZiI76i j0t8yd0VaGWxWGYXSRDocl7dpboZdlJgpGKAIaU141j3lEQhvoQC6LPKABVWNo9ULOTo IYiVE8UsfxnT9UvkMY1YlmqxOG0cAKeBSUawysi0FTFdTuAcbzmloP/7KvEyXPuhqzz8 01hJF/jwEfv0+nXeCG8F1hxZruUcXVih2OVmApn+VhoJ07jdxq7c7PLRmJbUEiLt06Wu MJJg== 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 dp16si5310327ejc.564.2021.02.11.14.25.48; Thu, 11 Feb 2021 14:26:31 -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 S230097AbhBKWXK (ORCPT + 99 others); Thu, 11 Feb 2021 17:23:10 -0500 Received: from mga07.intel.com ([134.134.136.100]:1738 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230101AbhBKWWj (ORCPT ); Thu, 11 Feb 2021 17:22:39 -0500 IronPort-SDR: FVXTJAZTXc8/kEdLbLwYQw3cRMER5IT2aWWQFD5zLTys6qHik8l217c3K9BGuoIM2ISXdxiPrN xDspJbX42Sjg== X-IronPort-AV: E=McAfee;i="6000,8403,9892"; a="246392968" X-IronPort-AV: E=Sophos;i="5.81,171,1610438400"; d="scan'208";a="246392968" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Feb 2021 14:21:56 -0800 IronPort-SDR: 4MFSBrUMTXIlw2vdkllRPxegfMZDJzgmuhSaQUh9XpMpBhQm8JZnkQVpaBQ9BD6bxgaPRCWTBa gLNQa0E4OFuw== X-IronPort-AV: E=Sophos;i="5.81,171,1610438400"; d="scan'208";a="381070043" Received: from binman-mobl4.amr.corp.intel.com (HELO istotlan-desk.intel.com) ([10.251.152.23]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Feb 2021 14:21:55 -0800 From: Inga Stotland To: linux-bluetooth@vger.kernel.org Cc: brian.gix@intel.com, Inga Stotland Subject: [PATCH BlueZ 1/4] doc/mesh-api: Add notion of Device UUID compliance Date: Thu, 11 Feb 2021 14:21:40 -0800 Message-Id: <20210211222143.39986-2-inga.stotland@intel.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210211222143.39986-1-inga.stotland@intel.com> References: <20210211222143.39986-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