Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3265909pxb; Fri, 12 Feb 2021 13:45:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJwXyQSP+DgNhkHl/id69AGEvcKNs4ItvqZbam2xOhwGVIROtfBspwoU3AK6AtePsUjZpfWP X-Received: by 2002:a17:906:b28f:: with SMTP id q15mr4878378ejz.77.1613166336710; Fri, 12 Feb 2021 13:45:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613166336; cv=none; d=google.com; s=arc-20160816; b=ThCiMzfYjCsIpSpB9lgLxNI77xl7n8URYA1WaIXDiQVlY4aUVYfYcKnSHhrvcY2HOn Ocvi1b9Ik6InE3kElEgW/Rd7FUtxT4xgr8l4EIudv/dfXL+oB6Bu154jpcgVhVtpITZQ GTayxPTD4TSrBTetAF0tOuOxzcnkKuLDkxcBgfqNscqd0fLCELi3jQA2GBSeEPnfODCx adfqvUMji+7/yYNaa8SWat9tsJB/DrUmjwA+7ClR+FBozR4gr/+4yIRkzDeQCpNMZoO1 b9Xlco2tFgAtp6MTqCg0B/r0uC68U1nkZmnJTttaGeo/pQAD7v+7g0JEXc0c054zIjaz vbAA== 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 :message-id:date:subject:cc:to:from:ironport-sdr:ironport-sdr; bh=X1DZFBhAO6sThJtCBRBBVF3M75OBmdNicURQnsZOMZY=; b=PqxlQbWvxeAMwpbIxiq9DZCIGBem7hGPqXjHUOnWKvIojO6Du1hRFzvz1TgIEMN8w/ gZ+iSiwVsAZijxuzd9601jc/wt0VFoTox9Moz7kC1U5h96PBEZSSv8B2WENHbvUoRp4h NM4TE50Rt7Lmn5bxlZaic6ZSYzBevQzhO4PbkkhXfIhgV8Lrd9j9jV1an5iUlyn5aiH9 +KRWKpF9nQm7hDmXWGD+/fiwXn5AcQknZVK7WEkju5dil5Tm6iROIj9GUx+99uHL7dWw KtG+1PlPJ5cB7+7O6XRTV23qlgvrM0zA3bWk9/bT3mLeXPrJ9clCgYjalOr+L/u+ESnq jzkQ== 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.44.56; Fri, 12 Feb 2021 13:45:36 -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 S229583AbhBLVne (ORCPT + 99 others); Fri, 12 Feb 2021 16:43:34 -0500 Received: from mga06.intel.com ([134.134.136.31]:54929 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229497AbhBLVne (ORCPT ); Fri, 12 Feb 2021 16:43:34 -0500 IronPort-SDR: aZ7H6hwem02XFzVgKctKqNLLFpeYF+O5c+ZsJef9V0lS2JDQTKWlB+AkRNNx71GmtGE+AE7UYN o8Oisaw9uyUQ== X-IronPort-AV: E=McAfee;i="6000,8403,9893"; a="243967596" X-IronPort-AV: E=Sophos;i="5.81,174,1610438400"; d="scan'208";a="243967596" 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:52 -0800 IronPort-SDR: ryAPiiQfNPUtxoPwoMsp+hr7NhpQZdUHyxAa8OiXWp46uI6Wap9qWXa4J1r6p3aIgLFUDDYGr8 2i2eQKbrYjMw== X-IronPort-AV: E=Sophos;i="5.81,174,1610438400"; d="scan'208";a="416116325" 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:52 -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 0/4] Use compliant UUID for mesh Date: Fri, 12 Feb 2021 13:42:40 -0800 Message-Id: <20210212214244.74995-1-inga.stotland@intel.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org v2: Incorporate MichaƂ's suggestion to use Python's uuid module functions. ************ Mesh profile spec states that the values use for Device UUIDs folow format and generation procedures outlined in RFC 4122. This patch set addresses this requirement. Inga Stotland (4): doc/mesh-api: Add notion of Device UUID compliance mesh: Add validation of Device UUID value test/test-mesh: Generate correct value for Device UUID tools/mesh-cfg-client: Makefile.am | 6 ++++-- doc/mesh-api.txt | 9 ++++++--- mesh/mesh.c | 18 +++++++++--------- test/test-mesh | 7 +++---- tools/mesh-cfgclient.c | 6 +++--- tools/mesh/mesh-db.c | 2 +- 6 files changed, 26 insertions(+), 22 deletions(-) -- 2.26.2