Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp6889137yba; Tue, 14 May 2019 15:55:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqxdyvOHb5Ex4dkb9Vo73gmRPyrjsoa0mAEbcZFjyrQh3C8QV6c4M5IUwwntiiIum0yd4idj X-Received: by 2002:a65:51cb:: with SMTP id i11mr38312797pgq.390.1557874514196; Tue, 14 May 2019 15:55:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557874514; cv=none; d=google.com; s=arc-20160816; b=iWUaPa9eA1+OzISZrhby1NnXjwNcxNiclO6UfUJctBk0aztJKN5uw+Xu60hs3nOlRZ 8m/aF6GzdJP9v5zHF+uvX3MZ7ruvLPgIZZUdraX2ZeFPYRJxDZ00kzNfk0MhbZS3Gve2 QoRT3oWEwanknurSGULTbs074spT+q6KHwP0Cm6ryeg2VQkGU9hIvZ837VyPWbY+3tJQ E/d4NAnwqPpwff9oFAhJ2gGdB6swN++dkFfa7yBRV/Cv8UgxvDyTh7GZppYLZNHGuufa l29u0mUournymoa5XFrnHJdu7Vth6Ydsz0f2HGB8tN+QTO/6bszbTcqPDGwLoxPH9TW8 MRKg== 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; bh=Q4wasSP/vBlOK+rCgsfiGg2YKiBn+OTal9LZSN3JkCI=; b=ymX5HlEbI4a1xBPtUzPPf+oUohv/1/g2CwLMTacZvgk69pm8GLuVGtgn+zN2q54W8+ SJFgcQ20REIXB87mauxe6Camd3g+3qbAZujshKx/iid+PebFeuhmQFoPR3sDAyRukXyN hj/NKd3upGXdsGdq11GE5w3v+QaENzZvtd+ua7ARRSUnIxVKS9/rlhB39niCyAhgdl8k UtpsfKPBZWqFTK30yCVZY0fFGYDp3NhcHh+xCbYULfwcLtlKwjHhfjambd7tDBxRh5yw 98zOT60CXV3zwCZRAGt6IJxRVuVj6FOFmtSx6GOeFcuKbJUJNs1G5C5nE5u8R2j1/9Qn arvA== 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 z21si144184pga.403.2019.05.14.15.54.34; Tue, 14 May 2019 15:55:14 -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 S1726211AbfENWyK (ORCPT + 99 others); Tue, 14 May 2019 18:54:10 -0400 Received: from mga03.intel.com ([134.134.136.65]:22776 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726148AbfENWyJ (ORCPT ); Tue, 14 May 2019 18:54:09 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 May 2019 15:54:09 -0700 X-ExtLoop1: 1 Received: from ingas-nuc1.sea.intel.com ([10.252.138.236]) by orsmga003.jf.intel.com with ESMTP; 14 May 2019 15:54:09 -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/2] Start implementing mesh Management interface Date: Tue, 14 May 2019 15:54:05 -0700 Message-Id: <20190514225407.29594-1-inga.stotland@intel.com> X-Mailer: git-send-email 2.21.0 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 ads a sketleton for org.bluez.mesh.Management1 interface. Also, adds check for the existence of the provisioning agent for an attaching node: this information will be further used to validate number of method calls on Management interface Inga Stotland (2): mesh: Add check for org.bluez.mesh.Provisioner1 interface mesh: Add skeleton for org.bluez.mesh.Management1 interface Makefile.mesh | 1 + mesh/dbus.c | 12 ++- mesh/error.h | 1 + mesh/manager.c | 266 +++++++++++++++++++++++++++++++++++++++++++++++++ mesh/manager.h | 20 ++++ mesh/mesh.h | 4 +- mesh/node.c | 5 +- 7 files changed, 303 insertions(+), 6 deletions(-) create mode 100644 mesh/manager.c create mode 100644 mesh/manager.h -- 2.21.0