Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4042994yba; Mon, 29 Apr 2019 12:45:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqzo9ckQjMfoHRZ97JS2NswEqYAsOtgncfH4ncBLV+iuBYLwuNeIy085WqwWnJUlXPAT5DeU X-Received: by 2002:a63:6e01:: with SMTP id j1mr61555138pgc.442.1556567150433; Mon, 29 Apr 2019 12:45:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556567150; cv=none; d=google.com; s=arc-20160816; b=gHRRzqUyft9QMWPi5TfX3YKreyaQCrEGkkahmpviPm+0P0zlD71AktJhU5xM3jKCv7 mRxg6xCwgQ81Kk8seceud+QiUn46kY9I1fpfg0sIxiRWp/ukcuhqEpvvlaeZaabvqWUH 4KGA2yCteCMr8+WE96gpFoYbE/wKlzhMa25vJjY1HfRJAy+nQuot0xuM4FTKOpNzuxxo vCnJFx85v62jnkJzW5XM8z+/AfsNOgdbIeqocRwjjH9swysgow/jYaoFPKb81MlvYzul EGS4h+60E7J4pr0CF6nVMC33tnEipfNlx/c+rg6oSRQ6ie12lqYSgLYjrXRgywoCf/NA YUow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=zCEQNxS9Swl2PEaDr9prdc2sHq5UoVM1lKdXptrqGX0=; b=Q+w6DszK2Jn+gAjdndakF+2VXNmjmIS44Cf5JOIHAoIbzLiSwiCI0I2usuzY+vIPgh TM+DoPrkQx164PNwvFhyNS+6ReFbC3nRaggn9Ju72ZO9zmwduOSBiVdPEIZOUvqzSX7p D+2eJIFHKBEtPH8bxDbNdZJhe/Thi7CRxt3C8g5WBo6FW8maFvoDx/vjp8tW09Djysgf vZc3TmERuxGRaf5QPICYy+MxFuJVRuW1AZb83vN+BOhGJoHv7VH4BRUhw/qpm0cDOtg6 rLLc21YmfH5H0OR0FKuXa4EZ5YGXoTTr1kF9ZgDTfOLUKLvWbMVwlGu8n+0+tpA5MtgJ pNVA== 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 h73si36667511pfj.220.2019.04.29.12.45.16; Mon, 29 Apr 2019 12:45:50 -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 S1729054AbfD2TpL (ORCPT + 99 others); Mon, 29 Apr 2019 15:45:11 -0400 Received: from mga02.intel.com ([134.134.136.20]:27048 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728928AbfD2TpL (ORCPT ); Mon, 29 Apr 2019 15:45:11 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Apr 2019 12:45:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,410,1549958400"; d="scan'208";a="144648055" Received: from ingas-nuc1.sea.intel.com ([10.252.200.123]) by fmsmga008.fm.intel.com with ESMTP; 29 Apr 2019 12:45:10 -0700 From: Inga Stotland To: linux-bluetooth@vger.kernel.org Cc: brian.gix@intel.com, johan.hedberg@gmail.com, luiz.dentz@gmail.com, Inga Stotland Subject: [PATCH BlueZ 0/4] Cleanup of org.bluez.mesh.Network1 interface Date: Mon, 29 Apr 2019 12:45:05 -0700 Message-Id: <20190429194509.3378-1-inga.stotland@intel.com> X-Mailer: git-send-email 2.17.2 Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org This set of patches tightens the existing implementation of Join() and Attach() methods. Some redundacies are removed, common code is combined and validation of node composition is added for Attach method. Inga Stotland (4): mesh: Remove Node interface if node owner disconnects mesh: Clean up processing of Attach() method mesh: Consolidate processing of mesh element properties mesh: Unify processing of GetManagedObjects result mesh/mesh-defs.h | 2 + mesh/mesh.c | 69 +++--- mesh/node.c | 558 ++++++++++++++++++++++++++--------------------- mesh/node.h | 9 +- 4 files changed, 344 insertions(+), 294 deletions(-) -- 2.17.2