Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4600666ybi; Sat, 6 Jul 2019 08:39:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqyEPErvkgxH5HI1wkD0z3CX3hqMMqJBgiohAHCmrHjk4qj6O+5pH1XOax1ICw3u/Ay0SlFI X-Received: by 2002:a17:90a:32ed:: with SMTP id l100mr12172537pjb.11.1562427597711; Sat, 06 Jul 2019 08:39:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562427597; cv=none; d=google.com; s=arc-20160816; b=eL2TD4QwAW//ud1LMvV8JAxXYpaoGn0vCj57Xyvfqn2NngL/Iw2l4pubFfpX0jKcRm X8b0OqdQr/paVaoTdu9Fc5H/4oT8PRLlMZLxvCmE30HL6S3eY+4M1Wx2lXy4Di3ZujuD Z7rf30OPBEqM5ZG08WJeHdF+9zbIOqzJsHTQRJnE2elori6qh/7azqHcwpl6YWlPz58d GEbvzONPLBXhwEk8IUkEu9Qe/YJzsA4ezEXkoJ6ssa6hCS/eKStDGmhIpAZqipzMYPpN C65ii9+100735xTwtDu9+BobkNe4zL3ongcHD2uC4HQmw+eL3FxuNdA8A9H887lSO14k WekQ== 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:to:from:dkim-signature; bh=lEzKKzK5fk/Bt6kVYxicW2d3oYJ/0z0xpzJO67okGCQ=; b=F8ntWxCHoM+MafeYxBB5c4b32FPEXSIAEwqZLA3hJpQj5f7Xd9debyXNfgt8V0ZxeR o2nxnNAvse6D1jb1ucJoC8IMZP7imjwr+weJBWduY859LYRNyrNymAXsv11vxTmP1uRH 2B97d355J/RtpYmyIIJFQKOk2nBLVPgSlqmAUNC0cZtZ7bm6ahJf6GanndhNtXZ7x8+1 ri7rLS2wLrUcJpX7ZlMLhkMKB9Lx8e8Csz9YCKxF1EgWJIDzsDug8R0esQVsACRXjwpy 1k4k08BUldEAqM7goSKc4czTTkzrFsudrRn1PdUmv8i22HK4w8CgiDJ3KYGW3mdLHu9a RM5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@silvair-com.20150623.gappssmtp.com header.s=20150623 header.b=a1FBXno5; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x24si10705462pjt.88.2019.07.06.08.39.30; Sat, 06 Jul 2019 08:39:57 -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; dkim=pass header.i=@silvair-com.20150623.gappssmtp.com header.s=20150623 header.b=a1FBXno5; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726884AbfGFPjN (ORCPT + 99 others); Sat, 6 Jul 2019 11:39:13 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:45171 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726522AbfGFPjN (ORCPT ); Sat, 6 Jul 2019 11:39:13 -0400 Received: by mail-lj1-f194.google.com with SMTP id m23so11870760lje.12 for ; Sat, 06 Jul 2019 08:39:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=silvair-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=lEzKKzK5fk/Bt6kVYxicW2d3oYJ/0z0xpzJO67okGCQ=; b=a1FBXno5jAlKNzFEl2+nItxp4J1XVF7HZVrsXMTkwQ50PXehFrdvm27Qp0gsYBiC3r MoYTgSBF+AstdphlEnGBLnVZznhexQYczNl9BmLmtR2Qd1tg02e2QmwpMr7rET3L/wca LVlDkR/Su9WF+7mWPeYSG49W0+l7tBZNw3CmK42V22TPi9FcrHaHlP9BjpjBg0FwPqF3 DOWLJpu9f1VWvpjHJZtjGlgmY1X6t1nLvRiRNLwGJVZma0CvxRTXrNKxrUGRvsEy7dwa fLcwHaJVa/PdQ3fqRmVSHdM6mEK9+UnOpwveT/2B5Xbb3K1WUS+19Xn1BG1cwYIt3mWM myMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=lEzKKzK5fk/Bt6kVYxicW2d3oYJ/0z0xpzJO67okGCQ=; b=A5wP4bxFrliLJax2DbH48bOM6qrB6dgAJr6grxZ9y9tUpRysCGPOpv/zkZv+4pT2os /8IYAg3uEB0b8axKz/i2xWzUNocPQlLUINivILurN5IZB/+uNeiAqpAeJ6uBDDDqrpKX KGi2T5JnsPskz8DpNP9FujmUN/JRR0RxVJcByQoKzHJGvh/jZMJcELYa6nUkn9qjX1Ex BOgBTsGmYsYLIhd6CbJeQTy0mleyhkuwa2nV//LVqYztXUucU6Z5n0s5zL3IG4YxKcCz 8cgwHRrNMNt+F4tW3Pf/alNp4VGrhvo+VX0UCdMVjcB00LRjugfyOIULPXIoInAelP1s x/Iw== X-Gm-Message-State: APjAAAXh+XHFQWJhRrqIbluopPMIOCcCQCzl1yIi2SMfieqcTx8bcoYX F/2dLTHCHbQhFzERdf6R7CLbQB8bhGs= X-Received: by 2002:a2e:7c14:: with SMTP id x20mr5262647ljc.56.1562427550972; Sat, 06 Jul 2019 08:39:10 -0700 (PDT) Received: from kynes.internet.domowy (apn-77-112-37-101.dynamic.gprs.plus.pl. [77.112.37.101]) by smtp.gmail.com with ESMTPSA id u9sm1910609lfk.64.2019.07.06.08.39.09 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 06 Jul 2019 08:39:10 -0700 (PDT) From: =?UTF-8?q?Micha=C5=82=20Lowas-Rzechonek?= To: linux-bluetooth@vger.kernel.org Subject: [PATCH BlueZ v4 0/1] Add --io command line argument Date: Sat, 6 Jul 2019 17:39:03 +0200 Message-Id: <20190706153904.12009-1-michal.lowas-rzechonek@silvair.com> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Continuing the refactoring started in 12b984d1d, this patch adds --io option to bluetooth-meshd, so that the user is able to select mesh-io implementation. Compared to v3, this moves option parsing from main into mesh-io-api. MichaƂ Lowas-Rzechonek (1): mesh: Added --io option mesh/main.c | 48 +++++++++++++++++++++++++++--------------- mesh/mesh-io-api.h | 2 ++ mesh/mesh-io-generic.c | 30 ++++++++++++++++++++++++++ mesh/mesh-io.c | 9 ++++++-- mesh/mesh-io.h | 2 +- mesh/mesh.c | 4 ++-- mesh/mesh.h | 2 +- 7 files changed, 74 insertions(+), 23 deletions(-) -- 2.22.0